Skip to content

Commit f0cc579

Browse files
phpstan-botondrejmirtes
authored andcommitted
Update baselines
1 parent 3a23fe8 commit f0cc579

2 files changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: '#^Method Roave\\BetterReflection\\Reflection\\Adapter\\ReflectionParameter\:\:getDefaultValue\(\) has ReflectionException in PHPDoc @throws tag but it''s not thrown\.$#'
5+
identifier: throws.unusedType
6+
count: 1
7+
path: repo/src/Reflection/Adapter/ReflectionParameter.php
8+
9+
-
10+
message: '#^Method Roave\\BetterReflection\\Reflection\\Adapter\\ReflectionParameter\:\:getDefaultValueConstantName\(\) has ReflectionException in PHPDoc @throws tag but it''s not thrown\.$#'
11+
identifier: throws.unusedType
12+
count: 1
13+
path: repo/src/Reflection/Adapter/ReflectionParameter.php
14+
15+
-
16+
message: '#^Method Roave\\BetterReflection\\SourceLocator\\Ast\\Locator@anonymous/test/unit/NodeCompiler/CompileNodeToValueTest\.php\:848\:\:findReflectionsOfType\(\) has Roave\\BetterReflection\\SourceLocator\\Ast\\Exception\\ParseToAstFailure in PHPDoc @throws tag but it''s not thrown\.$#'
17+
identifier: throws.unusedType
18+
count: 1
19+
path: repo/test/unit/NodeCompiler/CompileNodeToValueTest.php
20+
21+
-
22+
message: '#^Method Roave\\BetterReflection\\SourceLocator\\Located\\LocatedSource@anonymous/test/unit/NodeCompiler/CompileNodeToValueTest\.php\:861\:\:__construct\(\) has InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#'
23+
identifier: throws.unusedType
24+
count: 1
25+
path: repo/test/unit/NodeCompiler/CompileNodeToValueTest.php
26+
27+
-
28+
message: '#^Method Roave\\BetterReflection\\SourceLocator\\Located\\LocatedSource@anonymous/test/unit/NodeCompiler/CompileNodeToValueTest\.php\:861\:\:__construct\(\) has Roave\\BetterReflection\\SourceLocator\\Exception\\InvalidFileLocation in PHPDoc @throws tag but it''s not thrown\.$#'
29+
identifier: throws.unusedType
30+
count: 1
31+
path: repo/test/unit/NodeCompiler/CompileNodeToValueTest.php

e2e/integration/doctrine-orm-baseline.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ parameters:
66
count: 1
77
path: repo/src/Configuration.php
88

9+
-
10+
message: '#^Method Doctrine\\ORM\\EntityManager\:\:lock\(\) has Doctrine\\ORM\\PessimisticLockException in PHPDoc @throws tag but it''s not thrown\.$#'
11+
identifier: throws.unusedType
12+
count: 1
13+
path: repo/src/EntityManager.php
14+
915
-
1016
message: '#^Offset ''class'' might not exist on array\{class\?\: mixed, args\: non\-empty\-array\}\.$#'
1117
identifier: offsetAccess.notFound

0 commit comments

Comments
 (0)