Skip to content

Commit

Permalink
Introduce Composer scripts for running PHPStan commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirone committed Dec 1, 2023
1 parent e5aa5ea commit 96fbb07
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@
}
},

"scripts": {
"phpstan": "phpstan analyse",
"phpstan:baseline": "phpstan analyse --generate-baseline"
},

"scripts-descriptions": {
"phpstan": "Run PHPStan analysis",
"phpstan:baseline": "Dump PHPStan baseline file - use only for updating, do not add new errors when possible"
},

"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
Expand Down

0 comments on commit 96fbb07

Please sign in to comment.