diff --git a/.travis.yml b/.travis.yml index f7c3ebe6..5df24097 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ before_script: - composer install --dev --prefer-source script: - - phpunit + - ./vendor/bin/phpunit - ./vendor/bin/phpdoc deploy: diff --git a/composer.json b/composer.json index acd6297f..38f82e4b 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,14 @@ "description": "PHP development kit for prismic.io", "autoload": { - "psr-0": { "": "src/" } + "psr-4": { + "Prismic\\": "src/Prismic" + } + }, + "autoload-dev": { + "psr-4": { + "Prismic\\Test\\": "tests/Prismic" + } }, "license": "Apache 2 license", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index d8c23f65..025eed98 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,6 +1,8 @@ - - + ./tests/Prismic/ diff --git a/tests/autoload.php.dist b/tests/autoload.php.dist deleted file mode 100644 index bd53592a..00000000 --- a/tests/autoload.php.dist +++ /dev/null @@ -1,16 +0,0 @@ -