
no_space_around_double_colon
¶There must be no space around double colons (also called Scope Resolution Operator or Paamayim Nekudotayim).
--- Original
+++ New
-<?php echo Foo\Bar :: class;
+<?php echo Foo\Bar::class;
The rule is part of the following rule sets:
Using the @PER rule set will enable the no_space_around_double_colon
rule.
Using the @PSR2 rule set will enable the no_space_around_double_colon
rule.
Using the @PSR12 rule set will enable the no_space_around_double_colon
rule.
Using the @PhpCsFixer rule set will enable the no_space_around_double_colon
rule.
Using the @Symfony rule set will enable the no_space_around_double_colon
rule.