Releases: Konafets/TYPO3SniffPool
2.1.1
2.1.0
2.0.1
2.0.0
Implemented enhancements:
- [FEATURE] Add an Whitespace.IncDecrementSniff #61
- [FEATURE] ValidCommentLineLengthSniff override maxCommentLength #59
- [CLEANUP] Format the sniffs to PHPCS coding guidelines. #57
- [TASK] Refactor TYPO3SniffPool_Sniffs_ControlStructures_SwitchDeclarationSniff #55
- [FEATURE] Adjust FunctionDocComment to the new commenting tokenizer #38
Fixed bugs:
- [BUG] False positive for @author tags in classes #58
- [BUG] Redundant check for valid break statements in switch structures #56
- [BUGFIX] Detection of line start in NoAuthorAnnotationInFunctionDocCommentSniff breaks code fixer #52
- [BUG] PHPStorm integration shows @return void "error" only once per file #49
- [BUG] Negative number parsed as arithemtic operation #47
- [BUG] Check for default switch case is redunant #46
Closed issues:
- [CLEANUP] Remove PHP closing tag from test files. #68
- [CLEANUP] Adjust my mail address in class comment :-) #67
- [CLEANUP] Adjust @Package to reflect the name of the package. #66
- [CLEANUP] Remove the TYPO3 version comment from class comment #65
- [CLEANUP] Remove the @Version annotation from sniff files #64
- [CLEANUP] Rename FunctionDocCommentSniff into FunctionCommentSniff #63
- Checking has been aborted #54
- [TASK] Check the code style of the sniffs against PHPCS standard on Travis-CI #51
- [TASK] Replace old class names like t3lib_div #23
Merged pull requests:
1.0.1
0.0.6
- #9544: [FEATURE] Make UTF-8-Sniff-Error-Message configurable
- #41255: [FEATURE] Add composer support
- #41339: [TASK] Remove the sniff for checking indention of inline comments
- #42019: [TASK] Replace "TYPO3.Files.OneClassPerFile" with "Generic.Files.OneClassPerFile"
- #42020: [TASK] Replace "TYPO3.Files.OneInterfacePerFile" with "Generic.Files.OneInterfacePerFile"
- #42022: [TASK] Replace "TYPO3.PHP.ClosingPHPTag" with "Generic.PHP.ClosingPHPTag"
- #42023: [TASK] Replace "TYPO3.PHP.CharacterBeforePHPOpeningTag" with "Generic.PHP.CharacterBeforePHPOpeningTag"
- #42312: [TASK] Deactivate and remove "TYPO3.Files.EncodingUtf8"-Sniff in both standards
- #42975: [TASK] Create PHP_CodeSniffer custom installer for Composer
- #42976: [TASK] Split repositories and move to github
1.0.0
Changelog:
[TASK] #52929: Remove sniff TYPO3SniffPool.PHP.CharacterAfterPHPClosingTag
[BUGFIX] Take care of Incrementing/Decrementing Operators
[TASK] Add documentation for AssignmentArithmeticAndComparisonSpaceSniff
[BUGFIX] default last in switch not detected correctly
[TASK] Set correct name of TYPO3 Flow
[BUGFIX] #26: AlwaysReturnSniff does not respect @return void of outer function with anonymous function
[BUGFIX] AlwaysReturnSniff does not recognize if/else constructs
[TASK] Add contributors to README
[BUGFIX] Fix conflicting sniffs ValidVariableName and UnusedVariableInForEachLoop
[BUGFIX] #20: Remove references to PEAR
[BUGFIX] #21: Remove pyrus from travis for running tests on hhvm
[TASK] Added PHPUnit as developer dependency
[TASK] Added hhvm, PHP 5.5 and PHP 5.6 to travis ci
[TASK] #15: ValidVariableNameSniff.php raises Deprecation Error in PHP 5.5
[BUGFIX] WhiteSpace.AssignmentArithmeticAndComparisonSpace sniff complains about ternary operator with negative number
1.0.0-alpha
- [FEATURE] #12058 Detect usage of $_ in foreach loops
- [FEATURE] #10130 Add check for extra brackets in do loops
- [BUGFIX] #49830 PHP Notice: Undefined index: scope_opener
- [TASK] #50199 Remove TYPO3SniffPool.Files.LowercasedFilename from standard
- [TASK] #50702 Remove TYPO3SniffPool.Files.LowercasedFilename completly
- [FEATURE] Add autoload functionality
- [FEATURE] Improve the Composer handling. Make usage of the new plugin system to install the standard
- [TASK] #52929: Remove sniff TYPO3SniffPool.PHP.CharacterAfterPHPClosingTag from standard
- [BUGFIX] 41995: Take care of Incrementing/Decrementing Operators
- [BUGFIX] #42288: Underscores are allowed in function name
- [FEATURE] #10127: Last part of a switch statement is the default part
- [FEATURE] #10126: switch-case - comment if one case have no break statement
- [FEATURE] #10125: The code inside the case statements is further indented with a single indent.
- [FEATURE] #10124: Case statements are indented with a single indent (tab) inside the switch statement
- [TASK] #41156: ConcatenationSpacingSniff could check for too many spaces
- [FEATURE] #10133: Closing braces of a scope have to be on his own line and aligned correctly
- [FEATURE] #10123: Dont use nested "ternary conditional" operators
- [TASK] #9: Adjust the @link annotation to github in every file
- [BUGFIX] #11: FilenameSniff crashes if he encounter a file w/o a class
0.0.5
0.0.4
- #38945: [BUGFIX] Remove non valid code from ControlStructures_AlignedBreakStatementUnitTest.inc
- #38822: [BUGFIX] Break statement in else is not checked correctly
- #37454: [BUGFIX] Wrong message in TYPO3.NamingConventions.ValidVariableName
- #37336: [BUGFIX] AlwaysReturnSniff complains about empty return for @return void
- #10468: [BUGFIX] Scope/AlwaysReturnSniff complains about missing return value
- #28170: [BUGFIX] Overriding pi_*-based function leads to error
- #27696: [BUGFIX] Use substr instead of strstr in DisallowSpaceIndentSniff (Thanks to Christian Opitz)
- #12203: [BUGFIX] Extend TYPO3.Debug.DebugCode-Sniff for more cases
- #11908: [BUGFIX] AssignmentArithmeticAndComparisonSpaceSniff does not recognize unary minus after ? operator
- #39063: [BUGFIX] Exclude variables $MCONF, $MLANG and $SOBE
- #10535: [FEATURE] Improve error messages in TYPO3.NamingConventions.ValidVariableName
- #12434: [BUGFIX] Add some NON_lower_camel_case variables to whitelist
- #12357: [BUGFIX] Error message doesn't calculates lowerCamelCase correct
- #12264: [BUGFIX] Use PHP_CodeSniffer_Tokens::$emptyTokens
- #41164: [BUGFIX] TravisCI includes *.inc files
- #12240: [FEATURE] Allow more than one whitespace in Assignment...SpaceSniff
- #37452: [FEATURE] Improve error messages of ValidVariableName-Sniff
- #26154: [FEATURE] Comment line sniff should throw a warning
- #38297: [TASK] Relative sniff inclusion to use TYPO3/FLOW3 standards without symlinking
- #41159: [TASK] Add support for Travis-CI
- #41160: [TASK] Add README.md for description and information
- #38751: [TASK] Exclude files for system extension "em"
- #38529: [TASK] Add exclude pattern from ci.typo3.org to ruleset.xml
- #38360: [TASK] Exclude typo3/sysext/adodb/adodb/ from checking
- #40728: [TASK] Remove Exclude-Folder
- #38685: [TASK] Remove XClass-Sniff from TYPO3-Package
- #13382: [TASK] Create README.TXT in the standard folders
- #13294: [TASK] Remove SVN keywords
- #13249: [TASK] Move build artifacts into build/
- #37296: [TASK] Automate PEAR package build process