erusev / parsedown-extra

Markdown Extra Extension for Parsedown
MIT License
817 stars 121 forks source link

[0.8.1][0.8.x] Add .gitignore + .gitattributes #154

Open KentarouTakeda opened 4 years ago

KentarouTakeda commented 4 years ago

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 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.