@@ -4198,7 +4198,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4198
4198
- Adds new error message to ban empty lines in multi-line function calls
4199
4199
- Fixed bug #18975 : "Closing parenthesis must be on a line by itself" also causes indentation error
4200
4200
4201
- ## [ 1.3.1] - 2011-11-03
4201
+ ## 1.3.1 - 2011-11-03
4202
4202
### Changed
4203
4203
- All report file command line arguments now work with relative paths (request #17240 )
4204
4204
- The extensions command line argument now supports multi-part file extensions (request #17227 )
@@ -4265,7 +4265,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4265
4265
- Thanks to Bjorn Katuin for the patch
4266
4266
- Fixed bug #18951 : weird behaviour with closures and multi-line use () params
4267
4267
4268
- ## [ 1.3.0] - 2011-03-17
4268
+ ## 1.3.0 - 2011-03-17
4269
4269
### Changed
4270
4270
- Add a new token T_CLOSURE that replaces T_FUNCTION if the function keyword is anonymous
4271
4271
- Many Squiz sniffs no longer report errors when checking closures; they are now ignored
@@ -4285,7 +4285,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4285
4285
- Thanks to Dave Perrett for the patch
4286
4286
- Fixed bug #18336 : Function isUnderscoreName gives php notices
4287
4287
4288
- ## [ 1.3.0RC2] - 2011-01-14
4288
+ ## 1.3.0RC2 - 2011-01-14
4289
4289
### Changed
4290
4290
- You can now print multiple reports for each run and print each to the screen or a file (request #12434 )
4291
4291
- Format is --report-[ report] [ =file ] (e.g., --report-xml=out.xml)
@@ -4353,7 +4353,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4353
4353
- Fixed bug #18191 : Squiz.PHP.LowercasePHPFunctions does not work with new Date()
4354
4354
- Fixed bug #18193 : CodeSniffer doesn't reconize CR (\r) line endings
4355
4355
4356
- ## [ 1.3.0RC1] - 2010-09-03
4356
+ ## 1.3.0RC1 - 2010-09-03
4357
4357
### Changed
4358
4358
- Added exclude pattern support to ruleset.xml file so you can specify ignore patterns in a standard (request #17683 )
4359
4359
- Use new exclude-pattern tags to include the ignore rules into your ruleset.xml file
@@ -4385,7 +4385,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4385
4385
- Fixed bug #17742 : EmbeddedPhpSniff reacts negatively to file without closing php tag
4386
4386
- Fixed bug #17823 : Notice: Please no longer include PHPUnit/Framework.php
4387
4387
4388
- ## [ 1.3.0a1] - 2010-07-15
4388
+ ## 1.3.0a1 - 2010-07-15
4389
4389
### Changed
4390
4390
- All CodingStandard.php files have been replaced by ruleset.xml files
4391
4391
- Custom standards will need to be converted over to this new format to continue working
@@ -4430,7 +4430,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4430
4430
- Fixed bug #17420 : Uncaught exception when comment before function brace
4431
4431
- Fixed bug #17503 : closures formatting is not supported
4432
4432
4433
- ## [ 1.2.2] - 2010-01-27
4433
+ ## 1.2.2 - 2010-01-27
4434
4434
### Changed
4435
4435
- The core PHP_CodeSniffer_File methods now understand the concept of closures (feature request #16866 )
4436
4436
- Thanks to Christian Kaps for the sample code
@@ -4498,7 +4498,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4498
4498
- Fixed bug #16976 : The phpcs attempts to process symbolic links that don't resolve to files
4499
4499
- Fixed bug #17017 : Including one file in the files sniffed alters errors reported for another file
4500
4500
4501
- ## [ 1.2.1] - 2009-11-17
4501
+ ## 1.2.1 - 2009-11-17
4502
4502
### Changed
4503
4503
- Added a new report type --report=svnblame to show how many errors and warnings were committed by each author
4504
4504
- Also shows the percentage of their code that are errors and warnings
@@ -4553,7 +4553,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4553
4553
- Thanks to Alexey Shein for the patch
4554
4554
- Fixed bug #16792 : Bug in Generic_Sniffs_PHP_ForbiddenFunctionsSniff
4555
4555
4556
- ## [ 1.2.0] - 2009-08-17
4556
+ ## 1.2.0 - 2009-08-17
4557
4557
### Changed
4558
4558
- Installed standards are now favoured over custom standards when using the cmd line arg with relative paths
4559
4559
- Unit tests now use a lot less memory while running
@@ -4567,7 +4567,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4567
4567
- Fixed bug #16453 : function declaration long line splitted error
4568
4568
- Fixed bug #16482 : phpcs-svn-pre-commit ignores extensions parameter
4569
4569
4570
- ## [ 1.2.0RC3] - 2009-07-07
4570
+ ## 1.2.0RC3 - 2009-07-07
4571
4571
### Changed
4572
4572
- You can now use @codingStandardsIgnoreStart and @...End comments to suppress messages (feature request #14002 )
4573
4573
- A warning is now included for files without any code when short_open_tag is set to Off (feature request #12952 )
@@ -4576,7 +4576,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4576
4576
- MySource IncludeSystemSniff now recognises widget action classes
4577
4577
- MySource IncludeSystemSniff now knows about unit test classes and changes rules accordingly
4578
4578
4579
- ## [ 1.2.0RC2] - 2009-05-25
4579
+ ## 1.2.0RC2 - 2009-05-25
4580
4580
### Changed
4581
4581
- Test suite can now be run using the full path to AllTests.php (feature request #16179 )
4582
4582
@@ -4589,7 +4589,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4589
4589
- Fixed bug #16170 : Undefined Offset -1 in MultiLineConditionSniff.php on line 68
4590
4590
- Fixed bug #16175 : Bug in Squiz-IncrementDecrementUsageSniff
4591
4591
4592
- ## [ 1.2.0RC1] - 2009-03-09
4592
+ ## 1.2.0RC1 - 2009-03-09
4593
4593
### Changed
4594
4594
- Reports that are output to a file now include a trailing newline at the end of the file
4595
4595
- Fixed sniff names not shown in -vvv token processing output
@@ -4614,7 +4614,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4614
4614
- Fixed bug #15722 : "declare(encoding = 'utf-8');" leads to "Missing file doc comment"
4615
4615
- Fixed bug #15910 : Object operator indention not calculated correctly
4616
4616
4617
- ## [ 1.2.0a1] - 2008-12-18
4617
+ ## 1.2.0a1 - 2008-12-18
4618
4618
### Changed
4619
4619
- PHP_CodeSniffer now has a CSS tokenizer for checking CSS files
4620
4620
- Added support for a new multi-file sniff that sniffs all processed files at once
@@ -4724,7 +4724,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4724
4724
- Fixed bug #15231 : Notice: Uninitialized string offset: 0 in FileCommentSniff.php on line 555
4725
4725
- Fixed bug #15336 : Notice: Undefined offset: 2 in /usr/share/php/PHP/CodeSniffer/File.php on line
4726
4726
4727
- ## [ 1.1.0] - 2008-07-14
4727
+ ## 1.1.0 - 2008-07-14
4728
4728
### Changed
4729
4729
- PEAR FileCommentSniff now allows tag orders to be overridden in child classes
4730
4730
- Thanks to Jeff Hodsdon for the patch
@@ -4740,7 +4740,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4740
4740
- Fixed bug #14250 : ArrayDeclarationSniff emit warnings at malformed array
4741
4741
- Fixed bug #14251 : --extensions option doesn't work
4742
4742
4743
- ## [ 1.1.0RC3] - 2008-07-03
4743
+ ## 1.1.0RC3 - 2008-07-03
4744
4744
### Changed
4745
4745
- PEAR FileCommentSniff now allows tag orders to be overridden in child classes
4746
4746
- Thanks to Jeff Hodsdon for the patch
@@ -4756,7 +4756,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4756
4756
- Fixed bug #14250 : ArrayDeclarationSniff emit warnings at malformed array
4757
4757
- Fixed bug #14251 : --extensions option doesn't work
4758
4758
4759
- ## [ 1.1.0RC2] - 2008-06-13
4759
+ ## 1.1.0RC2 - 2008-06-13
4760
4760
### Changed
4761
4761
- Permission denied errors now stop script execution but still display current errors (feature request #14076 )
4762
4762
- Added Squiz ValidArrayIndexNameSniff to ensure array indexes do not use camel case
@@ -4770,7 +4770,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4770
4770
- Squiz ValidClassNameSniff now throws warning for possible parse errors
4771
4771
- Squiz ClosingDeclarationCommentSniff now throws additional warnings for parse errors
4772
4772
4773
- ## [ 1.1.0RC1] - 2008-05-13
4773
+ ## 1.1.0RC1 - 2008-05-13
4774
4774
### Changed
4775
4775
- Added support for multiple tokenizers so PHP_CodeSniffer can check more than just PHP files
4776
4776
- PHP_CodeSniffer now has a JS tokenizer for checking JavaScript files
@@ -4834,7 +4834,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4834
4834
- Fixed bug #13446 : crash with src of phpMyAdmin
4835
4835
- Thanks to Manuel Pichler for the path
4836
4836
4837
- ## [ 1.0.1a1] - 2008-04-21
4837
+ ## 1.0.1a1 - 2008-04-21
4838
4838
### Changed
4839
4839
- Fixed error in PEAR ValidClassNameSniff when checking class names with double underscores
4840
4840
- Moved Squiz InlineControlStructureSniff into Generic standard
@@ -4851,7 +4851,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4851
4851
- Fixed bug #13846 : Bug in Squiz.NonExecutableCodeSniff
4852
4852
- Fixed bug #13849 : infinite loop in PHP_CodeSniffer_File::findNext()
4853
4853
4854
- ## [ 1.0.1] - 2008-02-04
4854
+ ## 1.0.1 - 2008-02-04
4855
4855
### Changed
4856
4856
- Squiz ArrayDeclarationSniff now throws error if the array keyword is followed by a space
4857
4857
- Squiz ArrayDeclarationSniff now throws error for empty multi-line arrays
@@ -4880,7 +4880,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4880
4880
- Fixed bug #12957 : PHP 5.3 magic method __ callStatic
4881
4881
- Thanks to Manuel Pichler for the patch
4882
4882
4883
- ## [ 1.0.0] - 2007-12-21
4883
+ ## 1.0.0 - 2007-12-21
4884
4884
### Changed
4885
4885
- You can now specify the full path to a coding standard on the command line (feature request #11886 )
4886
4886
- This allows you to use standards that are stored outside of PHP_CodeSniffer's own Standard dir
@@ -4910,7 +4910,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4910
4910
- Thanks to Renoiv for the patch
4911
4911
- Fixed bug #12651 : Increment/Decrement Operators Usage at -1
4912
4912
4913
- ## [ 1.0.0RC3] - 2007-11-30
4913
+ ## 1.0.0RC3 - 2007-11-30
4914
4914
### Changed
4915
4915
- Added new command line argument --tab-width that will convert tabs to spaces before testing
4916
4916
- This allows you to use the existing sniffs that check for spaces even when you use tabs
@@ -4938,7 +4938,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4938
4938
- Thanks to Sebastian Bergmann for the patch.
4939
4939
- Fixed bug #12517 : getNewlineAfter() and dos files
4940
4940
4941
- ## [ 1.0.0RC2] - 2007-11-14
4941
+ ## 1.0.0RC2 - 2007-11-14
4942
4942
### Changed
4943
4943
- Added a new Checkstyle report format
4944
4944
- Like the current XML format but modified to look like Checkstyle output
@@ -4969,7 +4969,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
4969
4969
- Thanks to Richard Quadling for the patch
4970
4970
- Fixed bug #12378 : equal sign alignments problem with while()
4971
4971
4972
- ## [ 1.0.0RC1] - 2007-11-01
4972
+ ## 1.0.0RC1 - 2007-11-01
4973
4973
### Changed
4974
4974
- Main phpcs script can now be run from a CVS checkout without installing the package
4975
4975
- Added a new CSV report format
@@ -5018,7 +5018,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5018
5018
- Fixed bug #12316 : PEAR is no longer the default standard
5019
5019
- Fixed bug #12321 : wrong detection of missing function docblock
5020
5020
5021
- ## [ 0.9.0] - 2007-09-24
5021
+ ## 0.9.0 - 2007-09-24
5022
5022
### Changed
5023
5023
- Added a config system for setting config data across phpcs runs
5024
5024
- You can now change the default coding standard from PEAR to something else
@@ -5029,7 +5029,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5029
5029
- Thanks to Johann-Peter Hartmann for the contribution of some sniffs
5030
5030
- Thanks to Holger Kral for the Code Analyzer sniff
5031
5031
5032
- ## [ 0.8.0] - 2007-08-08
5032
+ ## 0.8.0 - 2007-08-08
5033
5033
### Changed
5034
5034
- Added new XML report format; --report=xml (feature request #11535 )
5035
5035
- Thanks to Brett Bieber for the patch
@@ -5054,7 +5054,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5054
5054
### Fixed
5055
5055
- Fixed bug #11473 : Invalid CamelCaps name when numbers used in names
5056
5056
5057
- ## [ 0.7.0] - 2007-07-02
5057
+ ## 0.7.0 - 2007-07-02
5058
5058
### Changed
5059
5059
- BC BREAK: EOL character is now auto-detected and used instead of hard-coded \n
5060
5060
- Pattern sniffs must now specify "EOL" instead of "\n" or "\r\n" to use auto-detection
@@ -5101,7 +5101,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5101
5101
- Thanks to Blair Robertson for the patch
5102
5102
- Fixed bug #11120 : Uninitialized string offset in AbstractParser.php on line 200
5103
5103
5104
- ## [ 0.6.0] - 2007-05-15
5104
+ ## 0.6.0 - 2007-05-15
5105
5105
### Changed
5106
5106
- The number of errors and warnings found is now shown for each file while checking the file if verbosity is enabled
5107
5107
- Now using PHP_EOL instead of hard-coded \n so output looks good on Windows (feature request #10761 )
@@ -5118,7 +5118,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5118
5118
- Fixed bug #10983 : phpcs outputs notices when checking invalid PHP
5119
5119
- Fixed bug #10980 : Incorrect warnings for equals sign
5120
5120
5121
- ## [ 0.5.0] - 2007-04-17
5121
+ ## 0.5.0 - 2007-04-17
5122
5122
### Changed
5123
5123
- BC BREAK: Coding standards now require a class to be added so PHP_CodeSniffer can get information from them
5124
5124
- Please read the end user docs for info about the new class required for all coding standards
@@ -5149,7 +5149,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5149
5149
- Errors now thrown for using ob_get_clean/flush functions to end buffers in Squiz OutputBufferingIndentSniff
5150
5150
- Errors now thrown for all missing member variable comments in Squiz VariableCommentSniff
5151
5151
5152
- ## [ 0.4.0] - 2007-02-19
5152
+ ## 0.4.0 - 2007-02-19
5153
5153
### Changed
5154
5154
- Standard name specified with --standard command line argument is no longer case sensitive
5155
5155
- Long error and warning messages are now wrapped to 80 characters in the full error report (thanks Endre Czirbesz)
@@ -5166,7 +5166,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5166
5166
- Fixed incorrect errors for arrays that only contain other arrays in Squiz ArrayDeclarationSniff
5167
5167
- Fixed bug #9844 : throw new Exception(\n accidentally reported as error but it ain't
5168
5168
5169
- ## [ 0.3.0] - 2007-01-11
5169
+ ## 0.3.0 - 2007-01-11
5170
5170
### Changed
5171
5171
- Updated package.xml to version 2
5172
5172
- Specifying coding standard on command line is now optional, even if you have multiple standards installed
@@ -5191,11 +5191,11 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5191
5191
- Fixed bug #9274 : nested_parenthesis element not set for open and close parenthesis tokens
5192
5192
- Fixed bug #9411 : too few pattern characters cause incorrect error report
5193
5193
5194
- ## [ 0.2.1] - 2006-11-09
5194
+ ## 0.2.1 - 2006-11-09
5195
5195
### Fixed
5196
5196
- Fixed bug #9274 : nested_parenthesis element not set for open and close parenthesis tokens
5197
5197
5198
- ## [ 0.2.0] - 2006-10-13
5198
+ ## 0.2.0 - 2006-10-13
5199
5199
### Changed
5200
5200
- Added a generic standards package that will contain generic sniffs to be used in specific coding standards
5201
5201
- thanks to Frederic Poeydomenge for the idea
@@ -5220,25 +5220,25 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5220
5220
- Fixed bug #8841 : comments taken as whitespace
5221
5221
- Fixed bug #8884 : another problem with nested switch() statements
5222
5222
5223
- ## [ 0.1.1] - 2006-09-25
5223
+ ## 0.1.1 - 2006-09-25
5224
5224
### Changed
5225
5225
- Added unit tests for all PEAR sniffs
5226
5226
- Exception class now extends from PEAR_Exception
5227
5227
5228
5228
### Fixed
5229
5229
- Fixed summary report so files without errors but with warnings are not shown when warnings are hidden
5230
5230
5231
- ## [ 0.1.0] - 2006-09-19
5231
+ ## 0.1.0 - 2006-09-19
5232
5232
### Changed
5233
5233
- Reorganised package contents to conform to PEAR standards
5234
5234
- Changed version numbering to conform to PEAR standards
5235
5235
- Removed duplicate require_once() of Exception.php from CodeSniffer.php
5236
5236
5237
- ## [ 0.0.5] - 2006-09-18
5237
+ ## 0.0.5 - 2006-09-18
5238
5238
### Fixed
5239
5239
- Fixed .bat file for situation where php.ini cannot be found so include_path is not set
5240
5240
5241
- ## [ 0.0.4] - 2006-08-28
5241
+ ## 0.0.4 - 2006-08-28
5242
5242
### Changed
5243
5243
- Added .bat file for easier running of PHP_CodeSniffer on Windows
5244
5244
- Sniff that checks method names now works for PHP4 style code where there is no scope keyword
@@ -5256,7 +5256,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5256
5256
- Sniff that checks spacing after commas in function calls no longer reports too many errors for some code
5257
5257
- Sniff that checks control structure declarations now gives more descriptive error message
5258
5258
5259
- ## [ 0.0.3] - 2006-08-22
5259
+ ## 0.0.3 - 2006-08-22
5260
5260
### Changed
5261
5261
- Added sniff to check for invalid class and interface names
5262
5262
- Added sniff to check for invalid function and method names
@@ -5267,7 +5267,7 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5267
5267
### Fixed
5268
5268
- Fixed error where comments were not allowed on the same line as a control structure declaration
5269
5269
5270
- ## [ 0.0.2] - 2006-07-25
5270
+ ## 0.0.2 - 2006-07-25
5271
5271
### Changed
5272
5272
- Removed the including of checked files to stop errors caused by parsing them
5273
5273
- Removed the use of reflection so checked files do not have to be included
@@ -5284,6 +5284,6 @@ Props also to Dan Wallis (@fredden) and Danny van der Sluijs (@DannyvdSluijs) fo
5284
5284
- Reordered command line args to put switches first (although order is not enforced)
5285
5285
- Switches can now be specified together (eg. php -nv) as well as separately (phpcs -n -v)
5286
5286
5287
- ## [ 0.0.1] - 2006-07-19
5287
+ ## 0.0.1 - 2006-07-19
5288
5288
### Added
5289
5289
- Initial preview release
0 commit comments