Skip to content

Commit 6f7c2bb

Browse files
committed
Changelog + moved test files for #2595
1 parent 0b5f64c commit 6f7c2bb

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

package.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
5454
- The T_LIST token and it's opening and closing parentheses now contain references to each other in the tokens array
5555
-- Uses the same parenthesis_opener/closer/owner indexes as other tokens
5656
-- Thanks to Juliette Reinders Folmer for the patch
57+
- The T_ANON_CLASS token and it's opening and closing parentheses now contain references to each other in the tokens array
58+
-- Uses the same parenthesis_opener/closer/owner indexes as other tokens
59+
-- Only applicable if the anon class is passing arguments to the constructor
60+
-- Thanks to Juliette Reinders Folmer for the patch
5761
- The PHP 7.4 T_BAD_CHARACTER token has been made available for older versions
5862
-- Allows you to safely look for this token, but it will not appear unless checking with PHP 7.4+
5963
- Metrics are now available for Squiz.WhiteSpace.FunctionSpacing

tests/Core/Tokenizer/PHP/T_AnonClassParenthesisOwnerTest.php renamed to tests/Core/Tokenizer/AnonClassParenthesisOwnerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
88
*/
99

10-
namespace PHP_CodeSniffer\Tests\Core\Tokenizer\PHP;
10+
namespace PHP_CodeSniffer\Tests\Core\Tokenizer;
1111

1212
use PHP_CodeSniffer\Tests\Core\AbstractMethodUnitTest;
1313

14-
class T_AnonClassParenthesisOwnerTest extends AbstractMethodUnitTest
14+
class AnonClassParenthesisOwnerTest extends AbstractMethodUnitTest
1515
{
1616

1717

0 commit comments

Comments
 (0)