Bug report
https://packagist.org/packages/typo3/cms-core contains an autoload-file: Resources/PHP/GlobalDebugFunctions.php.
But Typo3 comes with a composer-plugin, which moves files to a different direcotry (public/typo3/sysext/ instead of vendor/typo3/).
The plugin alters composer autoload correctly. require "vendor/autoload.php"; works flawless, but phpstan ^0.12.26 doesn't.
It tries to require the file without respecting vendor/composer/autoload_files.php.
Code snippet that reproduces the problem
composer.json:
"require": {
"typo3/cms-core": "*",
}
helloworld.php:
Actual output
------ ------------------------------------------------------------------------------------------------------------------------------
Line helloworld.php
------ ------------------------------------------------------------------------------------------------------------------------------
Could not read file:
.../vendor/typo3/cms-core/Resources/PHP/GlobalDebugFunctions.php
------ ------------------------------------------------------------------------------------------------------------------------------
Expected output