Skip to content

Commit 903e203

Browse files
committed
Drop php 8.1
1 parent 35f4bcb commit 903e203

File tree

5 files changed

+110
-96
lines changed

5 files changed

+110
-96
lines changed

.github/workflows/formatting.yaml

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,41 @@
11
name: Fix syling
22

33
on:
4-
push:
5-
branches:
6-
- master
7-
- "*.x"
8-
paths:
9-
- "**.php"
4+
push:
5+
branches:
6+
- master
7+
- "*.x"
8+
paths:
9+
- "**.php"
1010

11-
pull_request:
12-
paths:
13-
- "**.php"
11+
pull_request:
12+
paths:
13+
- "**.php"
1414

1515
permissions:
16-
contents: write
16+
contents: write
1717
jobs:
18-
php-cs-fixer:
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Checkout code
22-
uses: actions/checkout@v3
23-
with:
24-
ref: ${{ github.head_ref }}
18+
run:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v3
23+
with:
24+
ref: ${{ github.head_ref }}
2525

26-
- name: Install dependencies
27-
run: composer install
26+
- name: Setup PHP
27+
uses: shivammathur/setup-php@v2
28+
with:
29+
php-version: 8.2
30+
tools: composer:v2
31+
coverage: none
2832

29-
- name: Execute php-cs-fixer
30-
run: ./vendor/bin/php-cs-fixer fix
33+
- name: Install dependencies
34+
run: composer install
3135

32-
- uses: stefanzweifel/git-auto-commit-action@v4
33-
with:
34-
commit_message: Fix styling
36+
- name: Execute php-cs-fixer
37+
run: ./vendor/bin/php-cs-fixer fix
38+
39+
- uses: stefanzweifel/git-auto-commit-action@v4
40+
with:
41+
commit_message: Fix styling

.github/workflows/static-analysis.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,35 @@
22
name: static analysis
33

44
on:
5-
push:
6-
branches:
7-
- master
8-
- '*.x'
9-
pull_request:
5+
push:
6+
branches:
7+
- master
8+
- '*.x'
9+
pull_request:
1010

1111
jobs:
12-
run:
13-
runs-on: ubuntu-latest
14-
strategy:
15-
fail-fast: true
12+
run:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: true
1616

17-
steps:
18-
- name: Checkout code
19-
uses: actions/checkout@v3
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v3
2020

21-
- name: Setup PHP
22-
uses: shivammathur/setup-php@v2
23-
with:
24-
php-version: 8.1
25-
tools: composer:v2
26-
coverage: none
21+
- name: Setup PHP
22+
uses: shivammathur/setup-php@v2
23+
with:
24+
php-version: 8.2
25+
tools: composer:v2
26+
coverage: none
2727

28-
- name: Install dependencies
29-
uses: nick-fields/retry@v2
30-
with:
31-
timeout_minutes: 5
32-
max_attempts: 5
33-
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
28+
- name: Install dependencies
29+
uses: nick-fields/retry@v2
30+
with:
31+
timeout_minutes: 5
32+
max_attempts: 5
33+
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
3434

35-
- name: Execute PHPStan
36-
run: vendor/bin/phpstan --configuration="phpstan.neon.dist"
35+
- name: Execute PHPStan
36+
run: vendor/bin/phpstan --configuration="phpstan.neon.dist"

.github/workflows/tests.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
name: "Tests"
22

33
on:
4-
push:
5-
branches:
6-
- master
7-
- '*.x'
8-
pull_request:
4+
push:
5+
branches:
6+
- master
7+
- '*.x'
8+
pull_request:
99

1010
jobs:
11-
run:
12-
runs-on: ubuntu-latest
13-
strategy:
14-
matrix:
15-
php-versions: ["8.1", "8.2"]
16-
steps:
17-
- name: Setup PHP
18-
uses: shivammathur/setup-php@v2
19-
with:
20-
php-version: ${{ matrix.php-versions }}
11+
run:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
php-versions: ["8.2", "8.3"]
16+
steps:
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: ${{ matrix.php-versions }}
2121

22-
- name: Checkout code
23-
uses: actions/checkout@v3
22+
- name: Checkout code
23+
uses: actions/checkout@v3
2424

25-
- name: Install dependencies
26-
run: composer install --prefer-dist --no-progress --no-interaction
25+
- name: Install dependencies
26+
run: composer install --prefer-dist --no-progress --no-interaction
2727

28-
- name: Execute tests
29-
run: ./vendor/bin/pest
28+
- name: Execute tests
29+
run: ./vendor/bin/pest

.github/workflows/view-compiling.yaml

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,41 @@
11
name: View Compiling
22

33
on:
4-
push:
5-
branches:
6-
- master
7-
- "*.x"
8-
paths:
9-
- "**.php"
4+
push:
5+
branches:
6+
- master
7+
- "*.x"
8+
paths:
9+
- "**.php"
1010

11-
pull_request:
12-
paths:
13-
- "**.php"
11+
pull_request:
12+
paths:
13+
- "**.php"
1414

1515
permissions:
16-
contents: write
16+
contents: write
1717
jobs:
18-
run:
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Checkout code
22-
uses: actions/checkout@v3
23-
with:
24-
ref: ${{ github.head_ref }}
18+
run:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v3
23+
with:
24+
ref: ${{ github.head_ref }}
2525

26-
- name: Install dependencies
27-
run: composer install
26+
- name: Setup PHP
27+
uses: shivammathur/setup-php@v2
28+
with:
29+
php-version: 8.2
30+
tools: composer:v2
31+
coverage: none
2832

29-
- name: Execute script
30-
run: php .github/scripts/compile-templates.php
33+
- name: Install dependencies
34+
run: composer install
3135

32-
- uses: stefanzweifel/git-auto-commit-action@v4
33-
with:
34-
commit_message: Compiling Templates
36+
- name: Execute script
37+
run: php .github/scripts/compile-templates.php
38+
39+
- uses: stefanzweifel/git-auto-commit-action@v4
40+
with:
41+
commit_message: Compiling Templates

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
],
2323
"require": {
24-
"php": "^8.1",
24+
"php": "^8.2",
2525
"illuminate/support": "^10.0",
2626
"illuminate/validation": "^10.0",
2727
"symfony/html-sanitizer": "^7.0"

0 commit comments

Comments
 (0)