Skip to content

Commit

Permalink
Upgraded static analyzers
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Dec 12, 2021
1 parent d96be01 commit 77e9746
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion phpstan.src.neon.dist
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
parameters:
level: max
ignoreErrors:
- '#Anonymous function should have native return typehint ".+".#'
- '#Call to function is_string\(\) with string will always evaluate to true.#'
- '#Variable \$defaults might not be defined.#'
- '#Method Dotenv\\Regex\\Regex::split\(\) should return Dotenv\\Result\\Result\<array\<string\>, string\> but returns Dotenv\\Result\\Result\<array\<int, bool\|string\>, string\>.#'
Expand Down
4 changes: 2 additions & 2 deletions phpstan.tests.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ parameters:
checkMissingIterableValueType: false
ignoreErrors:
- '#Parameter \#1 \$name of method Dotenv\\Repository\\RepositoryInterface::[a-z]+\(\) expects string, [a-z]+ given.#'
- '#no return typehint specified#'
- '#with no typehint#'
- '#no return type specified#'
- '#with no type#'
- '#Call to deprecated method assertInternalType.+#'
8 changes: 4 additions & 4 deletions vendor-bin/phpstan/composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"require": {
"phpstan/phpstan": "0.12.99",
"phpstan/phpstan": "1.2.0",
"phpstan/extension-installer": "1.1.0",
"phpstan/phpstan-deprecation-rules": "0.12.6",
"phpstan/phpstan-strict-rules": "0.12.11",
"thecodingmachine/phpstan-strict-rules": "0.12.1"
"phpstan/phpstan-deprecation-rules": "1.0.0",
"phpstan/phpstan-strict-rules": "1.1.0",
"thecodingmachine/phpstan-strict-rules": "1.0.0"
},
"config": {
"preferred-install": "dist"
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/psalm/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"require": {
"psalm/phar": "4.10.0"
"psalm/phar": "4.15.0"
},
"config": {
"preferred-install": "dist"
Expand Down

0 comments on commit 77e9746

Please sign in to comment.