Skip to content

Files

Latest commit

 

History

History
16 lines (9 loc) · 510 Bytes

PHPCompatibility.Keywords.CaseSensitiveKeywords.md

File metadata and controls

16 lines (9 loc) · 510 Bytes

Pattern: Use of non-lowercase keyword

Issue: -

Description

Detect usage of self, parent and static and verify they are lowercase.

Prior to PHP 5.5, cases existed where the self, parent, and static keywords were treated in a case sensitive fashion.

PHP version 5.5

Further Reading