Skip to content

Commit

Permalink
Fixed bug #1793 : PSR2 forcing exact indent for function call opening…
Browse files Browse the repository at this point in the history
… statements
  • Loading branch information
gsherwood committed Dec 20, 2017
1 parent d7c00c3 commit e13d82b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 3 additions & 4 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,16 @@ http://pear.php.net/dtd/package-2.0.xsd">
<date>2017-12-20</date>
<time>08:43:00</time>
<version>
<release>3.2.2</release>
<api>3.2.2</api>
<release>3.2.3</release>
<api>3.2.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
<notes>
- Disabled STDIN detection on Windows
-- This fixes a problem with IDE plugins (e.g., PHPStorm) hanging on Windows
- Fixed bug #1793 : PSR2 forcing exact indent for function call opening statements
</notes>
<contents>
<dir name="/">
Expand Down
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Config
*
* @var string
*/
const VERSION = '3.2.2';
const VERSION = '3.2.3';

/**
* Package stability; either stable, beta or alpha.
Expand Down
3 changes: 3 additions & 0 deletions src/Standards/PSR2/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@
<rule ref="PSR2.Methods.FunctionCallSignature.SpaceAfterCloseBracket">
<severity>0</severity>
</rule>
<rule ref="PSR2.Methods.FunctionCallSignature.OpeningIndent">
<severity>0</severity>
</rule>

<!-- 5. Control Structures -->

Expand Down

0 comments on commit e13d82b

Please sign in to comment.