Skip to content

PHP compatibility warning (PHP >= 7.0) #13

@estevao90

Description

@estevao90

I found a small issue that affects the PHP compatibility. It's a warning:

FILE: src/Rules/Numeric.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 17 | WARNING | 'numeric' is a soft reserved keyword as of PHP
    |         | version 7.0 and should not be used to name a class,
    |         | interface or trait or as part of a namespace (class
    |         | declaration)
    |         | (PHPCompatibility.Keywords.ForbiddenNames.numericFound)
----------------------------------------------------------------------

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