Skip to content

Commit

Permalink
added phpstan configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Jun 10, 2020
1 parent eeee501 commit 6fc8a59
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.idea/
*.phar
*.phar
/vendor
/phpstan-composer.lock
/phpstan.neon
14 changes: 14 additions & 0 deletions phpstan-composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "pocketmine/phpstan-plugin-config",
"require": {
"phpstan/phpstan": "^0.12.26",
"pocketmine/pocketmine-mp": "^3.11.3",
"phpstan/phpstan-strict-rules": "^0.12.2",
"phpstan/extension-installer": "^1.0"
},
"autoload": {
"psr-4": {
"": "./src"
}
}
}
6 changes: 6 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
parameters:
level: 6
paths:
- src
scanFiles:
- src/DevTools/ConsoleScript.php

0 comments on commit 6fc8a59

Please sign in to comment.