Browse Source

CI: Ensure php-cs-fixer PHP compatibility /part (#8241)

Dariusz Rumiński 5 months ago
parent
commit
277509719c
1 changed files with 4 additions and 4 deletions
  1. 4 4
      .github/workflows/ci.yml

+ 4 - 4
.github/workflows/ci.yml

@@ -16,8 +16,8 @@ env:
   PHP_MIN: '7.4'
 
 jobs:
-  entrypoint-bc-promise:
-    name: Entrypoint BC promise
+  entrypoint-low-php-compat:
+    name: Entrypoint low-PHP compat
     runs-on: 'ubuntu-24.04'
     steps:
       - name: Checkout code
@@ -28,8 +28,8 @@ jobs:
         with:
           version: 7.0
 
-      - name: Verify `php-cs-fixer` can be run on unsupported runtimes
-        run: php -l php-cs-fixer
+      - name: Verify entrypoint file(s) can be run on low-end unsupported runtime
+        run: php -l $(cat composer.json | jq -r '.bin[]')
 
   tests:
     continue-on-error: ${{ matrix.operating-system == 'macos-latest' }}