Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Adjust config for PHPStan #334

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: ''
12 changes: 11 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,17 @@
],
"license": "GPL-3.0-or-later",
"require": {
"php": "7.4 - 8.3",
"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"
},
"require-dev": {
"phpstan/phpstan": "^1.12"
},
"replace": {
"typo3-ter/dfgviewer": "self.version"
},
"autoload": {
"psr-4": {
"Slub\\Dfgviewer\\": "Classes/"
Expand All @@ -72,6 +79,9 @@
"@composer docs:stop",
"@composer docs:build",
"@composer docs:start"
],
"phpstan": [
"@php vendor/bin/phpstan --configuration=\".github/phpstan.neon\""
]
},
"config": {
Expand Down
Loading