Skip to content

Commit

Permalink
Changelog + tests for #2621
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Oct 1, 2019
1 parent 413f71b commit 8febaac
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
<notes>
- Fixed bug #2615 : Constant visibility false positive on non-class constants
- Fixed bug #2619 : PSR12.Files.FileHeader locks up when inline comment is the last content in a file
- Fixed bug #2621 : PSR12.Classes.AnonClassDeclaration.CloseBraceSameLine false positive for anon class passed as function argument
-- Thanks to Martins Sipenko for the patch
</notes>
<contents>
<dir name="/">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,9 @@ $instance9 = new class (
};

$instance10 = new class {};

$foo->bar(
new class implements Bar {
// ...
},
);
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,9 @@ $instance9 = new class (
};

$instance10 = new class {};

$foo->bar(
new class implements Bar {
// ...
},
);

0 comments on commit 8febaac

Please sign in to comment.