File tree Expand file tree Collapse file tree 3 files changed +25
-13
lines changed
Expand file tree Collapse file tree 3 files changed +25
-13
lines changed Original file line number Diff line number Diff line change 11language : php
22dist : trusty
33php :
4- - 5.5
5- - 5.6
64 - 7.0
75 - 7.1
8- - hhvm
96 - nightly
107
118matrix :
129 allow_failures :
1310 - php :
14- - hhvm
1511 - nightly
1612
1713cache :
@@ -27,7 +23,7 @@ before_script:
2723 - composer install --no-interaction
2824
2925after_script :
30- - if [ $TRAVIS_PHP_VERSION = '5.6 ' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
26+ - if [ $TRAVIS_PHP_VERSION = '7.0 ' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
3127
3228notifications :
3329 irc : " irc.freenode.org#phpdocumentor"
Original file line number Diff line number Diff line change 11{
2- "name" : " phpdocumentor/type-resolver" ,
3- "type" : " library" ,
2+ "name" : " phpdocumentor/type-resolver" ,
3+ "type" : " library" ,
44 "license" : " MIT" ,
55 "authors" : [
6- {"name" : " Mike van Riel" , "email" : " me@mikevanriel.com" }
6+ {
7+ "name" : " Mike van Riel" ,
8+ "email" : " me@mikevanriel.com"
9+ }
710 ],
811 "require" : {
9- "php" : " ^5.5 || ^ 7.0" ,
12+ "php" : " ^7.0" ,
1013 "phpdocumentor/reflection-common" : " ^1.0"
1114 },
1215 "autoload" : {
13- "psr-4" : {"phpDocumentor\\ Reflection\\ " : [" src/" ]}
16+ "psr-4" : {
17+ "phpDocumentor\\ Reflection\\ " : " src"
18+ }
1419 },
1520 "autoload-dev" : {
16- "psr-4" : {"phpDocumentor\\ Reflection\\ " : [" tests/unit" ]}
21+ "psr-4" : {
22+ "phpDocumentor\\ Reflection\\ " : " tests/unit"
23+ }
1724 },
1825 "require-dev" : {
19- "phpunit/phpunit" : " ^5.7 ||^4.8.35 " ,
20- "mockery/mockery" : " ^0.9.4 "
26+ "phpunit/phpunit" : " ^6.4 " ,
27+ "mockery/mockery" : " ^1.0 "
2128 },
2229 "extra" : {
2330 "branch-alias" : {
Original file line number Diff line number Diff line change 2929 */
3030class TypeResolverTest extends TestCase
3131{
32+
33+ /**
34+ * Call Mockery::close after each test.
35+ */
36+ public function tearDown ()
37+ {
38+ m::close ();
39+ }
40+
3241 /**
3342 * @param string $keyword
3443 * @param string $expectedClass
You can’t perform that action at this time.
0 commit comments