Skip to content

Commit

Permalink
Changelog for #2680 (ref #2620)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Jan 6, 2020
1 parent 37b0cb1 commit d90bdad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ http://pear.php.net/dtd/package-2.0.xsd">
-- By default, it continues to return the first matched token found from the top of the file
- Added Generic.PHP.DisallowRequestSuperglobal to ban the use of the $_REQUEST superglobal
-- Thanks to Morerice for the contribution
- PSR12.ControlStructures.BooleanOperatorPlacement can now be configured to enforce a specific operator position
-- By default, the sniff ensures that operators are all at the begining or end of lines, but not a mix of both
-- Set the allowOnly property to "first" to enforce all boolean operators to be at the start of a line
-- Set the allowOnly property to "last" to enforce all boolean operators to be at the end of a line
-- Thanks to Vincent Langlet for the patch
- Squiz.PHP.InnerFunctions now handles multiple nested anon classes correctly
- Fixed bug #2688 : Case statements not tokenized correctly when switch is contained within ternary
- Fixed bug #2698 : PHPCS throws errors determining auto report width when shell_exec is disabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ class BooleanOperatorPlacementSniff implements Sniff
{

/**
* Used to restrict the placement of the boolean operator
* Allowed value are 'first' or 'last'
* Used to restrict the placement of the boolean operator.
*
* Allowed value are "first" or "last".
*
* @var string|null
*/
Expand Down

0 comments on commit d90bdad

Please sign in to comment.