Skip to content

Commit

Permalink
Baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed May 21, 2021
1 parent 37a3116 commit 65d626e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ tmp export-ignore
Makefile export-ignore
phpcs.xml export-ignore
phpstan.neon export-ignore
phpstan-baseline.neon export-ignore
phpunit.xml export-ignore
12 changes: 12 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
parameters:
ignoreErrors:
-
message: "#^Method PHPStan\\\\Rules\\\\Doctrine\\\\ORM\\\\PropertiesExtension\\:\\:findMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo does not specify its types\\: T$#"
count: 1
path: src/Rules/Doctrine/ORM/PropertiesExtension.php

-
message: "#^PHPDoc tag @var for variable \\$ormMetadata contains generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#"
count: 1
path: src/Type/Doctrine/ObjectMetadataResolver.php

1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
includes:
- extension.neon
- rules.neon
- phpstan-baseline.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
Expand Down

0 comments on commit 65d626e

Please # to comment.