Skip to content

use src and tests folder #320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee

### Changed

- Moved source code to `src/` and tests to `tests/`
- Removed `twig/twig` dependency
- Removed hard dependency on `php-http/cache-plugin`. If you want to use the
cache plugin, you need to require it in your project.
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,18 @@
},
"autoload": {
"psr-4": {
"Http\\HttplugBundle\\": ""
"Http\\HttplugBundle\\": "src/"
},
"exclude-from-classmap": [
"/Tests/Resources/MyPsr18TestClient.php"
]
},
"autoload-dev": {
"psr-4": {
"Http\\HttplugBundle\\Tests\\": "tests/"
},
"classmap": [
"Tests/Resources/app/AppKernel.php"
"tests/Resources/app/AppKernel.php"
]
},
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

<testsuites>
<testsuite name="HttplugBundle unit tests">
<directory suffix="Test.php">./Tests/Unit</directory>
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="HttplugBundle functional tests">
<directory suffix="Test.php">./Tests/Functional</directory>
<directory suffix="Test.php">./tests/Functional</directory>
</testsuite>
</testsuites>

Expand All @@ -24,14 +24,14 @@
<directory>./</directory>
<exclude>
<directory>./Resources</directory>
<directory>./Tests</directory>
<directory>./tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>

<php>
<server name="KERNEL_DIR" value="./Tests/Resources/app" />
<server name="KERNEL_DIR" value="./tests/Resources/app" />
<server name="KERNEL_CLASS" value="AppKernel" />
</php>
</phpunit>
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.
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.