File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1616
1717 strategy :
1818 matrix :
19- php : [8.2, 8.1]
19+ php : [8.3, 8. 2, 8.1]
2020# prefer-lowest is causing unit tests to fail when php 7.2 is run against PHPunit 7.x,
2121# PHPUnit 8.x is the latest stable release that supports PHP 7.2 and that runs fine
2222# dependency-version: [prefer-lowest, prefer-stable]
3737
3838 steps :
3939 - name : Checkout code
40- uses : actions/checkout@v3
40+ uses : actions/checkout@v4
4141
4242 - name : Setup PHP
4343 uses : shivammathur/setup-php@v2
Original file line number Diff line number Diff line change 1616 "require-dev" : {
1717 "phpunit/phpunit" : " ^10.0" ,
1818 "php-coveralls/php-coveralls" : " ^2.0" ,
19- "rector/rector" : " ^0.18 .0" ,
19+ "rector/rector" : " ^1.0 .0" ,
2020 "vimeo/psalm" : " ^5.4"
2121 },
2222 "autoload" : {
2828 },
2929 "scripts" : {
3030 "test" : [
31- " composer dump " ,
31+ " Composer \\ Config::disableProcessTimeout " ,
3232 " vendor/bin/phpunit --coverage-text"
3333 ],
34+ "rector-clear" : " vendor/bin/rector --clear-cache" ,
3435 "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" ,
3638 "qa" : " composer test && composer rector && composer psalm"
3739 }
3840}
Original file line number Diff line number Diff line change 2727 \Rector \DeadCode \Rector \ClassMethod \RemoveUselessParamTagRector::class,
2828 //\Rector\TypeDeclaration\Rector\ClassMethod\AddArrayReturnDocTypeRector::class,
2929 \Rector \DeadCode \Rector \ClassMethod \RemoveUselessReturnTagRector::class,
30- \Rector \Php71 \Rector \FuncCall \CountOnNullRector::class,
3130 //\Rector\TypeDeclaration\Rector\FunctionLike\ParamTypeDeclarationRector::class,
3231 \Rector \DeadCode \Rector \ClassMethod \RemoveUselessParamTagRector::class
3332 ]);
Original file line number Diff line number Diff line change 1313 */
1414class CallableExecutionTimer extends ObjectifiedCallable {
1515
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 ;
1717
1818 /**
1919 * 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