Skip to content

Check constant string dates validity #4096

@b1rdex

Description

@b1rdex

I want to add a rule to check constant string dates validity. Example:
new DateTime('2020.11.17') will always throw an exception. IMHO this should be reported.

Will you accept it? Any suggestions?

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