Skip to content

add flag-constants to stub files #9900

@staabm

Description

@staabm

Description

to support static analysis tools, it would be really helpful to have flag-constants like JSON_FORCE_OBJECT and their value-types declared within stub files.

this types are very valuable to e.g. phpstan and could be picked up and be used while analyzing source code

see e.g. https://www.php.net/manual/en/function.json-encode.php for more examples

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions