Skip to content

Commit 7277ed6

Browse files
Fix
1 parent 68f21d0 commit 7277ed6

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

build/baseline-7.4.neon

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,3 @@ parameters:
7777
message: "#^Class PHPStan\\\\Reflection\\\\BetterReflection\\\\SourceLocator\\\\CachingVisitor has an uninitialized property \\$constantNodes\\. Give it default value or assign it in the constructor\\.$#"
7878
count: 1
7979
path: ../src/Reflection/BetterReflection/SourceLocator/CachingVisitor.php
80-
81-
-
82-
message: "#^Parameter \\#9 \\$reflection of class PHPStan\\\\Reflection\\\\ClassReflection constructor expects ReflectionClass, PHPStan\\\\BetterReflection\\\\Reflection\\\\Adapter\\\\ReflectionClass\\|PHPStan\\\\BetterReflection\\\\Reflection\\\\Adapter\\\\ReflectionEnum given\\.$#"
83-
count: 1
84-
path: ../src/Reflection/BetterReflection/BetterReflectionProvider.php
85-
86-
-
87-
message: "#^Parameter \\#9 \\$reflection of class PHPStan\\\\Reflection\\\\ClassReflection constructor expects ReflectionClass, PHPStan\\\\BetterReflection\\\\Reflection\\\\Adapter\\\\ReflectionClass\\|PHPStan\\\\BetterReflection\\\\Reflection\\\\Adapter\\\\ReflectionEnum given\\.$#"
88-
count: 1
89-
path: ../src/Analyser/NodeScopeResolver.php

build/more-enum-adapter-errors.neon

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,13 @@ parameters:
2626
rawMessage: 'Asserted type PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum for $this->getNativeReflection() with type PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass can never happen.'
2727
count: 1
2828
path: ../src/Reflection/ClassReflection.php
29+
30+
-
31+
message: "#^Parameter \\#9 \\$reflection of class PHPStan\\\\Reflection\\\\ClassReflection constructor expects ReflectionClass, PHPStan\\\\BetterReflection\\\\Reflection\\\\Adapter\\\\ReflectionClass\\|PHPStan\\\\BetterReflection\\\\Reflection\\\\Adapter\\\\ReflectionEnum given\\.$#"
32+
count: 1
33+
path: ../src/Reflection/BetterReflection/BetterReflectionProvider.php
34+
35+
-
36+
message: "#^Parameter \\#9 \\$reflection of class PHPStan\\\\Reflection\\\\ClassReflection constructor expects ReflectionClass, PHPStan\\\\BetterReflection\\\\Reflection\\\\Adapter\\\\ReflectionClass\\|PHPStan\\\\BetterReflection\\\\Reflection\\\\Adapter\\\\ReflectionEnum given\\.$#"
37+
count: 1
38+
path: ../src/Analyser/NodeScopeResolver.php

0 commit comments

Comments
 (0)