Skip to content

Commit 8c33faf

Browse files
turegjorupclaude
andcommitted
6869: Add PHPStan job to PR workflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 864a7ca commit 8c33faf

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,21 @@ jobs:
2121
docker compose exec phpfpm bin/console messenger:setup-transports failed
2222
docker compose exec phpfpm bin/console doctrine:schema:validate
2323
24+
phpstan:
25+
runs-on: ubuntu-latest
26+
name: PHPStan
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v6
30+
31+
- name: Create docker network
32+
run: docker network create frontend
33+
34+
- name: Run PHPStan
35+
run: |
36+
docker compose run --rm phpfpm composer install --no-interaction
37+
docker compose run --rm phpfpm vendor/bin/phpstan analyse
38+
2439
phpunit:
2540
runs-on: ubuntu-latest
2641
name: PHP Unit tests

0 commit comments

Comments
 (0)