-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Description
Bug report
Code snippet that reproduces the problem
https://phpstan.org/r/192fbbc0-dff6-4fa1-ac5a-eab363cc3d23
And class Image/Url should exist (in my environment class is in lib/Image/Url.php).
Expected output
No errors.
Current output
$ phpstan analyse -l 5 --memory-limit=3G --debug lib/Controller/SomeFile.php --debug
Note: Using configuration file /path/phpstan.neon.
To avoid this issue, allow to use more memory with the --memory-limit option.
/path/lib/Controller/SomeFile.php
PHP Fatal error: Cannot declare class Image\Url, because the name is already in use in /path/lib/image/url.php on line 7
Fatal error: Cannot declare class Image\Url, because the name is already in use in /path/lib/image/url.php on line 7
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels