Skip to content

Files

Latest commit

 

History

History
16 lines (9 loc) · 559 Bytes

PHPCompatibility.FunctionDeclarations.NonStaticMagicMethods.md

File metadata and controls

16 lines (9 loc) · 559 Bytes

Pattern: Malformed magic method visibility/properties

Issue: -

Description

Verifies the use of the correct visibility and static properties of magic methods.

The requirements have always existed, but as of PHP 5.3, a warning will be thrown when magic methods have the wrong modifiers.

PHP version 5.3

Further Reading