Skip to content

Commit f529bae

Browse files
committed
chore(dev): add phpstan for static code analysis
1 parent 6d17627 commit f529bae

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
with:
1212
dev: no
1313
args: --profile --ignore-platform-reqs
14-
- uses: php-actions/phpstan@v3
15-
with:
16-
path: Classes/
14+
- name: PHPStan
15+
run: |
16+
php -v && ./vendor/bin/phpstan analyze Classes
1717
lint-typoscript:
1818
runs-on: ubuntu-latest
1919
steps:

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
}
4949
},
5050
"require-dev": {
51-
"helmich/typo3-typoscript-lint": "^3.2"
51+
"helmich/typo3-typoscript-lint": "^3.2",
52+
"phpstan/phpstan": "^2.1"
5253
}
5354
}

0 commit comments

Comments
 (0)