- π³πΏNew Zealand quietone
I tested this on Drupal 10.1.x, standard install.
$ dev composer require symfony/expression-language $ ddev phpunit ./core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php phpunit -c core --debug -v --colors=always ./core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php PHPUnit 9.5.28 by Sebastian Bergmann and contributors. Runtime: PHP 8.1.13 Configuration: /var/www/html/core/phpunit.xml --- trimmed -- Time: 00:00.032, Memory: 8.00 MB OK (43 tests, 44 assertions) $
git blames informs me that this was fixed in π Use of Symfony Expression Language "Expression" in OptimizedPhpArrayDumperTest doesn't match library Fixed
I will close this as a duplicate and move credit to that issue.