We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code:
<?php array_map( static fn (array $value): array => array_filter($value), [] );
The T_FN token is missing parenthesis_opener and parenthesis_closer.
T_FN
parenthesis_opener
parenthesis_closer
The text was updated successfully, but these errors were encountered:
This has already been fixed in master as issue #2773
The token used to look like this:
[7] => Array ( [content] => fn [code] => PHPCS_T_FN [type] => T_FN [line] => 3 [column] => 12 [length] => 2 [nested_parenthesis] => Array ( [2] => 30 ) [level] => 0 [conditions] => Array ( ) )
But now looks like this:
[7] => Array ( [code] => 343 [type] => T_FN [content] => fn [line] => 3 [column] => 12 [length] => 2 [nested_parenthesis] => Array ( [2] => 30 ) [level] => 0 [conditions] => Array ( ) [scope_condition] => 7 [scope_opener] => 18 [scope_closer] => 24 [parenthesis_owner] => 7 [parenthesis_opener] => 9 [parenthesis_closer] => 13 )
Sorry, something went wrong.
Undefined index: parenthesis_closer in
No branches or pull requests
Code:
The
T_FN
token is missingparenthesis_opener
andparenthesis_closer
.The text was updated successfully, but these errors were encountered: