Skip to content

Commit c427100

Browse files
authored
Bump minimum version to PHP 8.1 (#41250)
1 parent 34439eb commit c427100

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+41
-91
lines changed

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup PHP
2525
uses: shivammathur/setup-php@v2
2626
with:
27-
php-version: 8.0
27+
php-version: 8.1
2828
tools: composer:v2
2929
coverage: none
3030

.github/workflows/tests.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
strategy:
3737
fail-fast: true
3838
matrix:
39-
php: ['8.0', '8.1']
39+
php: [8.1]
4040
stability: [prefer-lowest, prefer-stable]
4141

4242
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
@@ -57,14 +57,6 @@ jobs:
5757
REDIS_CONFIGURE_OPTS: --enable-redis --enable-redis-igbinary --enable-redis-msgpack --enable-redis-lzf --with-liblzf --enable-redis-zstd --with-libzstd --enable-redis-lz4 --with-liblz4
5858
REDIS_LIBS: liblz4-dev, liblzf-dev, libzstd-dev
5959

60-
- name: Set Minimum PHP 8.0 Versions
61-
uses: nick-invision/retry@v1
62-
with:
63-
timeout_minutes: 5
64-
max_attempts: 5
65-
command: composer require guzzlehttp/guzzle:^7.2 --no-interaction --no-update
66-
if: matrix.php >= 8
67-
6860
- name: Set Minimum PHP 8.1 Versions
6961
uses: nick-invision/retry@v1
7062
with:
@@ -104,7 +96,7 @@ jobs:
10496
strategy:
10597
fail-fast: true
10698
matrix:
107-
php: ['8.0', '8.1']
99+
php: [8.1]
108100
stability: [prefer-lowest, prefer-stable]
109101

110102
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - Windows
@@ -126,14 +118,6 @@ jobs:
126118
tools: composer:v2
127119
coverage: none
128120

129-
- name: Set Minimum PHP 8.0 Versions
130-
uses: nick-invision/retry@v1
131-
with:
132-
timeout_minutes: 5
133-
max_attempts: 5
134-
command: composer require guzzlehttp/guzzle:^7.2 --no-interaction --no-update
135-
if: matrix.php >= 8
136-
137121
- name: Install dependencies
138122
uses: nick-invision/retry@v1
139123
with:

bin/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
down=false
4-
php="8.0"
4+
php="8.1"
55

66
while true; do
77
case "$1" in

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^8.0.2",
18+
"php": "^8.1",
1919
"ext-mbstring": "*",
2020
"ext-openssl": "*",
2121
"doctrine/inflector": "^2.0",

src/Illuminate/Auth/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"require": {
17-
"php": "^8.0.2",
17+
"php": "^8.1",
1818
"illuminate/collections": "^10.0",
1919
"illuminate/contracts": "^10.0",
2020
"illuminate/http": "^10.0",

src/Illuminate/Broadcasting/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"require": {
17-
"php": "^8.0.2",
17+
"php": "^8.1",
1818
"ext-json": "*",
1919
"psr/log": "^1.0|^2.0|^3.0",
2020
"illuminate/bus": "^10.0",

src/Illuminate/Bus/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"require": {
17-
"php": "^8.0.2",
17+
"php": "^8.1",
1818
"illuminate/collections": "^10.0",
1919
"illuminate/contracts": "^10.0",
2020
"illuminate/pipeline": "^10.0",

src/Illuminate/Cache/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"require": {
17-
"php": "^8.0.2",
17+
"php": "^8.1",
1818
"illuminate/collections": "^10.0",
1919
"illuminate/contracts": "^10.0",
2020
"illuminate/macroable": "^10.0",

src/Illuminate/Collections/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"require": {
17-
"php": "^8.0.2",
17+
"php": "^8.1",
1818
"illuminate/conditionable": "^10.0",
1919
"illuminate/contracts": "^10.0",
2020
"illuminate/macroable": "^10.0"

src/Illuminate/Config/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"require": {
17-
"php": "^8.0.2",
17+
"php": "^8.1",
1818
"illuminate/collections": "^10.0",
1919
"illuminate/contracts": "^10.0"
2020
},

0 commit comments

Comments
 (0)