Skip to content

Commit c463e8b

Browse files
committed
Merge pull request #9 from jeskew/feature/psr4-the-tests
PSR4 all the things
2 parents c09f17f + e3181d6 commit c463e8b

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

composer.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,22 @@
1717
"silex/silex": "1.*"
1818
},
1919
"autoload": {
20-
"psr-0": { "Aws\\Silex": "src/" }
20+
"psr-4": {
21+
"Aws\\Silex\\": "src/"
22+
}
23+
},
24+
"autoload-dev": {
25+
"psr-4": {
26+
"Aws\\Silex\\": "tests/"
27+
}
2128
},
2229
"extra": {
2330
"branch-alias": {
2431
"dev-master": "1.0-dev"
2532
}
2633
},
2734
"require-dev": {
28-
"phpunit/phpunit": "~4.7"
35+
"phpunit/phpunit": "~4.7",
36+
"squizlabs/php_codesniffer": "^2.3"
2937
}
3038
}

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<phpunit bootstrap="./tests/bootstrap.php">
3+
<phpunit bootstrap="./vendor/autoload.php">
44
<testsuites>
55
<testsuite name="AwsServiceProvider Test Suite">
66
<directory>./tests</directory>
File renamed without changes.

tests/Aws/Silex/Tests/AwsServiceProviderTest.php renamed to tests/AwsServiceProviderTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414
* permissions and limitations under the License.
1515
*/
1616

17-
namespace Aws\Silex\Tests;
17+
namespace Aws\Silex;
1818

19-
use Aws\Silex\AwsServiceProvider;
2019
use Silex\Application;
2120

2221
/**

tests/bootstrap.php

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)