Skip to content

Commit 3fa4e68

Browse files
ondrejmirtesclaude
andcommitted
Ignore BackedEnumFromTrait test errors on PHP < 8.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CKrYCc9qg3QPkVPpXFRS7T
1 parent 3dfd56a commit 3fa4e68

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎build/enums.neon‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ parameters:
1717
message: '#^Class CustomDeprecations\\MyDeprecatedEnum not found\.$#'
1818
paths:
1919
- ../tests/PHPStan/Reflection/Deprecation/DeprecationProviderTest.php
20+
-
21+
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with ''BackedEnum(FromTrait…)?'' and class\-string will always evaluate to false\.$#'
22+
count: 3
23+
path: ../tests/PHPStan/Reflection/ClassReflectionTest.php

0 commit comments

Comments
 (0)