We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1177a22 commit 9c0fccdCopy full SHA for 9c0fccd
.gitignore
@@ -2,5 +2,5 @@
2
!/src
3
!/.gitignore
4
!/LICENSE
5
+!/phpstan.neon
6
!/README.md
-
composer.json
@@ -3,7 +3,7 @@
"type": "library",
"license": "MIT",
"require": {
- "php": ">= 5.3"
+ "php": ">= 7.4"
7
},
8
"autoload": {
9
"psr-4": {
@@ -12,5 +12,11 @@
12
13
"suggest": {
14
"rkr/php-di-ioc-adapter": "An adapter for PHP-DI"
15
+ },
16
+ "require-dev": {
17
+ "phpstan/phpstan": "^2.1"
18
19
+ "scripts": {
20
+ "phpstan": "phpstan analyse -c phpstan.neon"
21
}
-}
22
+}
phpstan.neon
@@ -0,0 +1,4 @@
1
+parameters:
+ level: max
+ paths:
+ - src
0 commit comments