Now, composer require erusev/parsedown-extra imports all files of this repo including test/ directory, and import autoload setting but not autoload-dev setting.
If autoload-dev is not set, test/ directory will be set sub-namespace of autoload because it is sub-directory of the directory used by autoload setting. So the class name should be ParsedownExtra\test\ParsedownExtraTest but it is named ParsedownExtraTest.
The test doesn't need to be imported, so cherry-picking #119 with that setting should solve this problem.
This PR is cherry-pick of #119 . It fixes #150
Now,
composer require erusev/parsedown-extra
imports all files of this repo including test/ directory, and importautoload
setting but notautoload-dev
setting.If
autoload-dev
is not set, test/ directory will be set sub-namespace ofautoload
because it is sub-directory of the directory used byautoload
setting. So the class name should be ParsedownExtra\test\ParsedownExtraTest but it is named ParsedownExtraTest.The test doesn't need to be imported, so cherry-picking #119 with that setting should solve this problem.