Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Commit

Permalink
move source code to 'src' directory
Browse files Browse the repository at this point in the history
  • Loading branch information
klimov-paul committed Feb 9, 2018
1 parent a7c4888 commit ec7bb87
Show file tree
Hide file tree
Showing 20 changed files with 4 additions and 11 deletions.
10 changes: 1 addition & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,4 @@ install:
- travis_retry composer install --prefer-dist --no-interaction

script:
- phpunit --verbose $PHPUNIT_FLAGS --exclude-group amazon,mongodb,sftp

after_script:
- |
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
cd ../../..
travis_retry wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
- phpunit $PHPUNIT_FLAGS --exclude-group amazon,mongodb,sftp
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
],
"autoload": {
"psr-4": { "yii2tech\\filestorage\\": "" }
"psr-4": { "yii2tech\\filestorage\\": "src" }
},
"extra": {
"branch-alias": {
Expand Down
1 change: 1 addition & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<phpunit bootstrap="./tests/bootstrap.php"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
require_once(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');

Yii::setAlias('@yii2tech/tests/unit/filestorage', __DIR__);
Yii::setAlias('@yii2tech/filestorage', dirname(__DIR__));
Yii::setAlias('@yii2tech/filestorage', dirname(__DIR__) . '/src');

require_once(__DIR__ . '/compatibility.php');

0 comments on commit ec7bb87

Please sign in to comment.