Skip to content

PHP named attributes are not taken into account #1925

Open
@guerinetn

Description

@guerinetn
Subject Details
Plugin Php Inspections (EA Ultimate),
Language level PHP 8.2

Current behaviour

If I use a named attributes for a function it's not understood.

If I write :

$token = uniqid(more_entropy: true)

EA raise the error : Please provide 'more_entropy' parameter in order to increase likelihood of uniqueness.

It would be nice, il named attributes are understood by EA because this feature helps a lot when you have a lots of optional parameter to a function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions