Non-applicable attribute target declaration
Reports the attributes that do not have the appropriate Attribute::TARGET_*
flag in their arguments declaration.
See Attributes (php.net) for details.
Inspection options
Option | Type | Default |
---|---|---|
Allow only 'TARGET_PARAMETER|TARGET_PROPERTY' attributes with promoted properties | Checkbox | false |
Inspection Details | |
---|---|
Available in: | PhpStorm 2023.3, Qodana for PHP 2023.3 |
Plugin: | PHP, 233.SNAPSHOT |
Last modified: 13 July 2023