Skip to content

Commit 8b2b3fb

Browse files
committed
Fix false in output
1 parent 19b3d8c commit 8b2b3fb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/nightly.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ jobs:
553553
git clone "https://github.com/amphp/$repository.git" "amphp-$repository" --depth 1
554554
cd "amphp-$repository"
555555
git rev-parse HEAD
556-
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' }}
556+
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' || '' }}
557557
vendor/bin/phpunit || EXIT_CODE=$?
558558
if [ ${EXIT_CODE:-0} -gt 128 ]; then
559559
X=1;
@@ -567,7 +567,7 @@ jobs:
567567
git clone https://github.com/laravel/framework.git --depth=1
568568
cd framework
569569
git rev-parse HEAD
570-
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' }}
570+
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' || '' }}
571571
# Hack to disable a test that hangs
572572
php -r '$c = file_get_contents("tests/Filesystem/FilesystemTest.php"); $c = str_replace("public function testSharedGet()", "#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n public function testSharedGet()", $c); file_put_contents("tests/Filesystem/FilesystemTest.php", $c);'
573573
php vendor/bin/phpunit --exclude-group skip || EXIT_CODE=$?
@@ -584,7 +584,7 @@ jobs:
584584
git clone "https://github.com/reactphp/$repository.git" "reactphp-$repository" --depth 1
585585
cd "reactphp-$repository"
586586
git rev-parse HEAD
587-
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' }}
587+
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' || '' }}
588588
vendor/bin/phpunit || EXIT_CODE=$?
589589
if [ $[EXIT_CODE:-0} -gt 128 ]; then
590590
X=1;
@@ -598,7 +598,7 @@ jobs:
598598
git clone https://github.com/revoltphp/event-loop.git --depth=1
599599
cd event-loop
600600
git rev-parse HEAD
601-
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' }}
601+
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' || '' }}
602602
vendor/bin/phpunit || EXIT_CODE=$?
603603
if [ ${EXIT_CODE:-0} -gt 128 ]; then
604604
exit 1
@@ -609,7 +609,7 @@ jobs:
609609
git clone https://github.com/symfony/symfony.git --depth=1
610610
cd symfony
611611
git rev-parse HEAD
612-
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' }}
612+
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' || '' }}
613613
php ./phpunit install
614614
# Test causes a heap-buffer-overflow but I cannot reproduce it locally...
615615
php -r '$c = file_get_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php"); $c = str_replace("public function testSanitizeDeepNestedString()", "/** @group skip */\n public function testSanitizeDeepNestedString()", $c); file_put_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php", $c);'
@@ -630,15 +630,15 @@ jobs:
630630
git clone https://github.com/sebastianbergmann/phpunit.git --branch=main --depth=1
631631
cd phpunit
632632
git rev-parse HEAD
633-
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' }}
633+
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' || '' }}
634634
php ./phpunit || EXIT_CODE=$?
635635
if [ ${EXIT_CODE:-0} -gt 128 ]; then
636636
exit 1
637637
fi
638638
- name: 'Symfony Preloading'
639639
if: ${{ !cancelled() && !inputs.skip_symfony }}
640640
run: |
641-
php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' }}
641+
php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' || '' }}
642642
cd symfony_demo
643643
git rev-parse HEAD
644644
sed -i 's/PHP_SAPI/"cli-server"/g' var/cache/dev/App_KernelDevDebugContainer.preload.php
@@ -649,7 +649,7 @@ jobs:
649649
git clone https://github.com/WordPress/wordpress-develop.git wordpress --depth=1
650650
cd wordpress
651651
git rev-parse HEAD
652-
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' }}
652+
php /usr/bin/composer install --no-progress ${{ inputs.community_composer_ignore_platform_reqs && '--ignore-platform-reqs' || '' }}
653653
cp wp-tests-config-sample.php wp-tests-config.php
654654
sed -i 's/youremptytestdbnamehere/test/g' wp-tests-config.php
655655
sed -i 's/yourusernamehere/root/g' wp-tests-config.php

0 commit comments

Comments
 (0)