Skip to content

Commit 3f1ce70

Browse files
committed
Revert "adjust composer.json"
This reverts commit d68f12b.
1 parent d68f12b commit 3f1ce70

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php-version: ['8.2', '8.3', '8.4']
16+
php-version: ['8.1', '8.2', '8.3', '8.4']
1717
prefer-lowest: ['']
1818
include:
19-
- php-version: '8.2'
19+
- php-version: '8.1'
2020
prefer-lowest: 'prefer-lowest'
2121

2222
steps:
@@ -42,27 +42,27 @@ jobs:
4242
run: |
4343
if [[ "${{ matrix.prefer-lowest }}" == "prefer-lowest" ]]; then
4444
make install-dev-lowest
45-
elif [[ "${{ matrix.php-version }}" == "8.2" ]]; then
45+
elif [[ "${{ matrix.php-version }}" == "8.1" ]]; then
4646
make install-dev-ignore-reqs
4747
else
4848
make install-dev
4949
fi
5050
5151
- name: Setup problem matchers for PHPUnit
52-
if: matrix.php-version == '8.2'
52+
if: matrix.php-version == '8.1'
5353
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
5454

5555
- name: Run PHPUnit
5656
run: |
57-
if [[ "${{ matrix.php-version }}" == "8.2" && "${{ matrix.prefer-lowest }}" != "prefer-lowest" ]]; then
57+
if [[ "${{ matrix.php-version }}" == "8.1" && "${{ matrix.prefer-lowest }}" != "prefer-lowest" ]]; then
5858
export CODECOVERAGE=1
5959
vendor/bin/phpunit --display-incomplete --display-skipped --coverage-clover=coverage.xml
6060
else
6161
vendor/bin/phpunit
6262
fi
6363
6464
- name: Submit code coverage
65-
if: matrix.php-version == '8.2' && matrix.prefer-lowest != 'prefer-lowest'
65+
if: matrix.php-version == '8.1' && matrix.prefer-lowest != 'prefer-lowest'
6666
uses: codecov/codecov-action@v5
6767

6868
cs-stan:
@@ -75,15 +75,15 @@ jobs:
7575
- name: Setup PHP
7676
uses: shivammathur/setup-php@v2
7777
with:
78-
php-version: '8.2'
78+
php-version: '8.1'
7979
extensions: mbstring, intl
8080
coverage: none
8181

8282
- name: Cache composer dependencies
8383
uses: actions/cache@v4
8484
with:
8585
path: ~/.composer/cache
86-
key: ${{ runner.os }}-composer-8.2-${{ hashFiles('**/composer.lock') }}
86+
key: ${{ runner.os }}-composer-8.1-${{ hashFiles('**/composer.lock') }}
8787

8888
- name: Composer install
8989
run: make install-dev

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"homepage": "https://cakephp.org",
66
"license": "MIT",
77
"require": {
8-
"php": "^8.2",
8+
"php": "^8.1",
99
"cakephp/console": "^5.1.5",
1010
"nette/utils": "^4.0",
1111
"rector/rector": "~2.2.3",

0 commit comments

Comments
 (0)