@@ -2452,7 +2452,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
2452
2452
-- Also used by the autoloader to help other standards directly include sniffs for your standard
2453
2453
-- Set the value to the namespace prefix you are using for sniff files (everything up to \Sniffs\)
2454
2454
-- e.g., if your namespace format is MyProject\CS\Standard\Sniffs\Category set the namespace to MyProject\CS\Standard
2455
- -- If ommitted , the namespace is assumed to be the same as the directory name containing the ruleset.xml file
2455
+ -- If omitted , the namespace is assumed to be the same as the directory name containing the ruleset.xml file
2456
2456
-- The namespace is set in the ruleset tag of the ruleset.xml file
2457
2457
-- e.g., ruleset name="My Coding Standard" namespace="MyProject\CS\Standard"
2458
2458
- Rulesets can now specify custom autoloaders using the new autoload tag
@@ -2501,7 +2501,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
2501
2501
-- e.g., StandardName\Sniffs\CategoryName\AbstractHelper or StandardName\Helpers\StringSniffHelper
2502
2502
- Fixed an error where STDIN was sometimes not checked when using the --parallel CLI option
2503
2503
- The is_closure index has been removed from the return value of File::getMethodProperties()
2504
- -- This value was always false becasue T_FUNCTION tokens are never closures
2504
+ -- This value was always false because T_FUNCTION tokens are never closures
2505
2505
-- Closures have a token type of T_CLOSURE
2506
2506
- The File::isAnonymousFunction() method has been removed
2507
2507
-- This function always returned false because it only accepted T_FUNCTION tokens, which are never closures
@@ -2984,7 +2984,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
2984
2984
- Added Generic.PHP.DisallowAlternativePHPTags to ban the use of alternate PHP tags
2985
2985
-- Thanks to Juliette Reinders Folmer for the patch
2986
2986
- Squiz.WhiteSpace.LanguageConstructSpacing no longer checks for spaces if parenthesis are being used (request #1062)
2987
- -- Makes this sniff more compatibile with those that check parenthesis spacing of function calls
2987
+ -- Makes this sniff more compatible with those that check parenthesis spacing of function calls
2988
2988
- Squiz.WhiteSpace.ObjectOperatorSpacing now has a setting to ignore newline characters around object operators
2989
2989
-- Default remains FALSE, so newlines are not allowed
2990
2990
-- Override the "ignoreNewlines" setting in a ruleset.xml file to change
@@ -4884,7 +4884,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
4884
4884
- Messages can now be changed from errors to warnings (and vice versa) inside ruleset.xml files
4885
4885
-- As you would with "message" and "severity", specify a "type" tag under a "rule" tag and set the value to "error" or "warning"
4886
4886
- PHP_CodeSniffer will now generate a warning on files that it detects have mixed line endings
4887
- -- This warning has the code Internal.LineEndings.Mixed and can be overriden in a ruleset.xml file
4887
+ -- This warning has the code Internal.LineEndings.Mixed and can be overridden in a ruleset.xml file
4888
4888
-- Thanks to Vit Brunner for help with this
4889
4889
- Sniffs inside PHP 5.3 namespaces are now supported, along with the existing underscore-style emulated namespaces
4890
4890
-- For example: namespace MyStandard\Sniffs\Arrays; class ArrayDeclarationSniff implements \PHP_CodeSniffer_Sniff { ...
@@ -5016,7 +5016,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
5016
5016
- Squiz FunctionDeclarationArgumentSpacing now has a setting to specify how many spaces should surround equals signs
5017
5017
-- Default remains at 0
5018
5018
-- Override the equalsSpacing setting in a ruleset.xml file to change
5019
- - Squiz ClassDeclarationSniff now throws errors for > 1 space before extends/implements class name with ns seperator
5019
+ - Squiz ClassDeclarationSniff now throws errors for > 1 space before extends/implements class name with ns separator
5020
5020
- Squiz standard now warns about deprecated functions using Generic DeprecatedFunctionsSniff
5021
5021
- PEAR FunctionDeclarationSniff now reports an error for multiple spaces after the FUNCTION keyword and around USE
5022
5022
- PEAR FunctionDeclarationSniff now supports closures
@@ -5111,7 +5111,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
5111
5111
<notes >
5112
5112
- Added new Generic FixmeSniff that shows error messages for all FIXME comments left in your code
5113
5113
-- Thanks to Sam Graham for the contribution
5114
- - The maxPercentage setting in the Squiz CommentedOutCodeSniff can now be overriden in a rulset.xml file
5114
+ - The maxPercentage setting in the Squiz CommentedOutCodeSniff can now be overridden in a rulset.xml file
5115
5115
-- Thanks to Volker Dusch for the patch
5116
5116
- The Checkstyle and XML reports now use XMLWriter
5117
5117
-- Only change in output is that empty file tags are no longer produced for files with no violations
@@ -5875,7 +5875,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
5875
5875
- Fixed bug #13922 : crash in case of malformed (but tokenized) php file
5876
5876
-- PEAR and Squiz ClassDeclarationSniff now throw warnings for possible parse errors
5877
5877
-- Squiz ValidClassNameSniff now throws warning for possible parse errors
5878
- -- Squiz ClosingDeclarationCommentSniff now throws additonal warnings for parse errors
5878
+ -- Squiz ClosingDeclarationCommentSniff now throws additional warnings for parse errors
5879
5879
</notes >
5880
5880
</release >
5881
5881
<release >
@@ -5969,7 +5969,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
5969
5969
- Squiz OutputBufferingIndentSniff now ignores the indentation of inline HTML
5970
5970
- MySource IncludeSystemSniff now ignores usage of ZipArchive
5971
5971
- Removed "function" from error messages for Generic function brace sniffs (feature request #13820)
5972
- - Generic UpperCaseConstantSniff no longer throws errors for delcare (ticks = ...)
5972
+ - Generic UpperCaseConstantSniff no longer throws errors for declare (ticks = ...)
5973
5973
-- Thanks to Josh Snyder for the patch
5974
5974
- Squiz ClosingDeclarationCommentSniff and AbstractVariableSniff now throw warnings for possible parse errors
5975
5975
- Fixed bug #13827 : AbstractVariableSniff throws "undefined index"
@@ -6390,7 +6390,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
6390
6390
- Fixed missing error when multiple statements are not aligned correctly with object operators
6391
6391
- Fixed incorrect errors for some PHP special variables in Squiz ValidVariableNameSniff
6392
6392
- Fixed incorrect errors for arrays that only contain other arrays in Squiz ArrayDeclarationSniff
6393
- - Fixed bug #9844 : throw new Exception(\n accidently reported as error but it ain't
6393
+ - Fixed bug #9844 : throw new Exception(\n accidentally reported as error but it ain't
6394
6394
</notes >
6395
6395
</release >
6396
6396
<release >
0 commit comments