From 64aa2dd7bf16c647e4fbc40bfd262492d57d6eb0 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Sun, 7 Jan 2024 21:15:22 +0100 Subject: [PATCH] pin nikic/php-parser to version 4 --- composer.json | 1 + phpunit | 1 + 2 files changed, 2 insertions(+) diff --git a/composer.json b/composer.json index 469c30715f775..f6d846858b15e 100644 --- a/composer.json +++ b/composer.json @@ -134,6 +134,7 @@ "masterminds/html5": "^2.6", "monolog/monolog": "^1.25.1|^2", "nyholm/psr7": "^1.0", + "nikic/php-parser": "^4.13", "pda/pheanstalk": "^4.0", "php-http/httplug": "^1.0|^2.0", "php-http/message-factory": "^1.0", diff --git a/phpunit b/phpunit index 3ab931750e179..3811e2b50f632 100755 --- a/phpunit +++ b/phpunit @@ -23,4 +23,5 @@ if (getcwd() === realpath(__DIR__.'/src/Symfony/Bridge/PhpUnit')) { putenv('SYMFONY_DEPRECATIONS_HELPER=disabled'); } putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit'); +putenv('SYMFONY_PHPUNIT_REQUIRE=nikic/php-parser:^4.13'); require __DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';