Skip to content

Commit

Permalink
move tests + psr-4
Browse files Browse the repository at this point in the history
  • Loading branch information
luxifer committed Dec 21, 2017
1 parent 2eee4d6 commit c5801c0
Show file tree
Hide file tree
Showing 38 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@
"phpunit/phpunit": "^6.0"
},
"autoload": {
"psr-0": {
"psr-4": {
"Luxifer\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Luxifer\\Tests\\": "tests/"
}
},
"minimum-stability": "stable"
}
6 changes: 3 additions & 3 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="./src/Luxifer/Tests/Init.php"
bootstrap="./tests/bootstrap.php"
>
<testsuites>
<testsuite name="Doctrine Functions Test Suite">
<directory>./src/Luxifer/Tests/</directory>
<directory>./tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>./src/Luxifer/</directory>
<directory>./src</directory>
</whitelist>
</filter>

Expand Down
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.
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.
2 changes: 1 addition & 1 deletion src/Luxifer/Tests/Init.php β†’ tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

error_reporting(E_ALL | E_STRICT);

require_once __DIR__ . "/../../../vendor/autoload.php";
require_once __DIR__ . "/../vendor/autoload.php";
// @codeCoverageIgnoreEnd

0 comments on commit c5801c0

Please sign in to comment.