Skip to content

Commit

Permalink
PHPStan tested
Browse files Browse the repository at this point in the history
  • Loading branch information
lloc committed Jan 5, 2021
1 parent 36d2dd8 commit 3eef6f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@
},
"require-dev": {
"phpunit/phpunit": "^8.3",
"brain/monkey": "2.*"
"brain/monkey": "2.*",
"szepeviktor/phpstan-wordpress": "^0.7.2",
"phpstan/extension-installer": "^1.1"
},
"scripts": {
"test": "./vendor/bin/phpunit",
"coverage": "./vendor/bin/phpunit --coverage-html ./reports/php/coverage"
"coverage": "./vendor/bin/phpunit --coverage-html ./reports/php/coverage",
"analyze": "./vendor/bin/phpstan analyze"
}
}
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
parameters:
level: 5
paths:
- MslsSelect.php

0 comments on commit 3eef6f0

Please sign in to comment.