Skip to content

Commit

Permalink
Preparing for 1.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Sep 26, 2012
1 parent af20511 commit b899439
Showing 1 changed file with 43 additions and 4 deletions.
47 changes: 43 additions & 4 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ http://pear.php.net/dtd/package-2.0.xsd">
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2012-08-08</date>
<time>10:29:00</time>
<date>2012-09-26</date>
<time>14:13:00</time>
<version>
<release>1.3.7</release>
<api>1.3.7</api>
<release>1.4.0</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
Expand Down Expand Up @@ -2017,6 +2017,45 @@ http://pear.php.net/dtd/package-2.0.xsd">
</filelist>
</phprelease>
<changelog>
<release>
<version>
<release>1.4.0</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-09-26</date>
<license uri="http://matrix.squiz.net/developer/tools/php_cs/licence">BSD License</license>
<notes>
- Added PSR1 and PSR2 coding standards that can be used to check your code against these guidelines
- PHP 5.4 short array syntax is now detected and tokens are assigned to the open and close characters
-- New tokens are T_OPEN_SHORT_ARRAY and T_CLOSE_SHORT_ARRAY as PHP does not define its own
- Added the ability to explain a coding standard by listing the sniffs that it includes
-- The sniff list includes all imported and native sniffs
-- Explain a standard by using the -e and --standard=[standard] command line arguments
-- E.g., phpcs -e --standard=Squiz
-- Thanks to Ben Selby for the idea
- Added report to show results using notify-send
-- Use --report=notifysend to generate the report
-- Thanks to Christian Weiske for the contribution
- The JS tokenizer now recognises RETURN as a valid closer for CASE and DEFAULT inside switch statements
- AbstractPatternSniff now sets the ignoreComments option using a public var rather than through the constructor
-- This allows the setting to be overwritten in ruleset.xml files
-- Old method remains for backwards compatibility
- Generic LowerCaseConstantSniff and UpperCaseConstantSniff no longer report errors on classes named True, False or Null
- PEAR ValidFunctionNameSniff no longer enforces exact case matching for PHP magic methods
- Squiz SwitchDeclarationSniff now allows RETURN statements to close a CASE or DEFAULT statement
- Squiz BlockCommentSniff now correctly reports an error for blank lines before blocks at the start of a control structure
- Fixed a PHP notice generated when loading custom array settings from a rulset.xml file
- Fixed bug #17908 : CodeSniffer does not recognise optional @params
-- Thanks to Pete Walker for the patch
- Fixed bug #19538 : Function indentation code sniffer checks inside short arrays
- Fixed bug #19565 : Non-Executable Code Sniff Broken for Case Statements with both return and break
- Fixed bug #19612 : Invalid @package suggestion
</notes>
</release>
<release>
<version>
<release>1.3.6</release>
Expand Down

0 comments on commit b899439

Please sign in to comment.