diff --git a/composer.json b/composer.json index 6cd984cc..8625812c 100644 --- a/composer.json +++ b/composer.json @@ -44,6 +44,9 @@ "autoload": { "psr-4": {"Monolog\\": "src/Monolog"} }, + "autoload-dev": { + "psr-4": {"Monolog\\": "tests/Monolog"} + }, "provide": { "psr/log-implementation": "1.0.0" }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 17545707..20d82b63 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,6 +1,6 @@ - + tests/Monolog/ @@ -12,4 +12,8 @@ src/Monolog/ + + + + diff --git a/tests/bootstrap.php b/tests/bootstrap.php deleted file mode 100644 index b78740e2..00000000 --- a/tests/bootstrap.php +++ /dev/null @@ -1,15 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -$loader = require __DIR__ . "/../vendor/autoload.php"; -$loader->addPsr4('Monolog\\', __DIR__.'/Monolog'); - -date_default_timezone_set('UTC');