Juliette
Juliette
# Description Now debug output is written to STDERR instead of STDOUT and the StatusWriter is paused while the Fixer is running, the output buffering during fixing can be removed....
# Description Constant visibility is available in PHP since PHP 7.1. This commit adds the visibility to all class constants currently in the codebase and starts enforcing constant visibility being...
## Is your feature request related to a problem? Currently, PHPCS allows for displaying debug information in three "verbosity" levels: * `-v` = Print processed files and general progress info....
# Description Follow up on #1020. In the PHPCS codebase, there are only a couple more places were the `T_TRUE`, `T_FALSE` and `T_NULL` tokens are checked for. In most cases,...
There are currently 8 places in the source code which check whether the global `PHP_CODESNIFFER_IN_TESTS` constant is defined and if so, change some behaviour. Code behaving differently in test vs...
Remove: * `PHP_CodeSniffer\Util\Common::$allowedTypes`. * `PHP_CodeSniffer\Tokenizers\PHP::$tstringContexts`. * `PHP_CodeSniffer\Sniffs\AbstractVariableSniff::$phpReservedVars`. * `PHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\CamelCapsFunctionNameSniff::$magicMethods`. * `PHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\CamelCapsFunctionNameSniff::$methodsDoubleUnderscore`. * `PHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\CamelCapsFunctionNameSniff::$magicFunctions`. * `PHP_CodeSniffer\Standards\Generic\Sniffs\Files\ByteOrderMarkSniff::$bomDefinitions`. * `PHP_CodeSniffer\Standards\Generic\Sniffs\Files\InlineHTMLSniff::$bomDefinitions`. * `PHP_CodeSniffer\Standards\Generic\Sniffs\PHP\CharacterBeforePHPOpeningTagSniff::$bomDefinitions`. * `PHP_CodeSniffer\Standards\Generic\Sniffs\VersionControl\SubversionPropertiesSniff::$properties`. * `PHP_CodeSniffer\Standards\PEAR\Sniffs\Commenting\FileCommentSniff::$tags`. * `PHP_CodeSniffer\Standards\PEAR\Sniffs\NamingConventions\ValidFunctionNameSniff::$magicMethods`. * `PHP_CodeSniffer\Standards\PEAR\Sniffs\NamingConventions\ValidFunctionNameSniff::$magicFunctions`. * `PHP_CodeSniffer\Standards\Squiz\Sniffs\PHP\DisallowSizeFunctionsInLoopsSniff::$forbiddenFunctions`. See:...
# Description :warning: This PR depends on PR #1039, which needs to be merged first. ⚠️ --- This PR modernizes various usages of constant arrays in the public API to...
# Description ### Squiz/VariableComment: make errorcode for "TagNotAllowed" warning modular As things are, the `VariableComment` sniff only allows `@see` tags and `@var` tags in property docblocks. This practice feels dated...
## Is your feature request related to a problem? Follow up on #416, which was fixed via #1024. If a user tries to change an unavailable ini setting, this will...
Depends on #30 See: * https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/500