-
-
Notifications
You must be signed in to change notification settings - Fork 934
Closed
Description
Bug report
PHPStan triggers an internal error when importing PackageVersions\Versions.
This happens since PHPStan 0.12.89.
Code snippet that reproduces the problem
The website won't let me share it because it errors but this example is enough to trigger it:
<?php
use PackageVersions\Versions;PHP Fatal error: Cannot declare class _HumbugBox15516bb2b566\Composer\InstalledVersions, because the name is already in use in phar:///app/vendor/phpstan/phpstan/phpstan.phar/vendor/composer/InstalledVersions.php on line 23
Expected output
No error
Did PHPStan help you today? Did it make you happy in any way?
You already know that I love PHPStan ❤️
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels