Skip to content

Error with named arguments in 2.10.3 #946

@temp

Description

@temp

After an update I get this error:

  ✘ Internal error: Object of class PhpParser\Node\Expr\PropertyFetch could not be converted to string while analysing file <remove>
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml


📊 Error Identifier Summary:
────────────────────────────


 [ERROR] Found 1 error


⚠️  Result is incomplete because of severe errors. ⚠️
   Fix these errors first and then re-run PHPStan
   to get all reported errors.

PHPStan version is 2.1.17, ergebnis/phpstan-rules version is 2.10.3
Wenn i disable ergebnis/noNamedArgument the error is not thrown.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions