Skip to content

Commit

Permalink
Changelog + moved test files for #2595
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Sep 5, 2019
1 parent 0b5f64c commit 6f7c2bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
- The T_LIST token and it's opening and closing parentheses now contain references to each other in the tokens array
-- Uses the same parenthesis_opener/closer/owner indexes as other tokens
-- Thanks to Juliette Reinders Folmer for the patch
- The T_ANON_CLASS token and it's opening and closing parentheses now contain references to each other in the tokens array
-- Uses the same parenthesis_opener/closer/owner indexes as other tokens
-- Only applicable if the anon class is passing arguments to the constructor
-- Thanks to Juliette Reinders Folmer for the patch
- The PHP 7.4 T_BAD_CHARACTER token has been made available for older versions
-- Allows you to safely look for this token, but it will not appear unless checking with PHP 7.4+
- Metrics are now available for Squiz.WhiteSpace.FunctionSpacing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/

namespace PHP_CodeSniffer\Tests\Core\Tokenizer\PHP;
namespace PHP_CodeSniffer\Tests\Core\Tokenizer;

use PHP_CodeSniffer\Tests\Core\AbstractMethodUnitTest;

class T_AnonClassParenthesisOwnerTest extends AbstractMethodUnitTest
class AnonClassParenthesisOwnerTest extends AbstractMethodUnitTest
{


Expand Down

0 comments on commit 6f7c2bb

Please sign in to comment.