Skip to content

Commit cd7ae38

Browse files
minor #61330 use PHPUnit 11.5 when we need to ignore deprecations (xabbuh)
This PR was merged into the 8.0 branch. Discussion ---------- use PHPUnit 11.5 when we need to ignore deprecations | Q | A | ------------- | --- | Branch? | 8.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT We need sebastianbergmann/phpunit#6239 to be able to use the `--do-not-fail-on-deprecation` option (so either 11.5 or 12.2+). Let's stick with 11.5 for now until our test suite is ready for 12.2 or 12.3. Commits ------- 5d67f96 use PHPUnit 11.5 when we need to ignore deprecations
2 parents 11ad339 + 5d67f96 commit cd7ae38

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ jobs:
7676
echo PHPUNIT="$(pwd)/phpunit --exclude-group tty --exclude-group benchmark --exclude-group intl-data --exclude-group integration --exclude-group transient" >> $GITHUB_ENV
7777
echo COMPOSER_UP='composer update --no-progress --ansi'$([[ "${{ matrix.mode }}" != low-deps ]] && echo ' --ignore-platform-req=php+') >> $GITHUB_ENV
7878
79+
if [[ "${{ matrix.mode }}" = *-deps ]]; then
80+
echo SYMFONY_PHPUNIT_VERSION="11.5" >> $GITHUB_ENV
81+
fi
82+
7983
SYMFONY_VERSIONS=$(git ls-remote -q --heads | cut -f2 | grep -o '/[1-9][0-9]*\.[0-9].*' | sort -V)
8084
SYMFONY_VERSION=$(grep ' VERSION = ' src/Symfony/Component/HttpKernel/Kernel.php | cut -d "'" -f2 | cut -d '.' -f 1-2)
8185
SYMFONY_FEATURE_BRANCH=$(curl -s https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json | jq -r '.versions."dev-name"')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy