-
Notifications
You must be signed in to change notification settings - Fork 4
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
Adding PHPStan #193
Adding PHPStan #193
Changes from 11 commits
f7d404b
43c9eff
440df28
315b05a
1807626
8e6f26b
e813b7a
ea25fa6
30d9630
af8e004
10a8f9a
f104f08
840e03c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Code Quality | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
coding-quality: | ||
uses: alleyinteractive/.github/.github/workflows/php-code-quality.yml@main |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,8 @@ | |
"require-dev": { | ||
"alleyinteractive/alley-coding-standards": "^1.0", | ||
"mantle-framework/testkit": "^0.10", | ||
"nunomaduro/collision": "^5.0" | ||
"nunomaduro/collision": "^5.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this required? Since There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed! |
||
"szepeviktor/phpstan-wordpress": "^1.1" | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
|
@@ -47,8 +48,10 @@ | |
"phpcbf": "phpcbf .", | ||
"phpcs": "phpcs .", | ||
"phpunit": "phpunit", | ||
"phpstan": "phpstan --memory-limit=512M", | ||
"test": [ | ||
"@phpcs", | ||
"@phpstan", | ||
"@phpunit" | ||
] | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something I forgot to update in the original repo.