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
PHP Warning on startup when using Infection from PHAR #1770
Comments
Did you purposefully remove I see that Composer autoloader will try to open this file if you remove it. Even a simple |
No, I did/do not delete this file on purpose. I use classmap-based autoloading (generated by Composer) and have no Composer-installed dependencies:
|
Interesting... I'll have to double on PHP-Scoper/Box side that I do handle this scenario well too. |
I don't think we fixed the issue with #1771, therefore I'm going to reopen this. If that's not the case, please feel free to close, or add any details as well. |
I am using Infection in a project that has a
composer.json
file as well as avendor/autoload.php
file but novendor/composer/InstalledVersions.php
file since no dependencies are defined incomposer.json
:It appears that Infection assumes that
vendor/composer/InstalledVersions.php
always exists and unconditionally tries to open it.The text was updated successfully, but these errors were encountered: