Skip to content

Commit 86e0580

Browse files
committed
[CLEANUP] Move PHPUnit configuration to Build/
1 parent c36a235 commit 86e0580

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
/.github/ export-ignore
44
/.gitignore export-ignore
55
/.phive/ export-ignore
6+
/Build/ export-ignore
67
/CODE_OF_CONDUCT.md export-ignore
78
/CONTRIBUTING.md export-ignore
89
/bin/ export-ignore
910
/config/ export-ignore
1011
/docs/ export-ignore
11-
/phpunit.xml export-ignore
1212
/tests/ export-ignore

phpunit.xml renamed to Build/phpunit/config.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
>
1313
<testsuites>
1414
<testsuite name="Project Test Suite">
15-
<directory>tests</directory>
15+
<directory>../../tests</directory>
1616
</testsuite>
1717
</testsuites>
1818

1919
<filter>
2020
<whitelist>
21-
<directory suffix=".php">src</directory>
21+
<directory suffix=".php">../../src</directory>
2222
</whitelist>
2323
</filter>
2424
</phpunit>

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@
9696
"check:tests": [
9797
"@check:tests:unit"
9898
],
99-
"check:tests:coverage": "phpunit --do-not-cache-result --coverage-clover=coverage.xml",
100-
"check:tests:sof": "phpunit --stop-on-failure --do-not-cache-result",
101-
"check:tests:unit": "phpunit --do-not-cache-result",
99+
"check:tests:coverage": "phpunit --config=./Build/phpunit/config.xml --do-not-cache-result --coverage-clover=coverage.xml",
100+
"check:tests:sof": "phpunit --stop-on-failure --config=./Build/phpunit/config.xml --do-not-cache-result",
101+
"check:tests:unit": "phpunit --config=./Build/phpunit/config.xml --do-not-cache-result",
102102
"fix": [
103103
"@fix:php"
104104
],

0 commit comments

Comments
 (0)