Skip to content

Commit

Permalink
Merge pull request #9 from jeskew/feature/psr4-the-tests
Browse files Browse the repository at this point in the history
PSR4 all the things
  • Loading branch information
jeremeamia committed Jun 12, 2015
2 parents c09f17f + e3181d6 commit c463e8b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
12 changes: 10 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,22 @@
"silex/silex": "1.*"
},
"autoload": {
"psr-0": { "Aws\\Silex": "src/" }
"psr-4": {
"Aws\\Silex\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Aws\\Silex\\": "tests/"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"require-dev": {
"phpunit/phpunit": "~4.7"
"phpunit/phpunit": "~4.7",
"squizlabs/php_codesniffer": "^2.3"
}
}
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit bootstrap="./tests/bootstrap.php">
<phpunit bootstrap="./vendor/autoload.php">
<testsuites>
<testsuite name="AwsServiceProvider Test Suite">
<directory>./tests</directory>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
* permissions and limitations under the License.
*/

namespace Aws\Silex\Tests;
namespace Aws\Silex;

use Aws\Silex\AwsServiceProvider;
use Silex\Application;

/**
Expand Down
3 changes: 0 additions & 3 deletions tests/bootstrap.php

This file was deleted.

0 comments on commit c463e8b

Please sign in to comment.