Skip to content

Commit 77e9746

Browse files
Upgraded static analyzers
1 parent d96be01 commit 77e9746

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

phpstan.src.neon.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
parameters:
22
level: max
33
ignoreErrors:
4-
- '#Anonymous function should have native return typehint ".+".#'
54
- '#Call to function is_string\(\) with string will always evaluate to true.#'
65
- '#Variable \$defaults might not be defined.#'
76
- '#Method Dotenv\\Regex\\Regex::split\(\) should return Dotenv\\Result\\Result\<array\<string\>, string\> but returns Dotenv\\Result\\Result\<array\<int, bool\|string\>, string\>.#'

phpstan.tests.neon.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ parameters:
33
checkMissingIterableValueType: false
44
ignoreErrors:
55
- '#Parameter \#1 \$name of method Dotenv\\Repository\\RepositoryInterface::[a-z]+\(\) expects string, [a-z]+ given.#'
6-
- '#no return typehint specified#'
7-
- '#with no typehint#'
6+
- '#no return type specified#'
7+
- '#with no type#'
88
- '#Call to deprecated method assertInternalType.+#'

vendor-bin/phpstan/composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"require": {
3-
"phpstan/phpstan": "0.12.99",
3+
"phpstan/phpstan": "1.2.0",
44
"phpstan/extension-installer": "1.1.0",
5-
"phpstan/phpstan-deprecation-rules": "0.12.6",
6-
"phpstan/phpstan-strict-rules": "0.12.11",
7-
"thecodingmachine/phpstan-strict-rules": "0.12.1"
5+
"phpstan/phpstan-deprecation-rules": "1.0.0",
6+
"phpstan/phpstan-strict-rules": "1.1.0",
7+
"thecodingmachine/phpstan-strict-rules": "1.0.0"
88
},
99
"config": {
1010
"preferred-install": "dist"

vendor-bin/psalm/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"psalm/phar": "4.10.0"
3+
"psalm/phar": "4.15.0"
44
},
55
"config": {
66
"preferred-install": "dist"

0 commit comments

Comments
 (0)