@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
14141515 <active >yes</active >
1616 </lead >
17- <date >2018-06-07 </date >
18- <time >09:52 :00</time >
17+ <date >2018-07-27 </date >
18+ <time >09:45 :00</time >
1919 <version >
2020 <release >3.3.1</release >
2121 <api >3.3.1</api >
@@ -1752,6 +1752,77 @@ http://pear.php.net/dtd/package-2.0.xsd">
17521752 </filelist >
17531753 </phprelease >
17541754 <changelog >
1755+ <release >
1756+ <version >
1757+ <release >3.3.1</release >
1758+ <api >3.3.1</api >
1759+ </version >
1760+ <stability >
1761+ <release >stable</release >
1762+ <api >stable</api >
1763+ </stability >
1764+ <date >2018-07-27</date >
1765+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
1766+ <notes >
1767+ - Support for HHVM has been dropped due to recent unfixed bugs and HHVM refocus on Hack only
1768+ -- Thanks to Walt Sorensen and Juliette Reinders Folmer for helping to remove all HHVM exceptions from the core
1769+
1770+ - The full report (the default report) now has improved word wrapping for multi-line messages and sniff codes
1771+ -- Thanks to Juliette Reinders Folmer for the patch
1772+ - The summary report now sorts files based on their directory location instead of just a basic string sort
1773+ -- Thanks to Juliette Reinders Folmer for the patch
1774+ - The source report now orders error codes by name when they have the same number of errors
1775+ -- Thanks to Juliette Reinders Folmer for the patch
1776+ - The junit report no longer generates validation errors with the Jenkins xUnit plugin
1777+ -- Thanks to Nikolay Geo for the patch
1778+ - Generic.Commenting.DocComment no longer generates the SpacingBeforeTags error if tags are the first content in the docblock
1779+ -- The sniff will still generate a MissingShort error if there is no short comment
1780+ -- This allows the MissingShort error to be suppressed in a ruleset to make short descriptions optional
1781+ - Generic.Functions.FunctionCallArgumentSpacing now properly fixes multi-line function calls with leading commas
1782+ -- Previously, newlines between function arguments would be removed
1783+ -- Thanks to Juliette Reinders Folmer for the patch
1784+ - Generic.PHP.Syntax will now use PHP_BINARY instead of trying to discover the executable path
1785+ -- This ensures that the sniff will always syntax check files using the PHP version that PHPCS is running under
1786+ -- Setting the php_path config var will still override this value as normal
1787+ -- Thanks to Willem Stuursma-Ruwen for the patch
1788+ - PSR2.Namespaces.UseDeclaration now supports commas at the end of group use declarations
1789+ -- Also improves checking and fixing for use statements containing parse errors
1790+ -- Thanks to Juliette Reinders Folmer for the patch
1791+ - Squiz.Arrays.ArrayDeclaration no longer removes the array opening brace while fixing
1792+ -- This could occur when the opening brace was on a new line and the first array key directly followed
1793+ -- This change also stops the KeyNotAligned error message being incorrectly reported in these cases
1794+ - Squiz.Arrays.ArrayDeclaration no longer tries to change multi-line arrays to single line when they contain comments
1795+ -- Fixes a conflict between this sniff and some indentation sniffs
1796+ - Squiz.Classes.ClassDeclaration no longer enforces spacing rules when a class is followed by a function
1797+ -- Fixes a conflict between this sniff and the Squiz.WhiteSpace.FunctionSpacing sniff
1798+ - The Squiz.Classes.ValidClassName.NotCamelCaps message now references PascalCase instead of CamelCase
1799+ -- The "CamelCase class name" metric produced by the sniff has been changed to "PascalCase class name"
1800+ -- This reflects the fact that the class name check is actually a Pascal Case check and not really Camel Case
1801+ -- Thanks to Tom H Anderson for the patch
1802+ - Squiz.Commenting.InlineComment no longer enforces spacing rules when an inline comment is followed by a docblock
1803+ -- Fixes a conflict between this sniff and the Squiz.WhiteSpace.FunctionSpacing sniff
1804+ - Squiz.WhiteSpace.OperatorSpacing no longer tries to fix operator spacing if the next content is a comment on a new line
1805+ -- Fixes a conflict between this sniff and the Squiz.Commenting.PostStatementComment sniff
1806+ -- Also stops PHPCS annotations from being moved to a different line, potentially changing their meaning
1807+ -- Thanks to Juliette Reinders Folmer for the patch
1808+ - Squiz.WhiteSpace.FunctionSpacing no longer checks spacing of functions at the top of an embedded PHP block
1809+ -- Fixes a conflict between this sniff and the Squiz.PHP.EmbeddedPHP sniff
1810+ -- Thanks to Juliette Reinders Folmer for the patch
1811+ - Squiz.WhiteSpace.MemberVarSpacing no longer checks spacing before member vars that come directly after methods
1812+ -- Fixes a conflict between this sniff and the Squiz.WhiteSpace.FunctionSpacing sniff
1813+ - Squiz.WhiteSpace.SuperfluousWhitespace now recognizes unicode whitespace at the start and end of a file
1814+ -- Thanks to Juliette Reinders Folmer for the patch
1815+ - Fixed bug #2029 : Squiz.Scope.MemberVarScope throws fatal error when a property is found in an interface
1816+ -- Thanks to Juliette Reinders Folmer for the patch
1817+ - Fixed bug #2047 : PSR12.Classes.ClassInstantiation false positive when instantiating class from array index
1818+ - Fixed bug #2048 : GenericFormatting.MultipleStatementAlignment false positive when assigning values inside an array
1819+ - Fixed bug #2053 : PSR12.Classes.ClassInstantiation incorrectly fix when using member vars and some variable formats
1820+ - Fixed bug #2065 : Generic.ControlStructures.InlineControlStructure fixing fails when inline control structure contains closure
1821+ - Fixed bug #2072 : Squiz.Arrays.ArrayDeclaration throws NoComma error when array value is a shorthand IF statement
1822+ - Fixed bug #2082 : File with "defined() or define()" syntax triggers PSR1.Files.SideEffects.FoundWithSymbols
1823+ - Fixed bug #2095 : PSR2.Namespaces.NamespaceDeclaration does not handle namespaces defined over multiple lines
1824+ </notes >
1825+ </release >
17551826 <release >
17561827 <version >
17571828 <release >3.3.0</release >
0 commit comments