erusev / parsedown-extra

Markdown Extra Extension for Parsedown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I'm getting this while composer update/install

notbotman opened this issue · comments

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?

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.

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