Skip to content

WordPressVIPMinimum.Constants.ConstantString.NotCheckingConstantName wrong #480

@kkmuffme

Description

@kkmuffme
$key = 'hello';
if ( defined( $key ) && constant( $key ) === false ) {

gives error WordPressVIPMinimum.Constants.ConstantString.NotCheckingConstantName:
Constant name, as a string, should be used along with defined().

which is wrong, as it is checked with defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions