@@ -4249,27 +4249,39 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
4249
4249
- PSR1 CamelCapsMethodNameSniff now ignores magic methods
4250
4250
- Thanks to [ Eser Ozvataf] [ @eser ] for the patch
4251
4251
- PSR1 SideEffectsSniff now ignores methods named define()
4252
- - PSR1 and PEAR ClassDeclarationSniffs now support traits (request #20208 )
4252
+ - PSR1 and PEAR ClassDeclarationSniffs now support traits (request [ #20208 ] [ pear-20208 ] )
4253
4253
- PSR2 ControlStructureSpacingSniff now allows newlines before/after parentheses
4254
4254
- Thanks to [ Maurus Cuelenaere] [ @mcuelenaere ] for the patch
4255
4255
- Squiz LowercasePHPFunctionsSniff no longer reports errors for namespaced functions
4256
4256
- Thanks to [ Max Galbusera] [ @maxgalbu ] for the patch
4257
4257
- Squiz SwitchDeclarationSniff now allows exit() as a breaking statement for case/default
4258
4258
- Squiz ValidVariableNameSniff and Zend ValidVariableNameSniff now ignore additional PHP reserved vars
4259
4259
- Thanks to Mikuláš Dítě and Adrian Crepaz for the patch
4260
- - Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request #20241 )
4260
+ - Sniff code Squiz.WhiteSpace.MemberVarSpacing.After changed to Squiz.WhiteSpace.MemberVarSpacing.Incorrect (request [ #20241 ] [ pear-20241 ] )
4261
4261
4262
4262
### Fixed
4263
- - Fixed bug #20200 : Invalid JSON produced with specific error message
4264
- - Fixed bug #20204 : Ruleset exclude checks are case sensitive
4265
- - Fixed bug #20213 : Invalid error, Inline IF must be declared on single line
4266
- - Fixed bug #20225 : array_merge() that takes more than one line generates error
4267
- - Fixed bug #20230 : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4268
- - Fixed bug #20240 : Squiz block comment sniff fails when newline present
4269
- - Fixed bug #20247 : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
4263
+ - Fixed bug [ #20200 ] [ pear-20200 ] : Invalid JSON produced with specific error message
4264
+ - Fixed bug [ #20204 ] [ pear-20204 ] : Ruleset exclude checks are case sensitive
4265
+ - Fixed bug [ #20213 ] [ pear-20213 ] : Invalid error, Inline IF must be declared on single line
4266
+ - Fixed bug [ #20225 ] [ pear-20225 ] : array_merge() that takes more than one line generates error
4267
+ - Fixed bug [ #20230 ] [ pear-20230 ] : Squiz ControlStructureSpacing sniff assumes specific condition formatting
4268
+ - Fixed bug [ #20240 ] [ pear-20240 ] : Squiz block comment sniff fails when newline present
4269
+ - Fixed bug [ #20247 ] [ pear-20247 ] : The Squiz.WhiteSpace.ControlStructureSpacing sniff and do-while
4270
4270
- Thanks to [ Alexander Obuhovich] [ @aik099 ] for the patch
4271
- - Fixed bug #20248 : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4272
- - Fixed bug #20252 : Uninitialized string offset when package name starts with underscore
4271
+ - Fixed bug [ #20248 ] [ pear-20248 ] : The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
4272
+ - Fixed bug [ #20252 ] [ pear-20252 ] : Uninitialized string offset when package name starts with underscore
4273
+
4274
+ [ pear-20200 ] : https://pear.php.net/bugs/bug.php?id=20200
4275
+ [ pear-20204 ] : https://pear.php.net/bugs/bug.php?id=20204
4276
+ [ pear-20208 ] : https://pear.php.net/bugs/bug.php?id=20208
4277
+ [ pear-20213 ] : https://pear.php.net/bugs/bug.php?id=20213
4278
+ [ pear-20225 ] : https://pear.php.net/bugs/bug.php?id=20225
4279
+ [ pear-20230 ] : https://pear.php.net/bugs/bug.php?id=20230
4280
+ [ pear-20240 ] : https://pear.php.net/bugs/bug.php?id=20240
4281
+ [ pear-20241 ] : https://pear.php.net/bugs/bug.php?id=20241
4282
+ [ pear-20247 ] : https://pear.php.net/bugs/bug.php?id=20247
4283
+ [ pear-20248 ] : https://pear.php.net/bugs/bug.php?id=20248
4284
+ [ pear-20252 ] : https://pear.php.net/bugs/bug.php?id=20252
4273
4285
4274
4286
## [ 2.0.0a1] - 2014-02-05
4275
4287
### Changed
@@ -4284,7 +4296,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
4284
4296
- e.g., arg name="report" value="summary" (print summary report; same as --report=summary)
4285
4297
- e.g., arg value="sp" (print source and progress information; same as -sp)
4286
4298
- The -vvv, --sniffs, --standard and -l command line arguments cannot be set in this way
4287
- - Sniff process() methods can not optionally return a token to ignore up to
4299
+ - Sniff process() methods can now optionally return a token to ignore up to
4288
4300
- If returned, the sniff will not be executed again until the passed token is reached in the file
4289
4301
- Useful if you are looking for tokens like T_OPEN_TAG but only want to process the first one
4290
4302
- Removed the comment parser classes and replaced it with a simple comment tokenizer
@@ -4356,10 +4368,15 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
4356
4368
- Generic FixmeSniff and TodoSniff now work correctly with accented characters
4357
4369
4358
4370
### Fixed
4359
- - Fixed bug #20145 : Custom ruleset preferences directory over installed standard
4360
- - Fixed bug #20147 : phpcs-svn-pre-commit - no more default error report
4361
- - Fixed bug #20151 : Problem handling "if(): ... else: ... endif;" syntax
4362
- - Fixed bug #20190 : Invalid regex in Squiz_Sniffs_WhiteSpace_SuperfluousWhitespaceSniff
4371
+ - Fixed bug [ #20145 ] [ pear-20145 ] : Custom ruleset preferences directory over installed standard
4372
+ - Fixed bug [ #20147 ] [ pear-20147 ] : phpcs-svn-pre-commit - no more default error report
4373
+ - Fixed bug [ #20151 ] [ pear-20151 ] : Problem handling "if(): ... else: ... endif;" syntax
4374
+ - Fixed bug [ #20190 ] [ pear-20190 ] : Invalid regex in Squiz_Sniffs_WhiteSpace_SuperfluousWhitespaceSniff
4375
+
4376
+ [ pear-20145 ] : https://pear.php.net/bugs/bug.php?id=20145
4377
+ [ pear-20147 ] : https://pear.php.net/bugs/bug.php?id=20147
4378
+ [ pear-20151 ] : https://pear.php.net/bugs/bug.php?id=20151
4379
+ [ pear-20190 ] : https://pear.php.net/bugs/bug.php?id=20190
4363
4380
4364
4381
## [ 1.5.1] - 2013-12-12
4365
4382
### Changed
@@ -4378,13 +4395,18 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
4378
4395
- PSR2 ClassDeclarationSniff now allows a list of extended interfaces to be split across multiple lines
4379
4396
- Squiz DoubleQuoteUsageSniff now allows \b in double quoted strings
4380
4397
- Generic ForbiddenFunctionsSniff now ignores object creation
4381
- - This is a further fix for bug #20100 : incorrect Function mysql() has been deprecated report
4398
+ - This is a further fix for bug [ #20100 ] [ pear-20100 ] : incorrect Function mysql() has been deprecated report
4382
4399
4383
4400
### Fixed
4384
- - Fixed bug #20136 : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
4385
- - Fixed bug #20138 : Protected property underscore and camel caps issue (in trait with Zend)
4401
+ - Fixed bug [ #20136 ] [ pear-20136 ] : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
4402
+ - Fixed bug [ #20138 ] [ pear-20138 ] : Protected property underscore and camel caps issue (in trait with Zend)
4386
4403
- Thanks to [ Gaetan Rousseau] [ @Naelyth ] for the patch
4387
- - Fixed bug #20139 : No report file generated on success
4404
+ - Fixed bug [ #20139 ] [ pear-20139 ] : No report file generated on success
4405
+
4406
+ [ pear-20100 ] : https://pear.php.net/bugs/bug.php?id=20100
4407
+ [ pear-20136 ] : https://pear.php.net/bugs/bug.php?id=20136
4408
+ [ pear-20138 ] : https://pear.php.net/bugs/bug.php?id=20138
4409
+ [ pear-20139 ] : https://pear.php.net/bugs/bug.php?id=20139
4388
4410
4389
4411
## [ 1.5.0] - 2013-11-28
4390
4412
### Changed
@@ -4394,9 +4416,9 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
4394
4416
- E.g., to ignore comments, override a property using:
4395
4417
- name="ignoreIndentationTokens" type="array" value="T_COMMENT,T_DOC_COMMENT"
4396
4418
- PSR2 standard now ignores comments when checking indentation rules
4397
- - Generic UpperCaseConstantNameSniff no longer reports errors where constants are used (request #20090 )
4419
+ - Generic UpperCaseConstantNameSniff no longer reports errors where constants are used (request [ #20090 ] [ pear-20090 ] )
4398
4420
- It still reports errors where constants are defined
4399
- - Individual messages can now be excluded in ruleset.xml files using the exclude tag (request #20091 )
4421
+ - Individual messages can now be excluded in ruleset.xml files using the exclude tag (request [ #20091 ] [ pear-20091 ] )
4400
4422
- Setting message severity to 0 continues to be supported
4401
4423
- Squiz OperatorSpacingSniff no longer throws errors for the ?: short ternary operator
4402
4424
- Thanks to [ Antoine Musso] [ @hashar ] for the patch
@@ -4409,13 +4431,23 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
4409
4431
- Thanks to [ Maksim Kochkin] [ @ksimka ] for the patch
4410
4432
4411
4433
### Fixed
4412
- - Fixed bug #20093 : Bug with ternary operator token
4413
- - Fixed bug #20097 : CLI.php throws error in php 5.2
4414
- - Fixed bug #20100 : incorrect Function mysql() has been deprecated report
4415
- - Fixed bug #20119 : PHP warning: invalid argument to str_repeat() in SVN blame report with -s
4416
- - Fixed bug #20123 : PSR2 complains about an empty second statement in for-loop
4417
- - Fixed bug #20131 : PHP errors in svnblame report, if there are files not under version control
4418
- - Fixed bug #20133 : Allow "HG: hg_id" as value for @version tag
4434
+ - Fixed bug [ #20093 ] [ pear-20093 ] : Bug with ternary operator token
4435
+ - Fixed bug [ #20097 ] [ pear-20097 ] : CLI.php throws error in php 5.2
4436
+ - Fixed bug [ #20100 ] [ pear-20100 ] : incorrect Function mysql() has been deprecated report
4437
+ - Fixed bug [ #20119 ] [ pear-20119 ] : PHP warning: invalid argument to str_repeat() in SVN blame report with -s
4438
+ - Fixed bug [ #20123 ] [ pear-20123 ] : PSR2 complains about an empty second statement in for-loop
4439
+ - Fixed bug [ #20131 ] [ pear-20131 ] : PHP errors in svnblame report, if there are files not under version control
4440
+ - Fixed bug [ #20133 ] [ pear-20133 ] : Allow "HG: hg_id" as value for @version tag
4441
+
4442
+ [ pear-20090 ] : https://pear.php.net/bugs/bug.php?id=20090
4443
+ [ pear-20091 ] : https://pear.php.net/bugs/bug.php?id=20091
4444
+ [ pear-20093 ] : https://pear.php.net/bugs/bug.php?id=20093
4445
+ [ pear-20097 ] : https://pear.php.net/bugs/bug.php?id=20097
4446
+ [ pear-20100 ] : https://pear.php.net/bugs/bug.php?id=20100
4447
+ [ pear-20119 ] : https://pear.php.net/bugs/bug.php?id=20119
4448
+ [ pear-20123 ] : https://pear.php.net/bugs/bug.php?id=20123
4449
+ [ pear-20131 ] : https://pear.php.net/bugs/bug.php?id=20131
4450
+ [ pear-20133 ] : https://pear.php.net/bugs/bug.php?id=20133
4419
4451
4420
4452
## [ 1.4.8] - 2013-11-26
4421
4453
### Changed
0 commit comments