Skip to content

Commit 92e6db1

Browse files
committed
Update to PSR-4
1 parent 224dfcc commit 92e6db1

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

Diff for: composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"homepage": "https://github.com/carlosbuenosvinos/php-kata",
66
"type": "library",
77
"require-dev": {
8-
"phpunit/phpunit": "3.7.*@dev",
8+
"phpunit/phpunit": "5.5.*@dev",
99
"mockery/mockery": "dev-master@dev",
10-
"phpspec/phpspec": "2.0.*@dev"
10+
"phpspec/phpspec": "3.0.*@dev"
1111
},
1212
"license": "MIT",
1313
"authors": [
@@ -17,8 +17,8 @@
1717
}
1818
],
1919
"autoload": {
20-
"psr-0": {
21-
"Kata": "src/"
20+
"psr-4": {
21+
"Kata\\": "src/"
2222
}
2323
},
2424
"config": {

Diff for: phpunit.xml

+2-5
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@
1919

2020
<testsuites>
2121
<testsuite name="Kata Test Suite">
22-
<directory>./src/Kata/Tests/</directory>
22+
<directory>./tests/</directory>
2323
</testsuite>
2424
</testsuites>
2525

2626
<filter>
2727
<whitelist>
28-
<directory>./src/Kata/</directory>
29-
<exclude>
30-
<directory>./src/Kata/*/Tests</directory>
31-
</exclude>
28+
<directory>./src/</directory>
3229
</whitelist>
3330
</filter>
3431
</phpunit>

Diff for: src/Kata/Adder.php renamed to src/Adder.php

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)