File tree 4 files changed +8
-7
lines changed 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 16
16
17
17
strategy :
18
18
matrix :
19
- php : [8.2, 8.1]
19
+ php : [8.3, 8. 2, 8.1]
20
20
# prefer-lowest is causing unit tests to fail when php 7.2 is run against PHPunit 7.x,
21
21
# PHPUnit 8.x is the latest stable release that supports PHP 7.2 and that runs fine
22
22
# dependency-version: [prefer-lowest, prefer-stable]
37
37
38
38
steps :
39
39
- name : Checkout code
40
- uses : actions/checkout@v3
40
+ uses : actions/checkout@v4
41
41
42
42
- name : Setup PHP
43
43
uses : shivammathur/setup-php@v2
Original file line number Diff line number Diff line change 16
16
"require-dev" : {
17
17
"phpunit/phpunit" : " ^10.0" ,
18
18
"php-coveralls/php-coveralls" : " ^2.0" ,
19
- "rector/rector" : " ^0.18 .0" ,
19
+ "rector/rector" : " ^1.0 .0" ,
20
20
"vimeo/psalm" : " ^5.4"
21
21
},
22
22
"autoload" : {
28
28
},
29
29
"scripts" : {
30
30
"test" : [
31
- " composer dump " ,
31
+ " Composer \\ Config::disableProcessTimeout " ,
32
32
" vendor/bin/phpunit --coverage-text"
33
33
],
34
+ "rector-clear" : " vendor/bin/rector --clear-cache" ,
34
35
"rector" : " vendor/bin/rector process src --dry-run -vvv" ,
35
- "psalm" : " vendor/bin/psalm" ,
36
+ "psalm-clear-cache" : " vendor/bin/psalm --clear-global-cache && vendor/bin/psalm --clear-cache" ,
37
+ "psalm" : " composer psalm-clear-cache && vendor/bin/psalm --threads=1" ,
36
38
"qa" : " composer test && composer rector && composer psalm"
37
39
}
38
40
}
Original file line number Diff line number Diff line change 27
27
\Rector \DeadCode \Rector \ClassMethod \RemoveUselessParamTagRector::class,
28
28
//\Rector\TypeDeclaration\Rector\ClassMethod\AddArrayReturnDocTypeRector::class,
29
29
\Rector \DeadCode \Rector \ClassMethod \RemoveUselessReturnTagRector::class,
30
- \Rector \Php71 \Rector \FuncCall \CountOnNullRector::class,
31
30
//\Rector\TypeDeclaration\Rector\FunctionLike\ParamTypeDeclarationRector::class,
32
31
\Rector \DeadCode \Rector \ClassMethod \RemoveUselessParamTagRector::class
33
32
]);
Original file line number Diff line number Diff line change 13
13
*/
14
14
class CallableExecutionTimer extends ObjectifiedCallable {
15
15
16
- final public const NANO_SECOND_TO_SECOND_DIVISOR = 1_000_000_000 ;
16
+ public const NANO_SECOND_TO_SECOND_DIVISOR = 1_000_000_000 ;
17
17
18
18
/**
19
19
* Holds execution stats for all function / method calls across all instances of this class
You can’t perform that action at this time.
0 commit comments