Skip to content

chore(ZMSKVR-690 GH-1280): Upgrade from php 8.3 to 8.4 #1369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 27 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
31043af
chore(GH-1280): Upgrade zms from PHP 8.3 to PHP 8.4 in all modules Pr…
ThomasAFink Aug 20, 2025
ec5bf57
chore(GH-1280): fix PHP 8.4 compatibility by updating Aura SQL to v6.…
ThomasAFink Aug 20, 2025
04d6884
chore(GH-1280): fix PHP 8.4 implicitly nullable parameter deprecation…
ThomasAFink Aug 20, 2025
ccb7c06
chore(GH-1280): fix additional PHP 8.4 implicitly nullable parameters…
ThomasAFink Aug 20, 2025
12b4ce2
chore(GH-1280): fix remaining PHP 8.4 implicitly nullable parameter. …
ThomasAFink Aug 20, 2025
fa1b8fc
chore(GH-1280): fix remaining PHP 8.4 implicitly nullable parameter. …
ThomasAFink Aug 20, 2025
3c4d5e0
chore(GH-1280): upgrade slim/psr7 to v1.7.1 for PHP 8.4 compatibility
ThomasAFink Aug 20, 2025
5002d20
chore(GH-1280): fix more PHP 8.4 implicitly nullable parameters. Reso…
ThomasAFink Aug 20, 2025
1632c4a
chore(GH-1280): fix ClusterTest null entity error
ThomasAFink Aug 20, 2025
a21508e
chore(GH-1280): fix more PHP 8.4 implicitly nullable parameters.
ThomasAFink Aug 20, 2025
2323b32
chore(GH-1280): fix League CSV EscapeFormula deprecated method usage
ThomasAFink Aug 20, 2025
1116455
chore(GH-1280): fix League CSV deprecated BOM constant usage
ThomasAFink Aug 20, 2025
f3abf63
fix(GH-1280): Fix more explicit nullable type hints for PHP 8.4 compa…
ThomasAFink Aug 20, 2025
0131d09
fix(GH-1280): Fix more explicit nullable type hints for PHP 8.4 compa…
ThomasAFink Aug 20, 2025
a84df44
fix(GH-1280): prevent array access on false in Dldb topic lookup Prev…
ThomasAFink Aug 20, 2025
11836e9
chore(GH-1280): clean up offsetSet method to return bool
ThomasAFink Aug 20, 2025
8d04b3d
fix(GH-1280): resolve PHP 8.4 bcrypt cost parameter compatibility iss…
ThomasAFink Aug 20, 2025
fb6cacd
chore(GH-1280): clean up offsetSet method to return void
ThomasAFink Aug 20, 2025
38e5037
chore(GH-1280): fix PHP 8.4 compatibility issues
ThomasAFink Aug 20, 2025
f18a1dd
chore(GH-1280): fix PHP 8.4 nullable parameter deprecation warnings i…
ThomasAFink Aug 20, 2025
b353dbd
chore(GH-1280): fix deprecated League\Csv\EscapeFormula::__invoke() u…
ThomasAFink Aug 20, 2025
8a827a5
chore(GH-1280): fix PHP 8.4 nullable parameter deprecation in zmsdb B…
ThomasAFink Aug 20, 2025
ec657d1
chore(GH-1280): fix PHP 8.4 compatibility issues in zmsdb tests and S…
ThomasAFink Aug 20, 2025
29387ec
chore(GH-1280): fix testChangeByTimeIntegration test logic in SlotTest
ThomasAFink Aug 20, 2025
0419e1f
chore(GH-1280): reorder module install sequence and regenerate compos…
ThomasAFink Aug 20, 2025
c2df7b6
chore(GH-1280): fix production autoloading by mirroring path reposito…
ThomasAFink Aug 20, 2025
ca11eb8
chore(GH-1280): add --optimize-autoloader flag to all module Makefiles
ThomasAFink Aug 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ddev/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: zms
type: php
docroot: ""
php_version: "8.3"
php_version: "8.4"
webserver_type: apache-fpm
xdebug_enabled: false
additional_hostnames: []
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-api-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
php-version: '8.4'
extensions: mbstring, json
tools: composer

Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/owasp-security-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,31 @@ jobs:
matrix:
include:
- module: mellon
php_version: "8.3"
php_version: "8.4"
- module: zmsadmin
php_version: "8.3"
php_version: "8.4"
- module: zmsapi
php_version: "8.3"
php_version: "8.4"
- module: zmscalldisplay
php_version: "8.3"
php_version: "8.4"
- module: zmscitizenapi
php_version: "8.3"
php_version: "8.4"
- module: zmsmessaging
php_version: "8.3"
php_version: "8.4"
- module: zmsstatistic
php_version: "8.3"
php_version: "8.4"
- module: zmsticketprinter
php_version: "8.3"
php_version: "8.4"
- module: zmsdldb
php_version: "8.3"
php_version: "8.4"
- module: zmsentities
php_version: "8.3"
php_version: "8.4"
- module: zmsslim
php_version: "8.3"
php_version: "8.4"
- module: zmsdb
php_version: "8.3"
php_version: "8.4"
- module: zmsclient
php_version: "8.3"
php_version: "8.4"
container:
image: "ghcr.io/it-at-m/eappointment-php-base:${{ matrix.php_version }}-dev"
outputs:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/php-build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ jobs:
matrix:
include:
- module: zmsadmin
php_version: "8.3"
php_version: "8.4"
- module: zmsapi
php_version: "8.3"
php_version: "8.4"
- module: zmscalldisplay
php_version: "8.3"
php_version: "8.4"
- module: zmscitizenapi
php_version: "8.3"
php_version: "8.4"
- module: zmsmessaging
php_version: "8.3"
php_version: "8.4"
- module: zmsstatistic
php_version: "8.3"
php_version: "8.4"
- module: zmsticketprinter
php_version: "8.3"
php_version: "8.4"
26 changes: 13 additions & 13 deletions .github/workflows/php-code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,28 @@ jobs:
matrix:
include:
- module: mellon
php_version: "8.3"
php_version: "8.4"
- module: zmsadmin
php_version: "8.3"
php_version: "8.4"
- module: zmsapi
php_version: "8.3"
php_version: "8.4"
- module: zmscalldisplay
php_version: "8.3"
php_version: "8.4"
- module: zmscitizenapi
php_version: "8.3"
php_version: "8.4"
- module: zmsclient
php_version: "8.3"
php_version: "8.4"
- module: zmsdb
php_version: "8.3"
php_version: "8.4"
- module: zmsdldb
php_version: "8.3"
php_version: "8.4"
- module: zmsentities
php_version: "8.3"
php_version: "8.4"
- module: zmsmessaging
php_version: "8.3"
php_version: "8.4"
- module: zmsslim
php_version: "8.3"
php_version: "8.4"
- module: zmsstatistic
php_version: "8.3"
php_version: "8.4"
- module: zmsticketprinter
php_version: "8.3"
php_version: "8.4"
26 changes: 13 additions & 13 deletions .github/workflows/php-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,30 +86,30 @@ jobs:
matrix:
include:
- module: mellon
php_version: "8.3"
php_version: "8.4"
- module: zmsadmin
php_version: "8.3"
php_version: "8.4"
- module: zmscalldisplay
php_version: "8.3"
php_version: "8.4"
- module: zmscitizenapi
php_version: "8.3"
php_version: "8.4"
- module: zmsdldb
php_version: "8.3"
php_version: "8.4"
- module: zmsentities
php_version: "8.3"
php_version: "8.4"
- module: zmsmessaging
php_version: "8.3"
php_version: "8.4"
- module: zmsslim
php_version: "8.3"
php_version: "8.4"
- module: zmsstatistic
php_version: "8.3"
php_version: "8.4"
- module: zmsticketprinter
php_version: "8.3"
php_version: "8.4"

zmsapi-test:
runs-on: ubuntu-latest
container:
image: "ghcr.io/it-at-m/eappointment-php-base:8.3-dev"
image: "ghcr.io/it-at-m/eappointment-php-base:8.4-dev"
services:
mariadb:
image: mariadb:10.11
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
zmsdb-test:
runs-on: ubuntu-latest
container:
image: "ghcr.io/it-at-m/eappointment-php-base:8.3-dev"
image: "ghcr.io/it-at-m/eappointment-php-base:8.4-dev"
services:
mariadb:
image: mariadb:10.11
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php_version: "8.3"
php_version: "8.4"
extensions: mbstring, xml, ctype, iconv, intl, pdo_mysql
coverage: xdebug

Expand Down
12 changes: 6 additions & 6 deletions cli
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ def print_info(string):
repo_dir = os.path.dirname(os.path.abspath(sys.argv[0]))
modules = [
"mellon",
"zmsslim",
"zmsentities",
"zmsdldb",
"zmsdb",
"zmsclient",
"zmsadmin",
"zmsapi",
"zmscalldisplay",
"zmscitizenapi",
"zmsclient",
"zmsdb",
"zmsdldb",
"zmsentities",
"zmsmessaging",
"zmsslim",
"zmsstatistic",
"zmscitizenapi",
"zmsticketprinter",
]

Expand Down
2 changes: 1 addition & 1 deletion mellon/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"roave/security-advisories": "dev-latest"
},
"require": {
"php": ">=8.3",
"php": ">=8.4",
"ext-json": ">=0",
"ext-pcre": ">=0",
"roave/security-advisories": "dev-latest"
Expand Down
Loading
Loading