File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ install:
244
244
export SYMFONY_DEPRECATIONS_HELPER=weak &&
245
245
cp composer.json composer.json.orig &&
246
246
echo -e '{\n"require":{'"$(grep phpunit-bridge composer.json)"'"php":"*"},"minimum-stability":"dev"}' > composer.json &&
247
- php .github/build-packages.php HEAD^ $(find src/Symfony -mindepth 3 -type f -name composer.json -printf '%h\n' | sort) &&
247
+ php .github/build-packages.php HEAD^ $(find src/Symfony -mindepth 2 -type f -name composer.json -printf '%h\n' | sort) &&
248
248
mv composer.json composer.json.phpunit &&
249
249
mv composer.json.orig composer.json
250
250
fi
@@ -268,7 +268,7 @@ install:
268
268
- |
269
269
# Skip the phpunit-bridge on bugfix-only branches when $deps is empty
270
270
if [[ ! $deps && ! $TRAVIS_BRANCH = *.x ]]; then
271
- export COMPONENTS=$(find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist -not -wholename '*/Bridge/PhpUnit/*' -printf '%h\n' | sort)
271
+ export COMPONENTS=$(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -not -wholename '*/Bridge/PhpUnit/*' -printf '%h\n' | sort)
272
272
fi
273
273
274
274
- |
Original file line number Diff line number Diff line change @@ -24,5 +24,8 @@ if (!getenv('SYMFONY_PHPUNIT_VERSION')) {
24
24
if (!getenv ('SYMFONY_PATCH_TYPE_DECLARATIONS ' )) {
25
25
putenv ('SYMFONY_PATCH_TYPE_DECLARATIONS=deprecations=1 ' );
26
26
}
27
+ if (getcwd () === realpath (__DIR__ .'/src/Symfony/Bridge/PhpUnit ' )) {
28
+ putenv ('SYMFONY_DEPRECATIONS_HELPER=disabled ' );
29
+ }
27
30
putenv ('SYMFONY_PHPUNIT_DIR= ' .__DIR__ .'/.phpunit ' );
28
31
require __DIR__ .'/vendor/symfony/phpunit-bridge/bin/simple-phpunit ' ;
You can’t perform that action at this time.
0 commit comments