Skip to content

Commit

Permalink
Adjust config for PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrycze-volk committed Dec 18, 2024
1 parent c2bf846 commit c4e5229
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
phpstan:
name: Static Code Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -23,3 +24,4 @@ jobs:
uses: php-actions/phpstan@v3
with:
configuration: ./.github/phpstan.neon
path: ''
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"license": "GPL-3.0-or-later",
"require": {
"typo3/cms-core": "^10.4|^11.5",
"kitodo/presentation": "^5.0|dev-master",
"kitodo/presentation": "^5.0|dev-main",
"slub/slub-digitalcollections": "^4.0|dev-master"
},
"autoload": {
Expand Down Expand Up @@ -72,6 +72,9 @@
"@composer docs:stop",
"@composer docs:build",
"@composer docs:start"
],
"phpstan": [
"@php vendor/bin/phpstan --configuration=\".github/phpstan.neon\""
]
},
"config": {
Expand Down

0 comments on commit c4e5229

Please sign in to comment.