Juliette

Results 605 issues of 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....

Type: chores/QA
Core Component: File
Core Component: Fixer
Core Component: Reports

# 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...

Type: breaking change
Type: chores/QA
Core Component: Utils
Core Component: Generators
Core Component: Config & CLI options

## 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....

Type: enhancement
Status: waiting for opinions
Core Component: Config & CLI options

# 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,...

Type: bug
Type: enhancement
Core Component: Tokenizer
Standard: Generic
Standard: PSR12
Standard: Squiz

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...

Type: chores/QA

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:...

Type: breaking change
Type: chores/QA

# 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...

Type: chores/QA
Core Component: Tokenizer
Core Component: Utils
Standard: Generic
Standard: PEAR
Standard: Squiz

# 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...

Type: breaking change
Type: enhancement
Focus: Comments/Docblocks
Standard: Squiz

## 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...

Type: enhancement
Status: blocked
Core Component: Config & CLI options

Depends on #30 See: * https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/500

Type: chores/QA
Core Component: Utils