-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
Call to undefined method PhpParser\Node\Expr\Closure::getParts()
in DefinedSymbolCollector
#122
Comments
Ok found origin of problem. I've just got a same issue with my new It came from https://github.com/composer-unused/symbol-parser/blob/0.2.2/src/Parser/PHP/DefinedSymbolCollector.php#L62-L65 where we did not check that See code from PHP-Parser
At least, I'll fix my contrib #137 (FYI: @icanhazstring) |
I have the same issue. I've tried to use both php-parser 5 and 4.18 and it still fails. Edit: current workaround is to downgrade to Symfony 6.4 and symbol parser 0.2.1: composer require "symfony/finder:^6.4"
composer require "composer-unused/symbol-parser:0.2.1" |
@TomasVotruba All issues I've already fixed and other that are pending validation were summarized in my RFC composer-unused/composer-unused#630 |
Closed with 0.2.4 |
Thank you @icanhazstring 🥳 |
Describe the bug
I wanted to handle
composer/xdebug-handler
in PHP-CS-Fixer with custom config:but it fails on
php-cs-fixer
entrypoint script:Originally posted by @Wirone in PHP-CS-Fixer/PHP-CS-Fixer#7536 (comment)
The text was updated successfully, but these errors were encountered: