You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this is not (yet) a real issue as no new classes have been introduced into PHP since the introduction of anonymous classes, it will start to come into play once there are.
It will also come into play once a RemovedClasses sniff would be introduced.
PHPCS < 2.7.2.
$a = newclassextendsDateTime {}
Just wanted to make a note of this as a reminder.
Upstream this was fixed in PHPCS 2.7.2(alpha) by adding support for T_ANON_CLASS in the PHP_Codesniffer_File->findExtendedClassName() method. squizlabs/PHP_CodeSniffer@0011d44
The text was updated successfully, but these errors were encountered:
While this is not (yet) a real issue as no new classes have been introduced into PHP since the introduction of anonymous classes, it will start to come into play once there are.
It will also come into play once a
RemovedClasses
sniff would be introduced.PHPCS < 2.7.2.
Just wanted to make a note of this as a reminder.
Upstream this was fixed in PHPCS 2.7.2(alpha) by adding support for
T_ANON_CLASS
in thePHP_Codesniffer_File->findExtendedClassName()
method.squizlabs/PHP_CodeSniffer@0011d44
The text was updated successfully, but these errors were encountered: