Skip to content

Commit

Permalink
Updated static analyzers
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Jan 20, 2021
1 parent d009f2e commit da64796
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions phpstan.src.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ parameters:
- '#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\>.#'
- '/^Parameter \#1 \$readers of class Dotenv\\Repository\\[a-zA-Z]*Repository[a-zA-Z]* constructor expects/'
- '/^Parameter \#2 \$writers of class Dotenv\\Repository\\[a-zA-Z]*Repository[a-zA-Z]* constructor expects/'
- '#Parameter \#1 \$name of method Dotenv\\Repository\\AbstractRepository::set\(\) expects string, string\|null given.#'
Expand Down
8 changes: 4 additions & 4 deletions vendor-bin/phpstan/composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"require": {
"phpstan/phpstan": "0.12.58",
"phpstan/extension-installer": "1.0.5",
"phpstan/phpstan-deprecation-rules": "0.12.5",
"phpstan/phpstan-strict-rules": "0.12.5",
"phpstan/phpstan": "0.12.68",
"phpstan/extension-installer": "1.1.0",
"phpstan/phpstan-deprecation-rules": "0.12.6",
"phpstan/phpstan-strict-rules": "0.12.9",
"thecodingmachine/phpstan-strict-rules": "0.12.1"
},
"config": {
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.2.1"
"psalm/phar": "4.3.1"
},
"config": {
"preferred-install": "dist"
Expand Down

0 comments on commit da64796

Please sign in to comment.