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 1
1
language : php
2
2
dist : trusty
3
3
php :
4
- - 5.5
5
- - 5.6
6
4
- 7.0
7
5
- 7.1
8
- - hhvm
9
6
- nightly
10
7
11
8
matrix :
12
9
allow_failures :
13
10
- php :
14
- - hhvm
15
11
- nightly
16
12
17
13
cache :
@@ -27,7 +23,7 @@ before_script:
27
23
- composer install --no-interaction
28
24
29
25
after_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
31
27
32
28
notifications :
33
29
irc : " irc.freenode.org#phpdocumentor"
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " phpdocumentor/type-resolver" ,
3
- "type" : " library" ,
2
+ "name" : " phpdocumentor/type-resolver" ,
3
+ "type" : " library" ,
4
4
"license" : " MIT" ,
5
5
"authors" : [
6
- {
"name" :
" Mike van Riel" ,
"email" :
" [email protected] " }
6
+ {
7
+ "name" : " Mike van Riel" ,
8
+
9
+ }
7
10
],
8
11
"require" : {
9
- "php" : " ^5.5 || ^ 7.0" ,
12
+ "php" : " ^7.0" ,
10
13
"phpdocumentor/reflection-common" : " ^1.0"
11
14
},
12
15
"autoload" : {
13
- "psr-4" : {"phpDocumentor\\ Reflection\\ " : [" src/" ]}
16
+ "psr-4" : {
17
+ "phpDocumentor\\ Reflection\\ " : " src"
18
+ }
14
19
},
15
20
"autoload-dev" : {
16
- "psr-4" : {"phpDocumentor\\ Reflection\\ " : [" tests/unit" ]}
21
+ "psr-4" : {
22
+ "phpDocumentor\\ Reflection\\ " : " tests/unit"
23
+ }
17
24
},
18
25
"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 "
21
28
},
22
29
"extra" : {
23
30
"branch-alias" : {
Original file line number Diff line number Diff line change 29
29
*/
30
30
class TypeResolverTest extends TestCase
31
31
{
32
+
33
+ /**
34
+ * Call Mockery::close after each test.
35
+ */
36
+ public function tearDown ()
37
+ {
38
+ m::close ();
39
+ }
40
+
32
41
/**
33
42
* @param string $keyword
34
43
* @param string $expectedClass
You can’t perform that action at this time.
0 commit comments