Skip to content

Commit

Permalink
PHPStan 1.9.3 (doctrine#10298)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Dec 13, 2022
1 parent 9b723a8 commit 4e6cb90
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"doctrine/annotations": "^1.13",
"doctrine/coding-standard": "^9.0.2 || ^10.0",
"phpbench/phpbench": "^0.16.10 || ^1.0",
"phpstan/phpstan": "~1.4.10 || 1.9.2",
"phpstan/phpstan": "~1.4.10 || 1.9.3",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
"psr/log": "^1 || ^2 || ^3",
"squizlabs/php_codesniffer": "3.7.1",
Expand Down
5 changes: 0 additions & 5 deletions phpstan-dbal2.neon
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,3 @@ parameters:
-
message: '#^Call to method injectObjectManager\(\) on an unknown class Doctrine\\Persistence\\ObjectManagerAware\.$#'
path: lib/Doctrine/ORM/UnitOfWork.php

# https://github.com/phpstan/phpstan/issues/7292
-
message: '#^Offset class\-string on non\-empty\-array\<class\-string, array\<string, mixed\>\> in isset\(\) always exists and is not nullable\.$#'
path: lib/Doctrine/ORM/UnitOfWork.php
5 changes: 0 additions & 5 deletions phpstan-persistence2.neon
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,3 @@ parameters:

# Symfony cache supports passing a key prefix to the clear method.
- '/^Method Psr\\Cache\\CacheItemPoolInterface\:\:clear\(\) invoked with 1 parameter, 0 required\.$/'

# https://github.com/phpstan/phpstan/issues/7292
-
message: '#^Offset class\-string on non\-empty\-array\<class\-string, array\<string, mixed\>\> in isset\(\) always exists and is not nullable\.$#'
path: lib/Doctrine/ORM/UnitOfWork.php
5 changes: 0 additions & 5 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,3 @@ parameters:
-
message: '#^Call to method injectObjectManager\(\) on an unknown class Doctrine\\Persistence\\ObjectManagerAware\.$#'
path: lib/Doctrine/ORM/UnitOfWork.php

# https://github.com/phpstan/phpstan/issues/7292
-
message: '#^Offset class\-string on non\-empty\-array\<class\-string, array\<string, mixed\>\> in isset\(\) always exists and is not nullable\.$#'
path: lib/Doctrine/ORM/UnitOfWork.php

0 comments on commit 4e6cb90

Please sign in to comment.