Skip to content

Commit

Permalink
Add phpstan in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mdumoulin committed Nov 13, 2024
1 parent cc2622a commit 592fbf3
Show file tree
Hide file tree
Showing 3 changed files with 1,060 additions and 2 deletions.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,19 @@
"guzzlehttp/guzzle": "^6.0 | ^7.0",
"phpunit/phpunit": "^7.0 | ^9.0",
"shoppingfeed/coding-style-php": "~2.1.0",
"overtrue/phplint": "^1.1"
"overtrue/phplint": "^1.1",
"phpstan/phpstan": "^1.4"
},
"scripts": {
"test": [
"@tests-unit",
"@phpstan",
"@phpcs"
],
"tests-unit": "vendor/bin/phpunit",
"phpcs": "vendor/bin/sfcs src --progress -vvv",
"phpcsfix": "vendor/bin/sfcs src --progress -vvv --autofix"
"phpcsfix": "vendor/bin/sfcs src --progress -vvv --autofix",
"phpstan": "vendor/bin/phpstan analyse"
},
"scripts-descriptions": {
"test" : "Run PHPUnit tests suites and Coding standards validator"
Expand Down
Loading

0 comments on commit 592fbf3

Please sign in to comment.