Skip to content

Commit

Permalink
Updated PHPStan config from ExamplePlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Dec 3, 2021
1 parent a1b7609 commit 26d120e
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/phpstan-composer.lock
/vendor/
/phpstan/composer.lock
/phpstan/vendor/
16 changes: 0 additions & 16 deletions phpstan-composer.json

This file was deleted.

8 changes: 0 additions & 8 deletions phpstan.neon.dist

This file was deleted.

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": "^1.2.0",
"pocketmine/pocketmine-mp": "4.0.0",
"phpstan/phpstan-strict-rules": "^1.0",
"phpstan/extension-installer": "^1.0"
},
"autoload": {
"psr-4": {
"": "../src"
}
}
}
6 changes: 6 additions & 0 deletions phpstan/phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
parameters:
level: 8
paths:
- ../src
stubFiles:
- ./pthreads.stub
File renamed without changes.

0 comments on commit 26d120e

Please sign in to comment.