File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
parameters:
2
2
level: max
3
3
ignoreErrors:
4
+ - '#Anonymous function should have native return typehint ".+".#'
5
+ - '#Call to function is_string\(\) with string will always evaluate to true.#'
4
6
- '#Variable \$defaults might not be defined.#'
5
7
- '/^Parameter \#1 \$readers of class Dotenv\\Repository\\[a-zA-Z]*Repository[a-zA-Z]* constructor expects/'
6
8
- '/^Parameter \#2 \$writers of class Dotenv\\Repository\\[a-zA-Z]*Repository[a-zA-Z]* constructor expects/'
@@ -9,3 +11,4 @@ parameters:
9
11
- '#Parameter \#1 \$callable of method PhpOption\\Option<Dotenv\\Loader\\Value\|null>::map\(\) expects callable\(Dotenv\\Loader\\Value\|null\): mixed, Closure\(Dotenv\\Loader\\Value\): mixed given.#'
10
12
- '#Parameter \#1 \$callable of method PhpOption\\Option<array\|null>::[a-z]+\(\) expects callable\(array\|null\): [a-z]+, Closure\(array\): mixed given.#'
11
13
- '#Parameter \#1 \$name of method Dotenv\\Repository\\AbstractRepository::set\(\) expects string, string\|null given.#'
14
+ - '#Parameter \#.+ of method Dotenv\\Repository\\AbstractRepository::offset.+ should be contravariant .+#'
Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
- "phpstan/phpstan" : " ^0.12.25"
3
+ "phpstan/phpstan" : " ^0.12.25" ,
4
+ "phpstan/extension-installer" : " ^1.0.4" ,
5
+ "phpstan/phpstan-deprecation-rules" : " ^0.12.4" ,
6
+ "phpstan/phpstan-strict-rules" : " ^0.12.2" ,
7
+ "thecodingmachine/phpstan-strict-rules" : " ^0.12.0"
4
8
}
5
9
}
You can’t perform that action at this time.
0 commit comments