From 4ac2d1930eaeb73e7db75363e7c58c7b1cc60aeb Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Tue, 26 May 2015 21:24:14 +0100 Subject: [PATCH] Updates to travis and composer files for new folder structure --- .travis.yml | 3 +-- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index bd79850b..c424d3e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,14 +15,13 @@ before_script: ## Packages - sudo apt-get -qq update > /dev/null ## Composer - ##@todo Remove when support of 5.2 will be dropped - composer self-update - composer install --prefer-source --dev - phpenv global "$TRAVIS_PHP_VERSION" script: ## PHP_CodeSniffer - - ./vendor/bin/phpcs --report-width=200 --report-summary --report-full Classes/ unitTests/ --standard=PSR2 -n + - ./vendor/bin/phpcs --report-width=200 --report-summary --report-full src/ unitTests/ --standard=PSR2 -n ## PHPUnit - phpunit -c ./unitTests/ diff --git a/composer.json b/composer.json index 64ded6ee..3e4c2769 100644 --- a/composer.json +++ b/composer.json @@ -36,8 +36,8 @@ "ext-gd2": "*" }, "autoload": { - "psr-0": { - "PHPExcel": "Classes/" + "psr-4": { + "PHPExcel": "src/PhpSpreadsheet" } } }