@@ -43,7 +43,7 @@ before_script:
- set +H
script:
- - sh -c "if [ '$PHPCS' != '1' ]; then vendor/bin/phpunit --stderr; fi"
+ - sh -c "if [ '$PHPCS' != '1' ]; then phpunit; fi"
- sh -c "if [ '$PHPCS' = '1' ]; then phpcs -p --extensions=php --standard=CakePHP ./src ./tests; fi"
notifications:
@@ -31,7 +31,7 @@ tests for cakephp by doing the following:
1. Copy `phpunit.xml.dist` to `phpunit.xml`
2. Add the relevant database credentials to your phpunit.xml if you want to run tests against
a non-SQLite datasource.
-3. Run `phpunit --stderr`
+3. Run `phpunit`
## Contributing
@@ -24,9 +24,6 @@
"ext-mbstring": "*",
"nesbot/Carbon": "1.8.*"
},
- "require-dev": {
- "phpunit/phpunit": "3.7.33"
- },
"autoload": {
"psr-4": {
"Cake\\": "src",