• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

php-coveralls / php-coveralls / 5564203215
94%

Build:
DEFAULT BRANCH: master
Ran 15 Jul 2023 09:08PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5564203215

push

github

web-flow
Fix PHP 8.1 compatibility (#361)

The tests were failing on PHP 8.1 due to a `file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated` notice coming from the `JobsRepository::dumpJsonFile()` method.

While it would probably be unlikely for this error condition ever to be hit in a real life situation, it is something which is likely to happen in the tests and well, a little defensive coding goes a long way.

With this fix in place, the tests now pass on PHP 8.1 and PHP 8.2 and compatibility with both can be declared. :tada:

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Source Files on build 5564203215
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e2556b3d on github
  • Prev Build on master (#5564198011)
  • Next Build on master (#5564203215)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc