Is there a way to catch a specific attribute with argument using PHPStan?

21 Views Asked by At

I want to detect if someone accidentally writes a test attribute like #[Group('temp')] using PHPStan. I am also using the https://github.com/ekino/phpstan-banned-code package to catch other debugging statements, but it seems that it doesn't support attributes.

0

There are 0 best solutions below