summaryrefslogtreecommitdiff
path: root/.github/workflows/php-code-quality.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/php-code-quality.yml')
-rw-r--r--.github/workflows/php-code-quality.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/php-code-quality.yml b/.github/workflows/php-code-quality.yml
index 9f599eed5..69d827120 100644
--- a/.github/workflows/php-code-quality.yml
+++ b/.github/workflows/php-code-quality.yml
@@ -15,20 +15,25 @@ on:
- 'phpunit.xml'
# Allow manual triggering
workflow_dispatch:
+ # Allow other workflows (e.g. Publish) to invoke this one.
+ workflow_call:
+
env:
fail-fast: true
+
permissions:
contents: read
+
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- - name: Checkout code
+ - name: Check out code
uses: actions/checkout@v5
- name: Set up PHP
@@ -55,7 +60,7 @@ jobs:
experimental: true
steps:
- - name: Checkout code
+ - name: Check out code
uses: actions/checkout@v5
- name: Set up PHP ${{ matrix.php }}