-
-
Notifications
You must be signed in to change notification settings - Fork 164
Enable PHP 8.4 in build matrix for compatibility testing #513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: lisachenko <[email protected]>
|
Co-authored-by: lisachenko <[email protected]>
I've addressed both issues from your feedback:
The changes maintain minimal scope while addressing the core compatibility issues that were breaking tests in PHP 8.4. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot still there are errors inside php-unit test run on PHP8.4 |
…P 8.4 compatibility Co-authored-by: lisachenko <[email protected]>
…initialized Co-authored-by: lisachenko <[email protected]>
|
A new inspection was created. |
... I've addressed the remaining PHP 8.4 test failures with additional fixes (commit 152926e): Fixed RuntimeException issues:
Root cause analysis: These changes make the tests more resilient while still catching real PHP 8.4 compatibility issues in the core framework functionality. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This PR adds PHP 8.4 to the CI build matrix to ensure the framework is tested against modern PHP versions and catches any compatibility issues early.
Changes Made
PHPUnit Workflow Updates:
PHPStan Workflow Updates:
Compatibility Notes
The framework's
composer.jsonalready specifies"php": "^8.2.0"which includes PHP 8.4 support. Dependencies also includesymfony/polyfill-php84, indicating readiness for PHP 8.4 compatibility.This change ensures continuous integration testing covers the latest stable PHP version, helping maintain forward compatibility as the PHP ecosystem evolves.
Fixes #512.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/adlawson/php-vfs/zipball/e955034419d6a8f92c9a8ea2e626eeed96b41095/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/doctrine/collections/zipball/2eb07e5953eed811ce1b309a7478a3b236f2273d/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/doctrine/dbal/zipball/ac336c95ea9e13433d56ca81c308b39db0e1a2a7/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/doctrine/deprecations/zipball/459c2f5dd3d6a4633d3b5f46ee2b1c40f57d3f38/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/doctrine/event-manager/zipball/b680156fa328f1dfd874fd48c7026c41570b9c6e/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/doctrine/inflector/zipball/5817d0659c5b50c9b950feb9af7b9668e2c436bc/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/doctrine/orm/zipball/6deec3655ba3e8f15280aac11e264225854d2369/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/doctrine/persistence/zipball/45004aca79189474f113cbe3a53847c2115a55fa/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/goaop/dissect/zipball/5d4aeb87ee4aaf20fb3fbf08aa3e0b17bba37e09/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/nikic/PHP-Parser/zipball/221b0d0fdf1369c71047ad1d18bb5880017bbc56/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/symfony/console/zipball/9e27aecde8f506ba0fd1d9989620c04a87697101/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/symfony/polyfill-php84/zipball/000df7860439609837bbe28670b0be15783b7fbf/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/symfony/service-contracts/zipball/f021b05a130d35510bd6b25fe9053c2a8a15d5d4/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/symfony/string/zipball/f3570b8c61ca887a9e2938e85cb6458515d2b125/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)https://api.github.com/repos/symfony/var-exporter/zipball/c9a1168891b5aaadfd6332ef44393330b3498c4c/usr/bin/php8.3 -n -c /tmp/ytVOAG /usr/bin/composer install --no-interaction --no-progress(http block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.