Skip to content

Commit 8c95f1f

Browse files
committed
move property.notFound baseline entry to universal phpstan-baseline.neon (affects all PHP versions)
1 parent 6778ace commit 8c95f1f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

build/baseline-pre-8.0.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,6 @@ parameters:
134134
count: 1
135135
path: ../src/Type/TypeCombinator.php
136136

137-
-
138-
rawMessage: 'Access to an undefined property PHPStan\PhpDocParser\Ast\PhpDoc\TypeAliasTagValueNode::$templateTypes.'
139-
identifier: property.notFound
140-
count: 1
141-
path: ../src/PhpDoc/PhpDocNodeResolver.php
142-
143137
-
144138
rawMessage: Access to property $id of internal class Symfony\Polyfill\Php80\PhpToken from outside its root namespace Symfony.
145139
identifier: property.internalClass

phpstan-baseline.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
parameters:
22
ignoreErrors:
3+
-
4+
rawMessage: 'Access to an undefined property PHPStan\PhpDocParser\Ast\PhpDoc\TypeAliasTagValueNode::$templateTypes.'
5+
identifier: property.notFound
6+
count: 1
7+
path: src/PhpDoc/PhpDocNodeResolver.php
8+
39
-
410
rawMessage: 'Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.'
511
identifier: phpstanApi.instanceofType

0 commit comments

Comments
 (0)