I'm getting this while composer update/install
notbotman opened this issue · comments
Botman commented
Class ParsedownExtraTest located in C:/Users/Yo/Desktop/secretproject/vendor/erusev/parsedown-extra\test\ParsedownExtraTest.php does not comply with psr-0 autoloading standard. Skipping.
Any Ideas, how to fix it?
David Busby commented
PSR-0 (https://www.php-fig.org/psr/psr-0/) makes me think it needs to have the namespace test
edit: yea, worked for me.
Shizzen83 commented
In the autoload
section of your composer.json
, add
"exclude-from-classmap": [
"vendor/erusev/parsedown-extra/test/"
]
The warning disappeared after that.
More details here https://getcomposer.org/doc/04-schema.md#exclude-files-from-classmaps