Skip to content

Commit 514ff09

Browse files
authored
chore: Bump to PHP 8.2 (#904)
1 parent 6a3a69e commit 514ff09

39 files changed

+121
-102
lines changed

.github/workflows/composer-root-version.yaml

Lines changed: 3 additions & 3 deletions
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.1'
27+
php-version: '8.2'
2828
tools: composer
2929
coverage: none
3030

@@ -54,7 +54,7 @@ jobs:
5454
strategy:
5555
fail-fast: false
5656
matrix:
57-
php: [ '8.1', '8.2' ]
57+
php: [ '8.2' ]
5858

5959
steps:
6060
- name: Checkout
@@ -108,7 +108,7 @@ jobs:
108108
- name: Setup PHP
109109
uses: shivammathur/setup-php@v2
110110
with:
111-
php-version: '8.1'
111+
php-version: '8.2'
112112
tools: composer
113113
coverage: none
114114

.github/workflows/e2e-tests.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
php:
26-
- '8.1'
2726
- '8.2'
2827
steps:
2928
- name: Checkout
@@ -88,14 +87,13 @@ jobs:
8887
- 'e2e_036'
8988
- 'e2e_037'
9089
php:
91-
- '8.1'
9290
- '8.2'
9391
composer:
9492
- 'composer:2.2'
9593
- 'composer'
9694
include:
9795
- e2e: 'e2e_039'
98-
php: '8.1'
96+
php: '8.2'
9997
composer: 'composer:2.2'
10098

10199
steps:

.github/workflows/lint.yaml

Lines changed: 3 additions & 3 deletions
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.1'
27+
php-version: '8.2'
2828
tools: composer
2929
coverage: none
3030

@@ -48,7 +48,7 @@ jobs:
4848
- name: Setup PHP
4949
uses: shivammathur/setup-php@v2
5050
with:
51-
php-version: '8.1'
51+
php-version: '8.2'
5252
tools: composer
5353
coverage: none
5454

@@ -72,7 +72,7 @@ jobs:
7272
- name: Setup PHP
7373
uses: shivammathur/setup-php@v2
7474
with:
75-
php-version: '8.1'
75+
php-version: '8.2'
7676
tools: composer
7777
coverage: none
7878

.github/workflows/release.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup PHP
3333
uses: shivammathur/setup-php@v2
3434
with:
35-
php-version: '8.1'
35+
php-version: '8.2'
3636
ini-values: phar.readonly=0
3737
tools: composer
3838
coverage: none
@@ -105,6 +105,11 @@ jobs:
105105
- name: Checkout
106106
uses: actions/checkout@v4
107107

108+
- name: Setup PHP
109+
uses: shivammathur/setup-php@v2
110+
with:
111+
php-version: '8.2'
112+
108113
- uses: actions/download-artifact@v3
109114
with:
110115
name: php-scoper-phar

.github/workflows/tests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ jobs:
6767
fail-fast: false
6868
matrix:
6969
php:
70-
- '8.1'
7170
- '8.2'
7271
steps:
7372
- name: Checkout

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
!/bin/infection.sh
2+
!/bin/php-scoper
13
/.box_dump/
24
/.php-cs-fixer.cache
35
/.phpcs-cache
46
/.phpunit*
57
/bin/*
6-
!/bin/infection.sh
7-
!/bin/php-scoper
88
/box.json
99
/clover.xml
1010
/fixtures/*/.box_dump/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.1-cli-alpine
1+
FROM php:8.2-cli-alpine
22

33
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
44
RUN install-php-extensions zlib phar sodium tokenizer filter

composer-root-version-checker/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Small utility to manipulate the Composer root version.",
44
"license": "proprietary",
55
"require": {
6-
"php": "^8.1",
6+
"php": "^8.2",
77
"psr/log": "^3.0",
88
"thecodingmachine/safe": "^2.4"
99
},

composer-root-version-checker/composer.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"require": {
20-
"php": "^8.1",
20+
"php": "^8.2",
2121
"fidry/console": "^0.5.0",
2222
"fidry/filesystem": "^1.1",
2323
"jetbrains/phpstorm-stubs": "^v2022.2",
@@ -67,7 +67,7 @@
6767
},
6868
"bin-dir": "bin",
6969
"platform": {
70-
"php": "8.1.0"
70+
"php": "8.2.0"
7171
},
7272
"sort-packages": true
7373
},

0 commit comments

Comments
 (0)