Open alexander-schranz opened 1 year ago
Thanks for the PR 😍
Define the SYMFONY_ENDPOINT
environment variable:
# On Unix-like (BSD, Linux and macOS)
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1239/index.json
# On Windows
SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1239/index.json
Install the package(s) related to this recipe:
composer req 'symfony/flex:^1.16'
composer req 'phpunit/phpunit:^10.0' 'symfony/panther:^1.0'
Don't forget to unset the SYMFONY_ENDPOINT
environment variable when done:
# On Unix-like (BSD, Linux and macOS)
unset SYMFONY_ENDPOINT
# On Windows
SET SYMFONY_ENDPOINT=
In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes. I'm going keep this comment up to date with any updates of the attached patch.
Anything I need to tackle here?
Hello, what are the conditions for validating this request? New Symfony projects don't have a valid default configuration.
This will add a recipe for PHPUnit 10:
Following changes:
listeners
do not longer exists in PHPUnit 10 where replaced by extensionsextensions
still exists but need to be written differentlybootstrap
tag now: https://docs.phpunit.de/en/10.3/configuration.html#the-extensions-element and use the new event system https://docs.phpunit.de/en/10.3/extending-phpunit.html#phpunit-s-event-system (this effects maybe phpunit-bridge and panther)phpunit.xml.dist
tophpunit.dist.xml
for better IDE support (same already done for phpstan) see also: https://github.com/sebastianbergmann/phpunit/issues/4650 / https://github.com/sebastianbergmann/phpunit/commit/07a022ad0548823b04c8fab073a7bff2fbcf9c8c.phpunit.result.cache
to cache directory/.phpunit.cache/