@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
14141515 <active>yes</active>
1616 </lead>
17- <date>2019-09-27 </date>
18- <time>08:24 :00</time>
17+ <date>2019-10-17 </date>
18+ <time>08:07 :00</time>
1919 <version>
2020 <release>3.5.1</release>
2121 <api>3.5.1</api>
@@ -1980,6 +1980,46 @@ http://pear.php.net/dtd/package-2.0.xsd">
19801980 </filelist>
19811981 </phprelease>
19821982 <changelog>
1983+ <release>
1984+ <version>
1985+ <release>3.5.1</release>
1986+ <api>3.5.1</api>
1987+ </version>
1988+ <stability>
1989+ <release>stable</release>
1990+ <api>stable</api>
1991+ </stability>
1992+ <date>2019-10-17</date>
1993+ <license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license>
1994+ <notes>
1995+ - Very very verbose diff report output has slightly changed to improve readability
1996+ -- Output is printed when running PHPCS with the --report=diff and -vvv command line arguments
1997+ -- Fully qualified class names have been replaced with sniff codes
1998+ -- Tokens being changed now display the line number they are on
1999+ - PSR2, PSR12, and PEAR standards now correctly check for blank lines at the start of function calls
2000+ -- This check has been missing from these standards, but has now been implemented
2001+ -- When using the PEAR standard, the error code is PEAR.Functions.FunctionCallSignature.FirstArgumentPosition
2002+ -- When using PSR2 or PSR12, the error code is PSR2.Methods.FunctionCallSignature.FirstArgumentPosition
2003+ - PSR12.ControlStructures.BooleanOperatorPlacement no longer complains when multiple expression appears on the same line
2004+ -- Previously, boolean operators were enforce to appear at the start or end of lines only
2005+ -- Boolean operators can now appear in the middle of the line
2006+ - PSR12.Files.FileHeader no longer ignores comments preceding a use, namespace, or declare statement
2007+ - PSR12.Files.FileHeader now allows a hashbang line at the top of the file
2008+ - Fixed bug #2506 : PSR2 standard can't auto fix multi-line function call inside a string concat statement
2009+ - Fixed bug #2530 : PEAR.Commenting.FunctionComment does not support intersection types in comments
2010+ - Fixed bug #2615 : Constant visibility false positive on non-class constants
2011+ - Fixed bug #2616 : PSR12.Files.FileHeader false positive when file only contains docblock
2012+ - Fixed bug #2619 : PSR12.Files.FileHeader locks up when inline comment is the last content in a file
2013+ - Fixed bug #2621 : PSR12.Classes.AnonClassDeclaration.CloseBraceSameLine false positive for anon class passed as function argument
2014+ -- Thanks to Martins Sipenko for the patch
2015+ - Fixed bug #2623 : PSR12.ControlStructures.ControlStructureSpacing not ignoring indentation inside multi-line string arguments
2016+ - Fixed bug #2624 : PSR12.Traits.UseDeclaration doesnt apply the correct indent during auto fixing
2017+ - Fixed bug #2626 : PSR12.Files.FileHeader detects @var annotations as file docblocks
2018+ - Fixed bug #2628 : PSR12.Traits.UseDeclaration does not allow comments above a USE declaration
2019+ - Fixed bug #2632 : Incorrect indentation of lines starting with "static" inside closures
2020+ - Fixed bug #2641 : PSR12.Functions.NullableTypeDeclaration false positive when using new static()
2021+ </notes>
2022+ </release>
19832023 <release>
19842024 <version>
19852025 <release>3.5.0</release>
0 commit comments