diff --git a/tests/PHPStan/Rules/Traits/data/conflicting-trait-constants.php b/tests/PHPStan/Rules/Traits/data/conflicting-trait-constants.php index 29f831a396..dc68ba0758 100644 --- a/tests/PHPStan/Rules/Traits/data/conflicting-trait-constants.php +++ b/tests/PHPStan/Rules/Traits/data/conflicting-trait-constants.php @@ -96,3 +96,10 @@ class Bar9 public const PUBLIC_CONSTANT = 2; } + +class Bar10 +{ + use Foo; + + final public const PUBLIC_FINAL_CONSTANT = 1; +}