Skip to content

Commit aca4c5a

Browse files
committed
use simple phpunit
1 parent 6f9781f commit aca4c5a

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ before_script:
4141
- bin/console doctrine:phpcr:workspace:create sandbox_test -e=test
4242
- bin/console doctrine:phpcr:repository:init -e=test
4343

44-
script: phpunit
44+
script: vendor/bin/simple-phpunit
4545

4646
notifications:
4747
irc: "irc.freenode.org#symfony-cmf"

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
"require-dev": {
5555
"sensio/generator-bundle": "^3.0",
5656
"liip/functional-test-bundle": "^1.3",
57-
"symfony-cmf/testing": "^2.0"
57+
"symfony-cmf/testing": "^2.0",
58+
"symfony/phpunit-bridge": "^3.2"
5859
},
5960
"minimum-stability": "RC",
6061
"prefer-stable": true,

composer.lock

Lines changed: 14 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
exit('This script cannot be run from the CLI. Run it from a browser.');
1515
}
1616

17-
if (!in_array(@$_SERVER['REMOTE_ADDR'], [
17+
if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
1818
'127.0.0.1',
1919
'::1',
20-
])) {
20+
))) {
2121
header('HTTP/1.0 403 Forbidden');
2222
exit('This script is only accessible from localhost.');
2323
}

0 commit comments

Comments
 (0)