Disable platform checks

This commit is contained in:
Nicolas Grekas 2020-10-26 11:17:41 +01:00
parent 5bbd01d4b8
commit 1d09b49076
3 changed files with 1 additions and 2 deletions

View File

@ -64,7 +64,6 @@ install:
- php composer.phar config --global platform.php 5.5.9
- php composer.phar update --no-progress --ansi
- php phpunit install
- break > .phpunit/phpunit-4.8-0/vendor/composer/platform_check.php
test_script:
- SET X=0

View File

@ -1,5 +1,6 @@
{
"config": {
"platform-check": false,
"preferred-install": {
"symfony/form": "source",
"symfony/http-kernel": "source",

View File

@ -312,7 +312,6 @@ install:
tfold src/Symfony/Component/Console.tty $PHPUNIT src/Symfony/Component/Console --group tty
if [[ $PHP = ${MIN_PHP%.*} ]]; then
export PHP=$MIN_PHP
echo '' > vendor/composer/platform_check.php
echo -e "1\\n0" | xargs -I{} bash -c "tfold src/Symfony/Component/Process.sigchild{} SYMFONY_DEPRECATIONS_HELPER=weak ENHANCE_SIGCHLD={} php-$MIN_PHP/sapi/cli/php .phpunit/phpunit-4.8-1/phpunit --colors=always src/Symfony/Component/Process/"
fi
fi