Skip to content

add in composer at require-dev JetBrains\PhpStorm\ namespace #424

@arhimede

Description

@arhimede

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions