Problem/Motivation
PHP 8.1 support will require some updates to our dependencies: #3220021: [meta] Ensure compatibility of Drupal 9 with PHP 8.1 (as it evolves)
Not all dependencies are fully updated yet, but at least Symfony, masterminds/html5 and mikey179/vfsstream have recent point releases that include PHP 8.1 compatibility fixes.
Steps to reproduce
Proposed resolution
$ composer update --with=phpunit/phpunit:^8
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
+--------------------------------------+-----------+-----------+
| Production Changes | From | To |
+--------------------------------------+-----------+-----------+
| laminas/laminas-escaper | 2.7.0 | 2.8.0 |
| laminas/laminas-stdlib | 3.3.1 | 3.4.0 |
| laminas/laminas-zendframework-bridge | 1.2.0 | 1.3.0 |
| masterminds/html5 | 2.7.4 | 2.7.5 |
| symfony/console | v4.4.25 | v4.4.27 |
| symfony/debug | v4.4.25 | v4.4.27 |
| symfony/dependency-injection | v4.4.25 | v4.4.27 |
| symfony/error-handler | v4.4.25 | v4.4.27 |
| symfony/event-dispatcher | v4.4.25 | v4.4.27 |
| symfony/http-foundation | v4.4.25 | v4.4.27 |
| symfony/http-kernel | v4.4.25 | v4.4.28 |
| symfony/mime | v5.3.0 | v5.3.4 |
| symfony/process | v4.4.25 | v4.4.27 |
| symfony/routing | v4.4.25 | v4.4.27 |
| symfony/serializer | v4.4.25 | v4.4.27 |
| symfony/translation | v4.4.25 | v4.4.27 |
| symfony/validator | v4.4.25 | v4.4.27 |
| symfony/var-dumper | v5.3.0 | v5.3.4 |
| symfony/yaml | v4.4.25 | v4.4.27 |
+--------------------------------------+-----------+-----------+
+------------------------------------+---------+---------+
| Dev Changes | From | To |
+------------------------------------+---------+---------+
| composer/ca-bundle | 1.2.9 | 1.2.10 |
| composer/composer | 2.1.0 | 2.1.5 |
| instaclick/php-webdriver | 1.4.7 | 1.4.9 |
| justinrainbow/json-schema | 5.2.10 | 5.2.11 |
| mikey179/vfsstream | v1.6.8 | v1.6.9 |
| phar-io/manifest | 2.0.1 | 2.0.3 |
| phpunit/php-code-coverage | 7.0.14 | 7.0.15 |
| phpunit/php-file-iterator | 2.0.3 | 2.0.4 |
| phpunit/phpunit | 8.5.15 | 8.5.18 |
| sirbrillig/phpcs-variable-analysis | v2.11.0 | v2.11.2 |
| symfony/browser-kit | v4.4.25 | v4.4.27 |
| symfony/css-selector | v4.4.25 | v4.4.27 |
| symfony/dom-crawler | v4.4.25 | v4.4.27 |
| symfony/filesystem | v4.4.25 | v4.4.27 |
| symfony/finder | v4.4.25 | v4.4.27 |
| symfony/lock | v4.4.25 | v4.4.27 |
| symfony/phpunit-bridge | v5.3.0 | v5.3.4 |
+------------------------------------+---------+---------+
Comments
Comment #2
longwaveComment #4
alexpottFixing the test fails. They are due to a change in --no-scripts behaviour in 2.1.2 - see https://github.com/composer/composer/blob/master/CHANGELOG.md
Also two deps have new updates...
The full list:
Comment #5
longwaveThe interdiff looks perfect to me, so RTBC.
Comment #6
longwavecomposer/composer, justinrainbow/json-schema and phar-io/manifest have all fixed PHP 8.1 compatibility issues in some more point releases.
composer-lock-diff-diff from #4:
Comment #7
alexpottNice.
Comment #8
andyposthttps://github.com/symfony/symfony/releases/tag/v4.4.27
Comment #9
alexpottChanges from #6
Comment #10
andypostAnd asap new releases https://github.com/symfony/symfony/releases/tag/v4.4.28
Comment #11
alexpottChanges with new patch.
Comment #12
andypostI think 5.3.[3|4] packages also needs bump https://github.com/symfony/symfony/releases/tag/v5.3.5 something weird with SF releases
Comment #13
longwave@andypost Symfony now only bumps the patch version number if the code actually changed in a package. Only
symfony/http-kernelchanged in 5.3.5 - for example there is no 5.3.1, 5.3.3 or 5.3.5 forsymfony/mime: https://packagist.org/packages/symfony/mimeComment #15
catchCommitted 71522f2 and pushed to 9.3.x. Thanks!
Comment #16
catchComment #17
longwaveFixed release notes snippet with
composer-lock-diff --from origin/9.2.x --no-links