1
0
Fork 0
composer/.github/workflows
Juliette bb1aa8432f
GH Actions: run against PHP 8.3 (#11601)
* GH Actions: run against PHP 8.3

What with PHP 8.3 being close to the first RC, I'd like to suggest enabling runs against PHP 8.3 for the linting and test runs.

* Linting passes on PHP 8.3, so I propose to not allow new failures to be introduced there.
* The test runs, however, do not pass against PHP 8.3, so I'm marking those as `experimental` for now to allow for fixing the issue(s).

As for the compatibility issues (based on the test runs):
* PR 11599 fixes all known deprecation notices.
* There is, however, one test failure, which I'm not exactly sure how to fix, so I'm leaving this for the maintainers to decide upon.
    Details:
    Prior to PHP 8.3, `ReflectionMethod` could set a `private` method on a parent class to accessible. This is no longer possible in PHP 8.3 since php/php-src 9470 and breaks the `Composer\Test\Repository\ComposerRepositoryTest::testWhatProvides` test.
    Also see: https://3v4l.org/8YcIk/rfc#vgit.master

* GH Actions: update addition of PHP 8.3

* Don't add PHP 8.3 to the `lint` workflow.
* Replace the PHP 8.2 extra builds instead of adding to them for `test`.
* Don't allow builds to fail.

---------

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2023-08-30 15:53:45 +02:00
..
autoloader.yml Fix autoloading on PHP 5.6 (#11285) 2023-01-27 16:26:04 +01:00
close-stale-support.yml Bump actions/stale from 7 to 8 (#11402) 2023-03-29 11:32:46 +02:00
continuous-integration.yml GH Actions: run against PHP 8.3 (#11601) 2023-08-30 15:53:45 +02:00
lint.yml Merge branch '2.2' into 2.3 2022-06-22 09:16:23 +02:00
phpstan.yml GH Actions: fix use of deprecated `set-output` (#11126) 2022-10-25 11:54:48 +02:00
release.yml Update release.yml 2022-08-30 14:03:38 +02:00