Skip to content

Commit 6b72bf1

Browse files
chore: update CI, Docker, dependencies, and PHPStan config
Refine CI workflow Update Dockerfile for environment Bump dependencies in composer Adjust PHPStan neon for new structure
1 parent 46c0ae6 commit 6b72bf1

File tree

5 files changed

+794
-334
lines changed

5 files changed

+794
-334
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
test:
1212
name: Run Tests
1313
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
php-version: [8.3]
1417

1518
services:
1619
postgres:
@@ -44,7 +47,7 @@ jobs:
4447
- name: Setup PHP
4548
uses: shivammathur/setup-php@v2
4649
with:
47-
php-version: "8.2"
50+
php-version: "8.3"
4851
extensions: mbstring, pdo, pdo_pgsql, bcmath, zip
4952

5053
- name: Cache Composer packages
@@ -106,6 +109,9 @@ jobs:
106109
code-quality:
107110
name: Code Quality Checks
108111
runs-on: ubuntu-latest
112+
strategy:
113+
matrix:
114+
php-version: [8.3]
109115

110116
steps:
111117
- name: Checkout code
@@ -114,7 +120,7 @@ jobs:
114120
- name: Setup PHP
115121
uses: shivammathur/setup-php@v2
116122
with:
117-
php-version: "8.2"
123+
php-version: "8.3"
118124
tools: phpstan, pint
119125

120126
- name: Cache Composer packages
@@ -141,6 +147,9 @@ jobs:
141147
security:
142148
name: Security Checks
143149
runs-on: ubuntu-latest
150+
strategy:
151+
matrix:
152+
php-version: [8.3]
144153

145154
steps:
146155
- name: Checkout code
@@ -149,7 +158,7 @@ jobs:
149158
- name: Setup PHP
150159
uses: shivammathur/setup-php@v2
151160
with:
152-
php-version: "8.2"
161+
php-version: "8.3"
153162

154163
- name: Cache Composer packages
155164
uses: actions/cache@v3

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use explicit Alpine 3.20 or 3.21 variant → much more stable for PHP 8.2 extensions in 2025–2026
2-
FROM php:8.2-fpm-alpine3.20
2+
FROM php:8.3-fpm-alpine3.20
33

44
# The rest of your Dockerfile remains almost identical
55
# ==================================================================

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@
1313
"require": {
1414
"php": "^8.2",
1515
"darkaonline/l5-swagger": "^10.1",
16-
"doctrine/annotations": "^2.0",
1716
"laravel/framework": "^12.0",
1817
"laravel/sanctum": "^4.3",
1918
"laravel/tinker": "^2.11",
2019
"predis/predis": "^2.0",
21-
"spatie/data-transfer-object": "^3.0",
20+
"spatie/data-transfer-object": "^3.9",
21+
"spatie/laravel-data": "^4.19",
2222
"spatie/laravel-permission": "^6.24"
2323
},
2424
"require-dev": {
2525
"fakerphp/faker": "^1.23",
26+
"larastan/larastan": "^3.9",
2627
"laravel/pint": "^1.27",
2728
"laravel/sail": "^1.0",
2829
"laravel/telescope": "^5.17",
2930
"mockery/mockery": "^1.6",
3031
"nunomaduro/collision": "^8.0",
31-
"nunomaduro/larastan": "^3.9",
3232
"phpstan/phpstan": "^2.1",
3333
"phpstan/phpstan-mockery": "^2.0",
3434
"phpunit/phpunit": "^11.0",

0 commit comments

Comments
 (0)