Deprecated
Table of Contents
PHPCSUtils/Tokens/Collections.php |
PHPCSUtils/Utils/ControlStructures.php |
PHPCSUtils/Utils/FunctionDeclarations.php |
Collections.php
Line | Element | Reason |
---|---|---|
782 | Collections::arrowFunctionTokensBC() | Use the |
820 | Collections::functionDeclarationTokensBC() | Use the Collections::functionDeclarationTokens() method instead. |
493 | Collections::$parameterTypeTokens | Use the Collections::parameterTypeTokens() method instead. |
978 | Collections::parameterTypeTokensBC() | Use the Collections::parameterTypeTokens() method instead. |
549 | Collections::$propertyTypeTokens | Use the Collections::propertyTypeTokens() method instead. |
1019 | Collections::propertyTypeTokensBC() | Use the Collections::propertyTypeTokens() method instead. |
574 | Collections::$returnTypeTokens | Use the Collections::returnTypeTokens() method instead. |
1061 | Collections::returnTypeTokensBC() | Use the Collections::returnTypeTokens() method instead. |
70 | Collections::$alternativeControlStructureSyntaxTokens | Use the Collections::alternativeControlStructureSyntaxes() method instead. |
91 | Collections::$alternativeControlStructureSyntaxCloserTokens | Use the Collections::alternativeControlStructureSyntaxClosers() method instead. |
138 | Collections::$arrayTokens | Use the Collections::arrayTokens() method instead. |
162 | Collections::$arrayTokensBC | Use the Collections::arrayTokensBC() method instead. |
180 | Collections::$classModifierKeywords | Use the Collections::classModifierKeywords() method instead. |
202 | Collections::$closedScopes | Use the Collections::closedScopes() method instead. |
222 | Collections::$controlStructureTokens | Use the Collections::controlStructureTokens() method instead. |
257 | Collections::$incrementDecrementOperators | Use the Collections::incrementDecrementOperators() method instead. |
276 | Collections::$listTokens | Use the Collections::listTokens() method instead. |
298 | Collections::$listTokensBC | Use the Collections::listTokensBC() method instead. |
316 | Collections::$magicConstants | Use the Tokens::$magicConstants property or the BCTokens::magicConstants() method instead. |
336 | Collections::$namespaceDeclarationClosers | Use the Collections::namespaceDeclarationClosers() method instead. |
374 | Collections::$objectOperators | Use the Collections::objectOperators() method instead. |
389 | Collections::$OOCanExtend | Use the Collections::ooCanExtend() method instead. |
405 | Collections::$OOCanImplement | Use the Collections::ooCanImplement() method instead. |
424 | Collections::$OOConstantScopes | Use the Collections::ooConstantScopes() method instead. |
443 | Collections::$OOHierarchyKeywords | Use the Collections::ooHierarchyKeywords() method instead. |
458 | Collections::$OONameTokens | Use the Collections::namespacedNameTokens() method instead. |
475 | Collections::$OOPropertyScopes | Use the Collections::ooPropertyScopes() method instead. |
528 | Collections::$propertyModifierKeywords | Use the Collections::propertyModifierKeywords() method instead. |
615 | Collections::$shortArrayTokens | Use the Collections::shortArrayTokens() method instead. |
636 | Collections::$shortArrayTokensBC | Use the Collections::shortArrayTokensBC() method instead. |
654 | Collections::$shortListTokens | Use the Collections::shortListTokens() method instead. |
675 | Collections::$shortListTokensBC | Use the Collections::shortListTokensBC() method instead. |
691 | Collections::$textStingStartTokens | Use the Collections::textStringStartTokens() method instead. |
ControlStructures.php
Line | Element | Reason |
---|---|---|
224 | ControlStructures::getDeclareScopeOpenClose() | Check the scope_opener/scope_closer instead. |
FunctionDeclarations.php
Line | Element | Reason |
---|---|---|
643 | FunctionDeclarations::isArrowFunction() | Use the T_FN token constant instead. |
695 | FunctionDeclarations::getArrowFunctionOpenClose() | Use the T_FN token constant instead. |