diff --git a/tests/src/disallowed-allow/ClassWithAttributesAllow.php b/tests/src/disallowed-allow/ClassWithAttributesAllow.php index d7b022c..58f0658 100644 --- a/tests/src/disallowed-allow/ClassWithAttributesAllow.php +++ b/tests/src/disallowed-allow/ClassWithAttributesAllow.php @@ -5,23 +5,23 @@ use Waldo\Quux\Blade; -#[\Attributes\AttributeEntity] // disallowed, no $repositoryClass parameter specified +#[\Attributes\AttributeEntity] // allowed by path in AttributeUsagesTest, disallowed in AttributeUsagesAllowParamsMultipleTest because no $repositoryClass parameter specified class ClassWithAttributesAllow { - #[\Attributes\AttributeEntity(repositoryClass: \Attributes\UserRepository::class, readOnly: false)] // disallowed, $repositoryClass present with any value + #[\Attributes\AttributeEntity(repositoryClass: \Attributes\UserRepository::class, readOnly: false)] // allowed by path in AttributeUsagesTest, disallowed in AttributeUsagesAllowParamsMultipleTest because $repositoryClass has other value public function hasAvocado(): bool { } - #[\Attributes\AttributeEntity(\Attributes\UserRepository::class)] // allowed, $repositoryClass present with any value + #[\Attributes\AttributeEntity(\Attributes\UserRepository::class)] // allowed by path in AttributeUsagesTest, disallowed in AttributeUsagesAllowParamsMultipleTest because $repositoryClass has other value public function hasTuna(): bool { } - #[\Attributes\AttributeEntity(Blade::class)] // allowed, $repositoryClass present with any value + #[\Attributes\AttributeEntity(Blade::class)] // allowed in all tests, $repositoryClass present with allowed value public function hasKetchup(): bool { }