1
0
mirror of https://github.com/danog/class-finder.git synced 2025-01-22 13:51:42 +01:00

Make test app include the package from packagist.

This is done to allow the test app to autoloading classes because composer will
now autoload from the HaydenPierce/ClassFinder namespace.
This commit is contained in:
Hayden Pierce 2018-08-04 14:41:48 -05:00
parent 7f23741fd7
commit 93e95fec33
2 changed files with 3 additions and 3 deletions

View File

@ -8,8 +8,9 @@
"email": "hayden@haydenpierce.com"
}
],
"require": {
"phpunit/phpunit": "6.5"
"require-dev": {
"phpunit/phpunit": "6.5",
"haydenpierce/class-finder": "0.0.1"
},
"autoload": {
"psr-4": {

View File

@ -3,7 +3,6 @@
namespace TestApp1;
require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../vendor/haydenpierce/class-finder/src/ClassFinder.php';
use HaydenPierce\ClassFinder\ClassFinder;
use \PHPUnit\Framework\TestCase;