Skip to content

Commit

Permalink
Changelog + anon test case for #2018
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed May 18, 2018
1 parent 0c69bfe commit bbdaac8
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
2 changes: 2 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
-- The error message format for the SpacingAfterOpen and SpacingBeforeClose messages has been changed
--- These used to contain 3 pieces of data, but now only contain 2
-- If you have customised the error messages of this sniff, please review your ruleset after upgrading
- Fixed bug #2018 : Generic.Formatting.MultipleStatementAlignment does see PHP close tag as end of statement block
-- Thanks to Juliette Reinders Folmer for the patch
</notes>
<contents>
<dir name="/">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,16 +374,16 @@ $abc = 'something';
if ($foo) {}
$defghi = 'longer something';

public function get_location_details( $location_id, $atts ) {
$coords_lat = 'abc';
$coords_long = 'def';
?>

<div>
<?php
$location = 'ghi';
$other_location = 'jkl';
?>
</div>
<?php
}
function foo() {
$foo = 'foo';
$bar = 'bar';
?>

<div>
<?php
$foo = 'foo';
$bar = 'bar';
?>
</div>
<?php
}
Original file line number Diff line number Diff line change
Expand Up @@ -374,16 +374,16 @@ $abc = 'something';
if ($foo) {}
$defghi = 'longer something';

public function get_location_details( $location_id, $atts ) {
$coords_lat = 'abc';
$coords_long = 'def';
?>

<div>
<?php
$location = 'ghi';
$other_location = 'jkl';
?>
</div>
<?php
}
function foo() {
$foo = 'foo';
$bar = 'bar';
?>

<div>
<?php
$foo = 'foo';
$bar = 'bar';
?>
</div>
<?php
}

0 comments on commit bbdaac8

Please sign in to comment.