Skip to content

usePhpDocPropertiesWithoutMagicCall doesn't seem to be effective #2830

@orklah

Description

@orklah

I can't reproduce on psalm.dev, but on https://github.com/Roave/BetterReflection when launching psalm, we get a certain type coverage. if we add allowPhpStormGenerics and clean cache, the coverage doesn't change. if we add

    'phpparser\\node\\stmt\\class_' => [
        'stmts' => 'array<int, PhpParser\Node\Stmt>',
    ],
    'phpparser\\node\\stmt\\trait_' => [
        'stmts' => 'array<int, PhpParser\Node\Stmt>',
    ],
    'phpparser\\node\\stmt\\interface_' => [
        'stmts' => 'array<int, PhpParser\Node\Stmt>',
    ],

in propertymap.php and clean cache, the type coverage increases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions