File tree Expand file tree Collapse file tree 5 files changed +33
-27
lines changed Expand file tree Collapse file tree 5 files changed +33
-27
lines changed Original file line number Diff line number Diff line change 1
1
/.php_cs
2
2
/.php_cs.cache
3
+ /.phpunit.result.cache
3
4
/composer.lock
4
5
/phpunit.xml
5
6
/vendor /
Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
- sudo : false
4
-
5
3
git :
6
4
depth : 1
7
5
@@ -18,14 +16,14 @@ before_install:
18
16
# turn off XDebug
19
17
- phpenv config-rm xdebug.ini || return 0
20
18
21
- # Composer: boost installation
22
- - composer global show -ND 2>&1 | grep "hirak/prestissimo" || travis_retry composer global require $DEFAULT_COMPOSER_FLAGS hirak/prestissimo
19
+ # Composer v2
20
+ - composer self-update --2
23
21
24
22
jobs :
25
23
include :
26
24
-
27
25
stage : Static Code Analysis
28
- php : 7.1
26
+ php : 7.4
29
27
env : COMPOSER_FLAGS="--no-dev --prefer-stable"
30
28
install :
31
29
- travis_retry composer update -d dev-tools $DEFAULT_COMPOSER_FLAGS
@@ -38,39 +36,50 @@ jobs:
38
36
- ./dev-tools/vendor/bin/phpmd src,tests text phpmd.xml || travis_terminate 1
39
37
- ./dev-tools/vendor/bin/composer-require-checker check composer.json || travis_terminate 1
40
38
- ./dev-tools/vendor/bin/php-cs-fixer fix -v
39
+ dist : xenial
41
40
42
41
- &STANDARD_TEST_JOB
43
42
stage : Test
44
- php : 5.4
43
+ php : 5.6
45
44
install :
46
45
- travis_retry composer update $DEFAULT_COMPOSER_FLAGS $COMPOSER_FLAGS
47
46
- composer info -D | sort
48
47
script :
49
- - vendor/bin/phpunit --verbose
48
+ - vendor/bin/simple-phpunit
49
+ dist : xenial
50
50
51
51
-
52
52
<< : *STANDARD_TEST_JOB
53
- php : 5.3
53
+ php : 5.6
54
54
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
55
- dist : precise
55
+ dist : xenial
56
56
57
57
-
58
58
<< : *STANDARD_TEST_JOB
59
- php : 5.5
59
+ php : 7.0
60
60
61
61
-
62
62
<< : *STANDARD_TEST_JOB
63
- php : 5.6
63
+ php : 7.1
64
+ dist : bionic
64
65
65
66
-
66
67
<< : *STANDARD_TEST_JOB
67
- php : 7.0
68
+ php : 7.2
69
+ dist : bionic
68
70
69
71
-
70
72
<< : *STANDARD_TEST_JOB
71
- php : 7.1
73
+ php : 7.3
74
+ dist : bionic
75
+
76
+ -
77
+ << : *STANDARD_TEST_JOB
78
+ php : 7.4
79
+ dist : bionic
72
80
73
81
-
74
82
<< : *STANDARD_TEST_JOB
75
83
php : nightly
76
84
env : SYMFONY_DEPRECATIONS_HELPER=weak
85
+ dist : bionic
Original file line number Diff line number Diff line change 14
14
}
15
15
],
16
16
"require" : {
17
- "php" : " ^5.3 || ^7.0"
17
+ "php" : " ^5.6 || ^7.0 || ^8 .0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " ^4.8.35 || ^5.4.3" ,
21
- "symfony/phpunit-bridge" : " ^3.2.2"
22
- },
23
- "conflict" : {
24
- "hhvm" : " *"
20
+ "symfony/phpunit-bridge" : " ^5.1"
25
21
},
26
22
"config" : {
27
23
"optimize-autoloader" : true ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
- "php" : " ^7.0 "
3
+ "php" : " ^7.4 "
4
4
},
5
5
"require-dev" : {
6
- "friendsofphp/php-cs-fixer" : " ^2.4" ,
7
- "maglnet/composer-require-checker" : " ^0 .1.5 " ,
8
- "mi-schi/phpmd-extension" : " ^4.2 " ,
6
+ "friendsofphp/php-cs-fixer" : " ^2.16. 4" ,
7
+ "maglnet/composer-require-checker" : " ^2 .1.1@dev " ,
8
+ "mi-schi/phpmd-extension" : " ^4.3 " ,
9
9
"phpmd/phpmd" : " ^2.6"
10
10
},
11
- "conflict" : {
12
- "hhvm" : " *"
13
- },
14
11
"config" : {
15
12
"optimize-autoloader" : true ,
16
13
"sort-packages" : true
Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ final class AccessibleObjectTest extends TestCase
27
27
{
28
28
protected $ accessibleObject ;
29
29
30
- protected function setUp ()
30
+ /**
31
+ * @before
32
+ */
33
+ public function setUpProperty ()
31
34
{
32
35
$ this ->accessibleObject = new AccessibleObject (new DummyClass ());
33
36
}
You can’t perform that action at this time.
0 commit comments