Skip to content

Commit 4ea799c

Browse files
committed
Changed whole test suite from "test" to "check".
Changed phpunit from "unit" back to "test"
1 parent 912c849 commit 4ea799c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ before_script:
1515
- git remote set-branches --add origin master
1616
- git fetch
1717
script:
18-
- composer test
18+
- composer check

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</target>
2626

2727
<target name="phpunit" description="Run unit tests using PHPUnit and generates junit.xml and clover.xml">
28-
<exec command="composer unit" logoutput="true" checkreturn="true" />
28+
<exec command="composer test" logoutput="true" checkreturn="true" />
2929
</target>
3030

3131
<target name="buildTasks" description="Run the phpmd, phpcs, phploc and lint tasks.">

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@
5252
]
5353
},
5454
"scripts": {
55-
"unit": "phpunit -c . tests/",
55+
"test": "phpunit -c . tests/",
5656
"lint": "parallel-lint --exclude vendor .",
5757
"smell": "phpcs --standard=tools/codesniffer/JoindInPSR2/ruleset.xml --ignore=**/config.php,**/database.php,vendor,tools,tests/bootstrap.php --extensions=php --report-checkstyle=build/logs/checkstyle.xml --runtime-set ignore_warnings_on_exit true -p .",
5858
"security": "security-checker security:check composer.lock",
5959
"diff": [
6060
"git diff origin/master... -- > diff.txt",
6161
"diffFilter --phpunit diff.txt build/logs/clover.xml 80"
6262
],
63-
"test": [
63+
"check": [
6464
"mkdir -p build/logs",
6565
"@lint",
6666
"@smell",

0 commit comments

Comments
 (0)