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

php-coveralls / php-coveralls / 5564291091
94%

Build:
DEFAULT BRANCH: master
Ran 15 Jul 2023 09:33PM 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
5564291091

push

github

web-flow
GH Actions/CI: run the test suite against PHP 8.1, 8.2 and 8.3 (#363)

* Fix PHP 8.1 compatibility

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:

* GH Actions/CI: run the test suite against PHP 8.1, 8.2 and 8.3

PR 361 should fix the remaining (known) PHP 8.1 error.

Once that PR has been merged, the CI runs against PHP 8.1, 8.2 and 8.3 should pass.

To that end, I'm adding builds against PHP 8.1, 8.2 and 8.3.

I'm also moving the code coverage recording from PHP 7.4 to PHP 8.2 to ensure high/low PHP is measured and adding an extra variant with `Xdebug` on high PHP too.

As PHP 8.3 is still in flux, builds against it are still allowed to fail.

---------

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Source Files on build 5564291091
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f08f9452 on github
  • Prev Build on master (#5564203215)
  • Next Build on master (#5564291091)
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