Skip to content

Commit a02325f

Browse files
Nyholmweaverryan
authored andcommitted
Update to PHP 8.2
1 parent ec49018 commit a02325f

File tree

7 files changed

+154
-151
lines changed

7 files changed

+154
-151
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up PHP
1616
uses: shivammathur/[email protected]
1717
with:
18-
php-version: 8.1
18+
php-version: 8.2
1919
coverage: none
2020

2121
- name: Checkout code

.github/workflows/static.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ on:
99
jobs:
1010
phpstan:
1111
name: PHPStan
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313

1414
steps:
1515
- name: Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: 8.1
18+
php-version: 8.2
1919
coverage: none
20-
tools: phpstan:1.4.6, cs2pr
20+
tools: phpstan:1.10, cs2pr
2121

2222
- name: Checkout code
2323
uses: actions/checkout@v2
@@ -30,15 +30,15 @@ jobs:
3030

3131
php-cs-fixer:
3232
name: PHP-CS-Fixer
33-
runs-on: ubuntu-20.04
33+
runs-on: ubuntu-latest
3434

3535
steps:
3636
- name: Setup PHP
3737
uses: shivammathur/setup-php@v2
3838
with:
39-
php-version: 8.1
39+
php-version: 8.2
4040
coverage: none
41-
tools: php-cs-fixer:3.6, cs2pr
41+
tools: php-cs-fixer:3.42, cs2pr
4242

4343
- name: Checkout code
4444
uses: actions/checkout@v2
@@ -48,14 +48,14 @@ jobs:
4848

4949
psalm:
5050
name: Psalm
51-
runs-on: ubuntu-20.04
51+
runs-on: ubuntu-latest
5252
steps:
5353
- name: Setup PHP
5454
uses: shivammathur/setup-php@v2
5555
with:
56-
php-version: 8.1
56+
php-version: 8.2
5757
coverage: none
58-
tools: vimeo/psalm:4.22.0
58+
tools: vimeo/psalm:5.18.0
5959

6060
- name: Checkout code
6161
uses: actions/checkout@v2

.platform.app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: carson-bot
22

3-
type: php:8.1
3+
type: php:8.2
44

55
runtime:
66
extensions:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "project",
55
"license": "MIT",
66
"require": {
7-
"php": ">=8.1",
7+
"php": ">=8.2",
88
"ext-json": "*",
99
"composer/package-versions-deprecated": "^1.11",
1010
"doctrine/common": "^3.0",
@@ -41,7 +41,7 @@
4141
},
4242
"config": {
4343
"platform": {
44-
"php": "8.1"
44+
"php": "8.2"
4545
},
4646
"preferred-install": {
4747
"*": "dist"

0 commit comments

Comments
 (0)