Skip to content

Commit 68713ec

Browse files
committed
Run Tools Using Php8.3
Php8.1 is approaching EOL. Change our tools to run under 8.3 instead. I do not anticipate any difficulty for phpstan, php-cs-fixer, phpcs, phpdoc-types, versions, or coverage. PhpDocumetor needs to run with an updated phar, and I'm not sure whether it will be run until a release happens. No idea how Scrutinizer will handle the change; I'll just have to try it and see.
1 parent 318a82e commit 68713ec

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/github-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
- name: Setup PHP, with composer and extensions
1919
uses: shivammathur/setup-php@v2
2020
with:
21-
php-version: 8.1
21+
php-version: 8.3
2222
coverage: none # remove xdebug
2323

2424
- name: Build API documentation
2525
run: |
26-
curl -LO https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.4.1/phpDocumentor.phar
26+
curl -LO https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.5.0/phpDocumentor.phar
2727
php phpDocumentor.phar --directory src/ --target docs/api
2828
2929
- name: Deploy to GithHub Pages

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- name: Setup PHP, with composer and extensions
7575
uses: shivammathur/setup-php@v2
7676
with:
77-
php-version: 8.1
77+
php-version: 8.3
7878
extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
7979
coverage: none
8080

@@ -91,7 +91,7 @@ jobs:
9191
- name: Setup PHP, with composer and extensions
9292
uses: shivammathur/setup-php@v2
9393
with:
94-
php-version: 8.1
94+
php-version: 8.3
9595
extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
9696
coverage: none
9797
tools: cs2pr
@@ -122,7 +122,7 @@ jobs:
122122
- name: Setup PHP, with composer and extensions
123123
uses: shivammathur/setup-php@v2
124124
with:
125-
php-version: 8.1
125+
php-version: 8.3
126126
extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
127127
coverage: none
128128
tools: cs2pr
@@ -153,7 +153,7 @@ jobs:
153153
- name: Setup PHP, with composer and extensions
154154
uses: shivammathur/setup-php@v2
155155
with:
156-
php-version: 8.1
156+
php-version: 8.3
157157
extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
158158
coverage: none
159159
tools: cs2pr
@@ -184,7 +184,7 @@ jobs:
184184
- name: Setup PHP, with composer and extensions
185185
uses: shivammathur/setup-php@v2
186186
with:
187-
php-version: 8.1
187+
php-version: 8.3
188188
extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
189189
coverage: none
190190
tools: cs2pr
@@ -217,7 +217,7 @@ jobs:
217217
- name: Setup PHP, with composer and extensions
218218
uses: shivammathur/setup-php@v2
219219
with:
220-
php-version: 8.1
220+
php-version: 8.3
221221
extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
222222
coverage: pcov
223223

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build:
1414
analysis:
1515
image: default-bionic
1616
environment:
17-
php: 8.1
17+
php: 8.3
1818
tests:
1919
override:
2020
- php-scrutinizer-run

0 commit comments

Comments
 (0)