File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,15 +19,19 @@ jobs:
1919
2020 steps :
2121 - name : Checkout code
22- uses : actions/checkout@v5
22+ uses : actions/checkout@v6
2323
2424 - name : Setup PHP
2525 uses : shivammathur/setup-php@v2
2626 with :
2727 php-version : ${{ matrix.php-version }}
2828
29- - name : " Install dependencies with Composer"
30- uses : " ramsey/composer-install@v1"
29+ - name : Remove symfony/clock for PHP < 8.1
30+ if : ${{ matrix.php-version < '8.1' }}
31+ run : composer remove --dev symfony/clock --no-update
32+
33+ - name : Install dependencies with Composer
34+ uses : ramsey/composer-install@v4
3135
3236 - name : Run performance benchmarks
3337 run : |
Original file line number Diff line number Diff line change 3535
3636 steps :
3737 - name : Checkout code
38- uses : actions/checkout@v5
38+ uses : actions/checkout@v6
3939
4040 - name : Setup PHP
4141 uses : shivammathur/setup-php@v2
@@ -46,12 +46,12 @@ jobs:
4646 if : ${{ matrix.composer-stability }}
4747 run : composer config minimum-stability ${{ matrix.composer-stability }}
4848
49- - name : Install symfony/clock for PHP >= 8.1
50- if : ${{ matrix.php-version >= '8.1' }}
51- run : composer require --dev symfony/clock:"^6.4 || ^7.0 || ^8.0" --no-update
49+ - name : Remove symfony/clock for PHP < 8.1
50+ if : ${{ matrix.php-version < '8.1' }}
51+ run : composer remove --dev symfony/clock --no-update
5252
5353 - name : Install dependencies with Composer
54- uses : ramsey/composer-install@v3
54+ uses : ramsey/composer-install@v4
5555 with :
5656 dependency-versions : " ${{ matrix.dependencies }}"
5757 composer-options : " ${{ matrix.composer-options }}"
Original file line number Diff line number Diff line change 1717 - " 7.4"
1818
1919 steps :
20- - name : " Checkout"
21- uses : " actions/checkout@v5 "
20+ - name : Checkout
21+ uses : actions/checkout@v6
2222
2323 - name : " Install PHP"
2424 uses : " shivammathur/setup-php@v2"
2828 tools : " cs2pr"
2929 extensions : pdo_sqlite
3030
31- - name : " Install dependencies with Composer"
32- uses : " ramsey/composer-install@v3"
31+ - name : Remove symfony/clock for PHP < 8.1
32+ if : ${{ matrix.php-version < '8.1' }}
33+ run : composer remove --dev symfony/clock --no-update
34+
35+ - name : Install dependencies with Composer
36+ uses : ramsey/composer-install@v4
3337
3438 - name : " Run PHP_CodeSniffer"
3539 run : " vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr"
Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v5
14+ - uses : actions/checkout@v6
1515 - name : Set up Python
1616 uses : actions/setup-python@v2
1717 with :
Original file line number Diff line number Diff line change 2424 - " 8.5"
2525
2626 steps :
27- - name : " Checkout code"
28- uses : " actions/checkout@v5 "
27+ - name : Checkout code
28+ uses : actions/checkout@v6
2929
3030 - name : " Install PHP"
3131 uses : " shivammathur/setup-php@v2"
@@ -35,18 +35,18 @@ jobs:
3535 tools : " cs2pr"
3636 extensions : pdo_sqlite
3737
38- - name : Install symfony/clock for PHP >= 8.1
39- if : ${{ matrix.php-version >= '8.1' }}
40- run : composer require --dev symfony/clock:"^6.4 || ^7.0 || ^8.0" --no-update
38+ - name : Remove symfony/clock for PHP < 8.1
39+ if : ${{ matrix.php-version < '8.1' }}
40+ run : composer remove --dev symfony/clock --no-update
4141
42- - name : " Install dependencies with Composer"
43- uses : " ramsey/composer-install@v3 "
42+ - name : Install dependencies with Composer
43+ uses : ramsey/composer-install@v4
4444 with :
4545 composer-options : " ${{ matrix.composer-options }}"
4646
4747 - name : " Run a static analysis with phpstan/phpstan"
4848 run : " vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr"
4949
5050 - name : " Run a static analysis with rector/rector"
51+ if : ${{ matrix.php-version == 8.5 }}
5152 run : " vendor/bin/rector --dry-run"
52- if : ${{ matrix.php-version == 8.4 }}
Original file line number Diff line number Diff line change 4848 "phpunit/phpunit" : " ^9.0 || ^10.0 || ^11.0" ,
4949 "psr/container" : " ^1.0 || ^2.0" ,
5050 "rector/rector" : " ^1.0.0 || ^2.0" ,
51+ "symfony/clock" : " ^6.4 || ^7.0 || ^8.0" ,
5152 "symfony/dependency-injection" : " ^5.4 || ^6.0 || ^7.0 || ^8.0" ,
5253 "symfony/expression-language" : " ^5.4 || ^6.0 || ^7.0 || ^8.0" ,
5354 "symfony/filesystem" : " ^5.4 || ^6.0 || ^7.0 || ^8.0" ,
You can’t perform that action at this time.
0 commit comments