File tree 4 files changed +18
-11
lines changed
4 files changed +18
-11
lines changed Original file line number Diff line number Diff line change 22
22
CODE_COVERAGE : true
23
23
RUN_PHPSTAN : false
24
24
RUN_PSALM : false
25
- RUN_BENCHMARK : false
25
+ RUN_BENCHMARK : true
26
26
- PHP_VERSION : 7.3
27
27
CODE_COVERAGE : true
28
28
RUN_PHPSTAN : false
@@ -32,12 +32,17 @@ jobs:
32
32
CODE_COVERAGE : true
33
33
RUN_PHPSTAN : true
34
34
RUN_PSALM : true
35
- RUN_BENCHMARK : true
35
+ RUN_BENCHMARK : false
36
36
- PHP_VERSION : 8.0
37
37
CODE_COVERAGE : true
38
38
RUN_PHPSTAN : true
39
39
RUN_PSALM : true
40
- RUN_BENCHMARK : true
40
+ RUN_BENCHMARK : false
41
+ - PHP_VERSION : 8.1.0RC1
42
+ CODE_COVERAGE : true
43
+ RUN_PHPSTAN : true
44
+ RUN_PSALM : true
45
+ RUN_BENCHMARK : false
41
46
COMPOSER_EXTRA_ARGS : --ignore-platform-reqs
42
47
43
48
steps :
98
103
99
104
- name : Run benchmark
100
105
if : ${{ matrix.RUN_BENCHMARK }}
101
- run : docker run --rm -u "$(id -u):$(id -g)" -v "$(pwd):/workdir" 'test:${{ matrix.PHP_VERSION }}' php -d 'zend.assertions=-1' ./vendor/bin/phpbench run --no-interaction --revs=1 --retry-threshold=100 --progress=travis
106
+ run : docker run --rm -u "$(id -u):$(id -g)" -v "$(pwd):/workdir" 'test:${{ matrix.PHP_VERSION }}' php -d 'zend.assertions=-1' ./vendor/bin/phpbench run --no-interaction --revs=1 --retry-threshold=100 --progress=none
102
107
103
108
- name : Export Docker Image
104
109
if : steps.cache-docker-image.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change 21
21
"ext-reflection" : " *"
22
22
},
23
23
"require-dev" : {
24
- "phpbench/phpbench" : " ^0.16.10" ,
25
- "phpstan/phpstan" : " ^0.12.42 " ,
24
+ "phpbench/phpbench" : " ^0.16.10 || ^1.0.4 " ,
25
+ "phpstan/phpstan" : " ^0.12.96 " ,
26
26
"phpunit/phpunit" : " ^7.5.20 | ^8.5.8 | ^9.3.8" ,
27
27
"vimeo/psalm" : " ^3.15.0"
28
28
},
Original file line number Diff line number Diff line change 1
1
{
2
- "bootstrap" : " bench/bootstrap.php" ,
3
- "path" : " bench/" ,
4
- "retry_threshold" : 2 ,
5
- "php_disable_ini" : true ,
6
- "php_config" : {
2
+ "runner.bootstrap" : " bench/bootstrap.php" ,
3
+ "runner.path" : " bench/" ,
4
+ "runner.retry_threshold" : 2 ,
5
+ "runner.php_disable_ini" : true ,
6
+ "runner.file_pattern" : " *Bench.php" ,
7
+ "runner.php_config" : {
7
8
"zend_extension" : [" opcache.so" ],
8
9
"zend.assertions" : -1 ,
9
10
"opcache.enable_cli" : 1
Original file line number Diff line number Diff line change @@ -319,6 +319,7 @@ public function offsetExists($enumerator): bool
319
319
* @throws InvalidArgumentException On an invalid given enumerator
320
320
* @see get()
321
321
*/
322
+ #[\ReturnTypeWillChange]
322
323
public function offsetGet ($ enumerator )
323
324
{
324
325
try {
You can’t perform that action at this time.
0 commit comments