Skip to content

Commit f13e5df

Browse files
authored
Patch framework (v4.6.0 => v4.6.3) (#240)
* Patch framework (v4.6.0 => v4.6.3) * update dependencies * update deptrac.yaml * cleanup dependencies * update workflows * update phpunit.xml.dist * update psalm.xml * update phpstan.yml * bump minimum PHP version to 8.2
1 parent 6a90352 commit f13e5df

31 files changed

+2434
-1131
lines changed

.github/workflows/deptrac.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ on:
2121
jobs:
2222
deptrac:
2323
uses: codeigniter4/.github/.github/workflows/deptrac.yml@CI46
24+
with:
25+
php-version: '8.2'

.github/workflows/infection.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ on:
1313
jobs:
1414
infection:
1515
uses: codeigniter4/.github/.github/workflows/infection.yml@CI46
16+
with:
17+
php-version: '8.2'

.github/workflows/phpcpd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ jobs:
1919
uses: codeigniter4/.github/.github/workflows/phpcpd.yml@CI46
2020
with:
2121
dirs: "src/ tests/"
22+
php-version: '8.2'

.github/workflows/phpcsfixer.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,11 @@ on:
1616

1717
jobs:
1818
phpcsfixer:
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
php-version: ['8.2', '8.4']
23+
1924
uses: codeigniter4/.github/.github/workflows/phpcsfixer.yml@CI46
25+
with:
26+
php-version: ${{ matrix.php-version }}

.github/workflows/phpstan.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,11 @@ on:
2020

2121
jobs:
2222
phpstan:
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
php-version: ['8.2', '8.4']
27+
2328
uses: codeigniter4/.github/.github/workflows/phpstan.yml@CI46
29+
with:
30+
php-version: ${{ matrix.php-version }}

.github/workflows/phpunit.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,35 @@ on:
2020

2121
jobs:
2222
phpunit:
23+
strategy:
24+
matrix:
25+
php-version: ['8.2', '8.3', '8.4']
26+
db-platform: ['MySQLi', 'SQLite3']
27+
mysql-version: ['8.0']
28+
dependencies: ['highest']
29+
include:
30+
# MySQL 5.7
31+
- php-version: '8.2'
32+
db-platform: MySQLi
33+
mysql-version: '5.7'
34+
# Postgre
35+
- php-version: '8.2'
36+
db-platform: Postgre
37+
mysql-version: '8.0'
38+
# SQLSRV
39+
- php-version: '8.2'
40+
db-platform: SQLSRV
41+
mysql-version: '8.0'
42+
# OCI8
43+
- php-version: '8.2'
44+
db-platform: OCI8
45+
mysql-version: '8.0'
46+
2347
uses: codeigniter4/.github/.github/workflows/phpunit.yml@CI46
48+
with:
49+
php-version: ${{ matrix.php-version }}
50+
db-platform: ${{ matrix.db-platform }}
51+
mysql-version: ${{ matrix.mysql-version }}
52+
dependencies: ${{ matrix.dependencies }}
53+
coveralls-php: '8.2'
54+

.github/workflows/psalm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ on:
2121
jobs:
2222
psalm:
2323
uses: codeigniter4/.github/.github/workflows/psalm.yml@CI46
24+
with:
25+
php-version: '8.2'

.github/workflows/rector.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,11 @@ on:
2020

2121
jobs:
2222
rector:
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
php-version: ['8.2', '8.4']
27+
2328
uses: codeigniter4/.github/.github/workflows/rector.yml@CI46
29+
with:
30+
php-version: ${{ matrix.php-version }}

.github/workflows/unused.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ on:
1919
jobs:
2020
unused:
2121
uses: codeigniter4/.github/.github/workflows/unused.yml@CI46
22+
with:
23+
php-version: '8.2'

app/Config/Autoload.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
*
1818
* NOTE: This class is required prior to Autoloader instantiation,
1919
* and does not extend BaseConfig.
20-
*
21-
* @immutable
2220
*/
2321
class Autoload extends AutoloadConfig
2422
{

0 commit comments

Comments
 (0)