2323      run_macos_arm64 :
2424        required : true 
2525        type : boolean 
26+       run_freebsd_zts :
27+         required : true 
28+         type : boolean 
2629      ubuntu_version :
2730        required : true 
2831        type : string 
2932      windows_version :
3033        required : true 
3134        type : string 
35+       vs_crt_version :
36+         required : true 
37+         type : string 
38+       skip_laravel :
39+         required : true 
40+         type : boolean 
3241      skip_symfony :
3342        required : true 
3443        type : boolean 
@@ -550,7 +559,7 @@ jobs:
550559            git clone "https://github.com/amphp/$repository.git" "amphp-$repository" --depth 1 
551560            cd "amphp-$repository" 
552561            git rev-parse HEAD 
553-             php /usr/bin/composer install --no-progress --ignore-platform-reqs  
562+             php /usr/bin/composer install --no-progress --ignore-platform-req=php+  
554563            vendor/bin/phpunit || EXIT_CODE=$? 
555564            if [ ${EXIT_CODE:-0} -gt 128 ]; then 
556565              X=1; 
@@ -559,12 +568,12 @@ jobs:
559568          done 
560569          exit $X 
561570       - name : Test Laravel 
562-         if : ${{ !cancelled() }} 
571+         if : ${{ !cancelled() && !inputs.skip_laravel  }} 
563572        run : | 
564573          git clone https://github.com/laravel/framework.git --depth=1 
565574          cd framework 
566575          git rev-parse HEAD 
567-           php /usr/bin/composer install --no-progress --ignore-platform-reqs  
576+           php /usr/bin/composer install --no-progress --ignore-platform-req=php+  
568577          # Hack to disable a test that hangs 
569578          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);' 
570579          php vendor/bin/phpunit --exclude-group skip || EXIT_CODE=$? 
@@ -581,7 +590,7 @@ jobs:
581590            git clone "https://github.com/reactphp/$repository.git" "reactphp-$repository" --depth 1 
582591            cd "reactphp-$repository" 
583592            git rev-parse HEAD 
584-             php /usr/bin/composer install --no-progress --ignore-platform-reqs  
593+             php /usr/bin/composer install --no-progress --ignore-platform-req=php+  
585594            vendor/bin/phpunit || EXIT_CODE=$? 
586595            if [ $[EXIT_CODE:-0} -gt 128 ]; then 
587596              X=1; 
@@ -595,7 +604,7 @@ jobs:
595604          git clone https://github.com/revoltphp/event-loop.git --depth=1 
596605          cd event-loop 
597606          git rev-parse HEAD 
598-           php /usr/bin/composer install --no-progress --ignore-platform-reqs  
607+           php /usr/bin/composer install --no-progress --ignore-platform-req=php+  
599608          vendor/bin/phpunit || EXIT_CODE=$? 
600609          if [ ${EXIT_CODE:-0} -gt 128 ]; then 
601610            exit 1 
@@ -606,7 +615,7 @@ jobs:
606615          git clone https://github.com/symfony/symfony.git --depth=1 
607616          cd symfony 
608617          git rev-parse HEAD 
609-           php /usr/bin/composer install --no-progress --ignore-platform-reqs  
618+           php /usr/bin/composer install --no-progress --ignore-platform-req=php+  
610619          php ./phpunit install 
611620          # Test causes a heap-buffer-overflow but I cannot reproduce it locally... 
612621          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);' 
@@ -627,15 +636,15 @@ jobs:
627636          git clone https://github.com/sebastianbergmann/phpunit.git --branch=main --depth=1 
628637          cd phpunit 
629638          git rev-parse HEAD 
630-           php /usr/bin/composer install --no-progress --ignore-platform-reqs  
639+           php /usr/bin/composer install --no-progress --ignore-platform-req=php+  
631640          php ./phpunit || EXIT_CODE=$? 
632641          if [ ${EXIT_CODE:-0} -gt 128 ]; then 
633642            exit 1 
634643          fi 
635644       - name : ' Symfony Preloading' 
636645        if : ${{ !cancelled() && !inputs.skip_symfony }} 
637646        run : | 
638-           php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress --ignore-platform-reqs  
647+           php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress --ignore-platform-req=php+  
639648          cd symfony_demo 
640649          git rev-parse HEAD 
641650          sed -i 's/PHP_SAPI/"cli-server"/g' var/cache/dev/App_KernelDevDebugContainer.preload.php 
@@ -646,7 +655,7 @@ jobs:
646655          git clone https://github.com/WordPress/wordpress-develop.git wordpress --depth=1 
647656          cd wordpress 
648657          git rev-parse HEAD 
649-           php /usr/bin/composer install --no-progress --ignore-platform-reqs  
658+           php /usr/bin/composer install --no-progress --ignore-platform-req=php+  
650659          cp wp-tests-config-sample.php wp-tests-config.php 
651660          sed -i 's/youremptytestdbnamehere/test/g' wp-tests-config.php 
652661          sed -i 's/yourusernamehere/root/g' wp-tests-config.php 
@@ -1028,7 +1037,7 @@ jobs:
10281037      PHP_BUILD_OBJ_DIR : C:\obj 
10291038      PHP_BUILD_CACHE_SDK_DIR : C:\build-cache\sdk 
10301039      PHP_BUILD_SDK_BRANCH : php-sdk-2.3.0 
1031-       PHP_BUILD_CRT : ${{ inputs.windows_version == '2022' && 'vs17' || 'vs16'  }} 
1040+       PHP_BUILD_CRT : ${{ inputs.vs_crt_version  }} 
10321041      PLATFORM : ${{ matrix.x64 && 'x64' || 'x86' }} 
10331042      THREAD_SAFE : " ${{ matrix.zts && '1' || '0' }}" 
10341043      INTRINSICS : " ${{ matrix.zts && 'AVX2' || '' }}" 
@@ -1049,7 +1058,13 @@ jobs:
10491058      - name : Test 
10501059        run : .github/scripts/windows/test.bat 
10511060  FREEBSD :
1052-     name : FREEBSD 
1061+     strategy :
1062+       fail-fast : false 
1063+       matrix :
1064+         zts : [true, false] 
1065+         exclude :
1066+           - zts : ${{ !inputs.run_freebsd_zts && true || '*never*' }} 
1067+     name : " FREEBSD_${{ matrix.zts && 'ZTS' || 'NTS' }}" 
10531068    runs-on : ubuntu-latest 
10541069    steps :
10551070      - name : git checkout 
@@ -1058,3 +1073,6 @@ jobs:
10581073          ref : ${{ inputs.branch }} 
10591074      - name : FreeBSD 
10601075        uses : ./.github/actions/freebsd 
1076+         with :
1077+           configurationParameters : >- 
1078+             --${{ matrix.zts && 'enable' || 'disable' }}-zts 
0 commit comments