diff --git a/src/Libero/ruleset.xml b/src/Libero/ruleset.xml index 9c1165b..3ddc9c7 100644 --- a/src/Libero/ruleset.xml +++ b/src/Libero/ruleset.xml @@ -30,10 +30,12 @@ + + diff --git a/tests/cases/classes/late-static-binding-constant b/tests/cases/classes/late-static-binding-constant new file mode 100644 index 0000000..c72a205 --- /dev/null +++ b/tests/cases/classes/late-static-binding-constant @@ -0,0 +1,41 @@ +---DESCRIPTION--- +Late-static binding must not be used for constants +---FILENAME--- +Foo.php +---CONTENTS--- +