Commit 3cf9dc0 1 parent 48aff2e commit 3cf9dc0 Copy full SHA for 3cf9dc0
File tree 4 files changed +12
-17
lines changed
4 files changed +12
-17
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
- php :
4
- # - 5.3 # requires old distro, see below
5
- - 5.4
6
- - 5.5
7
- - 5.6
8
- - 7.0
9
- - 7.1
10
- - 7.2
11
- - hhvm # ignore errors, see below
12
-
13
3
# lock distro so new future defaults will not break the build
14
4
dist : trusty
15
5
16
- # also test lowest dependencies on PHP 7
17
6
matrix :
18
7
include :
19
8
- php : 5.3
20
9
dist : precise
10
+ - php : 5.4
11
+ - php : 5.5
12
+ - php : 5.6
13
+ - php : 7.0
21
14
- php : 7.0
22
15
env :
23
16
- DEPENDENCIES=lowest
17
+ - php : 7.1
18
+ - php : 7.2
19
+ - php : 7.3
20
+ - php : 7.4
21
+ - php : hhvm
24
22
allow_failures :
25
23
- php : hhvm
26
24
27
- sudo : false
28
-
29
25
install :
30
26
- composer install --no-interaction
31
27
- if [ "$DEPENDENCIES" = "lowest" ]; then composer update --prefer-lowest -n; fi
32
-
28
+
33
29
script :
34
30
- ./vendor/bin/phpunit --coverage-text
35
31
- if [ "$DEPENDENCIES" = "lowest" ]; then php -n tests/benchmark-middleware-runner.php; fi
Original file line number Diff line number Diff line change 19
19
},
20
20
"require-dev" : {
21
21
"clue/block-react" : " ^1.1" ,
22
- "phpunit/phpunit" : " ^6.4 || ^5.7 || ^4.8.35"
22
+ "phpunit/phpunit" : " ^7.0 || ^ 6.4 || ^5.7 || ^4.8.35"
23
23
}
24
24
}
Original file line number Diff line number Diff line change 8
8
convertWarningsToExceptions =" true"
9
9
processIsolation =" false"
10
10
stopOnFailure =" false"
11
- syntaxCheck =" false"
12
11
bootstrap =" tests/bootstrap.php"
13
12
>
14
13
<testsuites >
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ public function handleData($data)
122
122
}
123
123
}
124
124
125
- $ this ->chunkSize = \hexdec ($ hexValue );
125
+ $ this ->chunkSize = @ \hexdec ($ hexValue );
126
126
if (\dechex ($ this ->chunkSize ) !== $ hexValue ) {
127
127
$ this ->handleError (new Exception ($ hexValue . ' is not a valid hexadecimal number ' ));
128
128
return ;
You can’t perform that action at this time.
0 commit comments