File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
test/TacticianModuleTest/Factory/Plugin Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,24 @@ language: php
33php :
44 - 5.6
55 - 7.0
6+ - 7.1
7+ - 7.2
68 - nightly
79 - hhvm
810
11+ env :
12+ - DEPS=lowest
13+ - DEPS=latest
14+
915matrix :
1016 allow_failures :
1117 - php : nightly
1218 - php : hhvm
1319
1420before_script :
15- - travis_retry composer self-update
16- - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
21+ - phpenv config-rm xdebug.ini
22+ - if [[ $DEPS == 'lowest' ]]; then composer update --prefer-stable --no-interaction --prefer-lowest ; fi
23+ - if [[ $DEPS == 'latest' ]]; then composer update --prefer-stable --no-interaction ; fi
1724
1825script :
19- - phpunit
26+ - vendor/bin/ phpunit
Original file line number Diff line number Diff line change 99 },
1010 "require-dev" : {
1111 "league/tactician-doctrine" : " ^1.0" ,
12- "phpunit/phpunit" : " ^4.8"
12+ "phpunit/phpunit" : " ^4.8.36" ,
13+ "sebastian/comparator" : " ^1.2.4" ,
14+ "doctrine/orm" : " ^2.5"
1315 },
1416 "keywords" : [
1517 " zend framework" ,
Original file line number Diff line number Diff line change @@ -35,8 +35,7 @@ public function testCreateService()
3535 ],
3636 ]));
3737
38- $ doctrineStub = $ this ->getMockBuilder ('Doctrine\ORM\EntityManager ' )
39- ->disableOriginalConstructor ()
38+ $ doctrineStub = $ this ->getMockBuilder (\Doctrine \ORM \EntityManagerInterface::class)
4039 ->getMock ();
4140
4241 $ this ->serviceLocator ->expects ($ this ->at (1 ))
You can’t perform that action at this time.
0 commit comments