The composer file is configured to always autoload all tests, even when installed as a dependency of projects (where these tests aren't used).
return array(
'Html2Text\\BasicTest' => $baseDir . '/test/BasicTest.php',
'Html2Text\\BlockquoteTest' => $baseDir . '/test/BlockquoteTest.php',
'Html2Text\\ConstructorTest' => $baseDir . '/test/ConstructorTest.php',
'Html2Text\\DefinitionListTest' => $baseDir . '/test/DefinitionListTest.php',
'Html2Text\\DelTest' => $baseDir . '/test/DelTest.php',
'Html2Text\\Html2Text' => $baseDir . '/src/Html2Text.php',
'Html2Text\\HtmlCharsTest' => $baseDir . '/test/HtmlCharsTest.php',
'Html2Text\\ImageTest' => $baseDir . '/test/ImageTest.php',
'Html2Text\\InsTest' => $baseDir . '/test/InsTest.php',
'Html2Text\\LinkTest' => $baseDir . '/test/LinkTest.php',
'Html2Text\\ListTest' => $baseDir . '/test/ListTest.php',
'Html2Text\\PreTest' => $baseDir . '/test/PreTest.php',
'Html2Text\\PrintTest' => $baseDir . '/test/PrintTest.php',
'Html2Text\\SearchReplaceTest' => $baseDir . '/test/SearchReplaceTest.php',
'Html2Text\\SpanTest' => $baseDir . '/test/SpanTest.php',
'Html2Text\\StrToUpperTest' => $baseDir . '/test/StrToUpperTest.php',
'Html2Text\\TableTest' => $baseDir . '/test/TableTest.php',
);
return array(
'Html2Text\\Html2Text' => $baseDir . '/src/Html2Text.php',
);
"autoload": {
- "psr-4": { "Html2Text\\": ["src/", "test/"] }
+ "psr-4": { "Html2Text\\": "src/" }
+ },
+ "autoload-dev": {
+ "psr-4": { "Html2Text\\": "test/" }
},