Skip to content

Commit d4a3dec

Browse files
committed
Regenerated PHPStan baseline
1 parent 7caae7f commit d4a3dec

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

phpstan-baseline.neon

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: '#^PHPDoc tag @var with type array\<PhpParser\\Node\\Stmt\>\|null is not subtype of native type array\.$#'
5+
identifier: varTag.nativeType
6+
count: 1
7+
path: src/lib/Rule/Internal/RemoveInterfaceWithMethodsRector.php
8+
9+
-
10+
message: '#^Doing instanceof PHPStan\\Type\\ObjectType is error\-prone and deprecated\. Use Type\:\:isObject\(\) or Type\:\:getObjectClassNames\(\) instead\.$#'
11+
identifier: phpstanApi.instanceofType
12+
count: 1
13+
path: src/lib/Rule/PropertyToGetterRector.php
14+
15+
-
16+
message: '#^Doing instanceof PHPStan\\Type\\ObjectType is error\-prone and deprecated\. Use Type\:\:isObject\(\) or Type\:\:getObjectClassNames\(\) instead\.$#'
17+
identifier: phpstanApi.instanceofType
18+
count: 1
19+
path: src/lib/Rule/RemoveArgumentFromMethodCallRector.php
20+
21+
-
22+
message: '#^Method Ibexa\\Rector\\Visitor\\DependentMethodCallRemovingVisitor\:\:leaveNode\(\) never returns array\<PhpParser\\Node\> so it can be removed from the return type\.$#'
23+
identifier: return.unusedType
24+
count: 1
25+
path: src/lib/Visitor/DependentMethodCallRemovingVisitor.php
26+
27+
-
28+
message: '#^Method Ibexa\\Rector\\Visitor\\DependentMethodCallRemovingVisitor\:\:leaveNode\(\) never returns int so it can be removed from the return type\.$#'
29+
identifier: return.unusedType
30+
count: 1
31+
path: src/lib/Visitor/DependentMethodCallRemovingVisitor.php

phpstan.neon

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
includes:
22
- vendor/phpstan/phpstan-phpunit/extension.neon
33
- vendor/phpstan/phpstan-symfony/extension.neon
4+
- phpstan-baseline.neon
45

56
parameters:
67
level: 8

0 commit comments

Comments
 (0)