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
Psalm Plugin crashes with "Expected an integer. Got: boolean" #232
Comments
Still occurs in v3.1.9:
|
@iquito thanks for the report. Could you please share a console command which causes the crash? |
@seferov Currently the only thing I get is the stack trace I posted, I have not found a hint in there what part of the codebase Psalm/Psalm-Plugin was analyzing at the time. If you can give me any pointers on how to make Psalm output any information that might be helpful, I would gladly try it out. |
It happens on one or more of Console commands. Common usages are covered by tests and working. From the trace, I can tell it happens from a configuration part of some command. protected function configure(): void
{
$this
// ...
->addArgument('password', $this->requirePassword ? InputArgument::REQUIRED : InputArgument::OPTIONAL, 'User password')
;
} |
But is there a way to identify which file Psalm is looking at when the error occurs? I have 57 commands in this project, so it would be important to narrow it down a bit. |
Still the same issue as in #188 , tested with newest version (3.1.0), has existed since 2.3.1 (was never fixed):
The text was updated successfully, but these errors were encountered: