Feature Request
| Q |
A |
| New Feature |
yes |
| RFC |
no |
| BC Break |
no |
Summary
Situation:
In order to mark deprecated stuff, sometimes a developer use something like
use JetBrains\PhpStorm\Deprecated;
which give an error in phpstan validation
Attribute class JetBrains\PhpStorm\Deprecated does not exist.
🪪 attribute.notFound
The solution is to add in composer.json in require-dev section a line like
"jetbrains/phpstorm-attributes": "^1.2"
Do we want to add this line by default in Dotkernel projects ?
@pinclau @alexmerlin