Skip to content
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

Remove ray calls - Undefined Method in PHPStan\PhpDocParser - getParamImmediatelyInvokedCallableTagValues() #938

Open
rikgirbes opened this issue Oct 8, 2024 · 0 comments
Assignees

Comments

@rikgirbes
Copy link

When running the script, an error occurs while processing the file .... The error points to an undefined method getParamImmediatelyInvokedCallableTagValues() in PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode. The error occurs on line 308.

[ERROR] Could not process "..." file, due  
         to:                                                                                                            
         "Call to undefined method                                                                                      
         PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode::getParamImmediatelyInvokedCallableTagValues()". On line: 308  

Versions

  • spatie/ray package version: 1.41.2
  • PHP version: 8.3

To Reproduce
Steps to reproduce the behavior:
Run the script (vendor/bin/remove-ray.sh) that processes PHP files.

Expected behavior
The script should process the file without encountering any undefined method errors.

Additional context
This issue seems related to PHPStan's PhpDocParser handling of callable tag values. The method getParamImmediatelyInvokedCallableTagValues() might not exist or be incorrectly referenced in the processing logic./

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants