Skip to content

Commit 63a7451

Browse files
committed
Fixed "./vendor/bin/phpunit" command
1 parent fb101f9 commit 63a7451

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,5 @@
3131
# PHP
3232
#
3333
**/vendor
34-
**/phpunit.xml.dist
3534
**/*.iml
3635
**/out.trace

php/phpunit.xml.dist

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit bootstrap="./vendor/autoload.php"
3+
colors="true"
4+
convertErrorsToExceptions="true"
5+
convertNoticesToExceptions="true"
6+
convertWarningsToExceptions="true"
7+
stopOnFailure="false">
8+
<testsuites>
9+
<testsuite name="tests">
10+
<directory>./test/Api</directory>
11+
<directory>./test/Model</directory>
12+
</testsuite>
13+
</testsuites>
14+
<filter>
15+
<whitelist processUncoveredFilesFromWhitelist="true">
16+
<directory suffix=".php">./lib\/Api</directory>
17+
<directory suffix=".php">./lib\/Model</directory>
18+
</whitelist>
19+
</filter>
20+
<php>
21+
<ini name="error_reporting" value="E_ALL" />
22+
</php>
23+
</phpunit>

0 commit comments

Comments
 (0)