Skip to content

Commit b587fb4

Browse files
authored
Merge pull request #320 from php-http/src-folder
use src and tests folder
2 parents 662ab9c + f72bb39 commit b587fb4

File tree

84 files changed

+10
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,18 @@
6262
},
6363
"autoload": {
6464
"psr-4": {
65-
"Http\\HttplugBundle\\": ""
65+
"Http\\HttplugBundle\\": "src/"
6666
},
6767
"exclude-from-classmap": [
6868
"/Tests/Resources/MyPsr18TestClient.php"
6969
]
7070
},
7171
"autoload-dev": {
72+
"psr-4": {
73+
"Http\\HttplugBundle\\Tests\\": "tests/"
74+
},
7275
"classmap": [
73-
"Tests/Resources/app/AppKernel.php"
76+
"tests/Resources/app/AppKernel.php"
7477
]
7578
},
7679
"scripts": {

phpunit.xml.dist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
<testsuites>
1414
<testsuite name="HttplugBundle unit tests">
15-
<directory suffix="Test.php">./Tests/Unit</directory>
15+
<directory suffix="Test.php">./tests/Unit</directory>
1616
</testsuite>
1717
<testsuite name="HttplugBundle functional tests">
18-
<directory suffix="Test.php">./Tests/Functional</directory>
18+
<directory suffix="Test.php">./tests/Functional</directory>
1919
</testsuite>
2020
</testsuites>
2121

@@ -24,14 +24,14 @@
2424
<directory>./</directory>
2525
<exclude>
2626
<directory>./Resources</directory>
27-
<directory>./Tests</directory>
27+
<directory>./tests</directory>
2828
<directory>./vendor</directory>
2929
</exclude>
3030
</whitelist>
3131
</filter>
3232

3333
<php>
34-
<server name="KERNEL_DIR" value="./Tests/Resources/app" />
34+
<server name="KERNEL_DIR" value="./tests/Resources/app" />
3535
<server name="KERNEL_CLASS" value="AppKernel" />
3636
</php>
3737
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)