File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 85
85
run : composer update --ansi --no-interaction
86
86
87
87
- name : Run static analysis
88
- run : vendor/bin/phpstan analyse
88
+ run : composer phpstan:check
Original file line number Diff line number Diff line change 92
92
],
93
93
"analyze" : [
94
94
" Composer\\ Config::disableProcessTimeout" ,
95
- " bash -c \" XDEBUG_MODE=off vendor/bin/ phpstan analyse \" " ,
95
+ " @ phpstan:check " ,
96
96
" vendor/bin/rector process --dry-run"
97
97
],
98
98
"cs" : [
110
110
" utils/vendor/bin/php-cs-fixer fix --ansi --verbose --diff"
111
111
],
112
112
"metrics" : " utils/vendor/bin/phpmetrics --config=phpmetrics.json" ,
113
+ "phpstan:baseline" : " vendor/bin/phpstan analyse --ansi --generate-baseline=phpstan-baseline.php" ,
114
+ "phpstan:check" : " vendor/bin/phpstan analyse --verbose --ansi" ,
113
115
"sa" : " @analyze" ,
114
116
"style" : " @cs-fix" ,
115
117
"test" : " phpunit"
119
121
"cs" : " Check the coding style" ,
120
122
"cs-fix" : " Fix the coding style" ,
121
123
"metrics" : " Run PhpMetrics" ,
124
+ "phpstan:baseline" : " Run PHPStan then dump all errors to baseline" ,
125
+ "phpstan:check" : " Run PHPStan with support for identifiers" ,
122
126
"test" : " Run unit tests"
123
127
}
124
128
}
You can’t perform that action at this time.
0 commit comments