vimeo / psalm

A static analysis tool for finding errors in PHP applications
https://psalm.dev
MIT License
5.58k stars 664 forks source link

PHP Warning on running psalm #11173

Closed descoder closed 2 days ago

descoder commented 2 days ago

When running in console

vendor/bin/psalm --debug

I get this warning:

Checking /app/vendor/bin/psalm
PHP Warning:  Undefined array key "extension" in /app/vendor/vimeo/psalm/src/Psalm/Checker/ProjectChecker.php on line 488

Warning: Undefined array key "extension" in /app/vendor/vimeo/psalm/src/Psalm/Checker/ProjectChecker.php on line 488
...

PHP version 8.1

I'm waiting for clear run.

psalm-github-bot[bot] commented 2 days ago

Hey @descoder, can you reproduce the issue on https://psalm.dev? These will be used as phpunit tests when implementing the feature or fixing this bug.