├── CHANGELOG.md ├── LICENSE ├── PHPCSUtils ├── AbstractSniffs │ └── AbstractArrayDeclarationSniff.php ├── BackCompat │ ├── BCFile.php │ ├── BCTokens.php │ └── Helper.php ├── Exceptions │ ├── InvalidTokenArray.php │ ├── LogicException.php │ ├── MissingArgumentError.php │ ├── OutOfBoundsStackPtr.php │ ├── RuntimeException.php │ ├── TestFileNotFound.php │ ├── TestMarkerNotFound.php │ ├── TestTargetNotFound.php │ ├── TypeError.php │ ├── UnexpectedTokenType.php │ └── ValueError.php ├── Fixers │ └── SpacesFixer.php ├── Internal │ ├── AttributeHelper.php │ ├── Cache.php │ ├── IsShortArrayOrList.php │ ├── IsShortArrayOrListWithCache.php │ ├── NoFileCache.php │ └── StableCollections.php ├── TestUtils │ ├── ConfigDouble.php │ ├── RulesetDouble.php │ └── UtilityMethodTestCase.php ├── Tokens │ ├── Collections.php │ └── TokenHelper.php ├── Utils │ ├── Arrays.php │ ├── AttributeBlock.php │ ├── Conditions.php │ ├── Constants.php │ ├── Context.php │ ├── ControlStructures.php │ ├── FileInfo.php │ ├── FilePath.php │ ├── FunctionDeclarations.php │ ├── GetTokensAsString.php │ ├── Lists.php │ ├── MessageHelper.php │ ├── Namespaces.php │ ├── NamingConventions.php │ ├── Numbers.php │ ├── ObjectDeclarations.php │ ├── Operators.php │ ├── Orthography.php │ ├── Parentheses.php │ ├── PassedParameters.php │ ├── Scopes.php │ ├── TextStrings.php │ ├── TypeString.php │ ├── UseStatements.php │ └── Variables.php └── ruleset.xml ├── README.md ├── composer.json └── phpcsutils-autoload.php /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/LICENSE -------------------------------------------------------------------------------- /PHPCSUtils/AbstractSniffs/AbstractArrayDeclarationSniff.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/AbstractSniffs/AbstractArrayDeclarationSniff.php -------------------------------------------------------------------------------- /PHPCSUtils/BackCompat/BCFile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/BackCompat/BCFile.php -------------------------------------------------------------------------------- /PHPCSUtils/BackCompat/BCTokens.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/BackCompat/BCTokens.php -------------------------------------------------------------------------------- /PHPCSUtils/BackCompat/Helper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/BackCompat/Helper.php -------------------------------------------------------------------------------- /PHPCSUtils/Exceptions/InvalidTokenArray.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Exceptions/InvalidTokenArray.php -------------------------------------------------------------------------------- /PHPCSUtils/Exceptions/LogicException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Exceptions/LogicException.php -------------------------------------------------------------------------------- /PHPCSUtils/Exceptions/MissingArgumentError.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Exceptions/MissingArgumentError.php -------------------------------------------------------------------------------- /PHPCSUtils/Exceptions/OutOfBoundsStackPtr.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Exceptions/OutOfBoundsStackPtr.php -------------------------------------------------------------------------------- /PHPCSUtils/Exceptions/RuntimeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Exceptions/RuntimeException.php -------------------------------------------------------------------------------- /PHPCSUtils/Exceptions/TestFileNotFound.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Exceptions/TestFileNotFound.php -------------------------------------------------------------------------------- /PHPCSUtils/Exceptions/TestMarkerNotFound.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Exceptions/TestMarkerNotFound.php -------------------------------------------------------------------------------- /PHPCSUtils/Exceptions/TestTargetNotFound.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Exceptions/TestTargetNotFound.php -------------------------------------------------------------------------------- /PHPCSUtils/Exceptions/TypeError.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Exceptions/TypeError.php -------------------------------------------------------------------------------- /PHPCSUtils/Exceptions/UnexpectedTokenType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Exceptions/UnexpectedTokenType.php -------------------------------------------------------------------------------- /PHPCSUtils/Exceptions/ValueError.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Exceptions/ValueError.php -------------------------------------------------------------------------------- /PHPCSUtils/Fixers/SpacesFixer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Fixers/SpacesFixer.php -------------------------------------------------------------------------------- /PHPCSUtils/Internal/AttributeHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Internal/AttributeHelper.php -------------------------------------------------------------------------------- /PHPCSUtils/Internal/Cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Internal/Cache.php -------------------------------------------------------------------------------- /PHPCSUtils/Internal/IsShortArrayOrList.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Internal/IsShortArrayOrList.php -------------------------------------------------------------------------------- /PHPCSUtils/Internal/IsShortArrayOrListWithCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Internal/IsShortArrayOrListWithCache.php -------------------------------------------------------------------------------- /PHPCSUtils/Internal/NoFileCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Internal/NoFileCache.php -------------------------------------------------------------------------------- /PHPCSUtils/Internal/StableCollections.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Internal/StableCollections.php -------------------------------------------------------------------------------- /PHPCSUtils/TestUtils/ConfigDouble.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/TestUtils/ConfigDouble.php -------------------------------------------------------------------------------- /PHPCSUtils/TestUtils/RulesetDouble.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/TestUtils/RulesetDouble.php -------------------------------------------------------------------------------- /PHPCSUtils/TestUtils/UtilityMethodTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/TestUtils/UtilityMethodTestCase.php -------------------------------------------------------------------------------- /PHPCSUtils/Tokens/Collections.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Tokens/Collections.php -------------------------------------------------------------------------------- /PHPCSUtils/Tokens/TokenHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Tokens/TokenHelper.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Arrays.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Arrays.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/AttributeBlock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/AttributeBlock.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Conditions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Conditions.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Constants.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Constants.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Context.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Context.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/ControlStructures.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/ControlStructures.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/FileInfo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/FileInfo.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/FilePath.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/FilePath.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/FunctionDeclarations.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/FunctionDeclarations.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/GetTokensAsString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/GetTokensAsString.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Lists.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Lists.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/MessageHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/MessageHelper.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Namespaces.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Namespaces.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/NamingConventions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/NamingConventions.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Numbers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Numbers.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/ObjectDeclarations.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/ObjectDeclarations.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Operators.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Operators.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Orthography.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Orthography.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Parentheses.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Parentheses.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/PassedParameters.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/PassedParameters.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Scopes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Scopes.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/TextStrings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/TextStrings.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/TypeString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/TypeString.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/UseStatements.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/UseStatements.php -------------------------------------------------------------------------------- /PHPCSUtils/Utils/Variables.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/Utils/Variables.php -------------------------------------------------------------------------------- /PHPCSUtils/ruleset.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/PHPCSUtils/ruleset.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/composer.json -------------------------------------------------------------------------------- /phpcsutils-autoload.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PHPCSStandards/PHPCSUtils/HEAD/phpcsutils-autoload.php --------------------------------------------------------------------------------