feat(Docker): Upgrade to PHP 8.5.0RC3 with native ext-uri support

BREAKING CHANGE: Requires PHP 8.5.0RC3

Changes:
- Update Docker base image from php:8.4-fpm to php:8.5.0RC3-fpm
- Enable ext-uri for native WHATWG URL parsing support
- Update composer.json PHP requirement from ^8.4 to ^8.5
- Add ext-uri as required extension in composer.json
- Move URL classes from Url.php85/ to Url/ directory (now compatible)
- Remove temporary PHP 8.4 compatibility workarounds

Benefits:
- Native URL parsing with Uri\WhatWg\Url class
- Better performance for URL operations
- Future-proof with latest PHP features
- Eliminates PHP version compatibility issues
This commit is contained in:
2025-10-27 09:31:28 +01:00
parent 799f74f00a
commit c8b47e647d
81 changed files with 6988 additions and 601 deletions

View File

@@ -6,7 +6,10 @@
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"exclude-from-classmap": [
"src/**/*.php85/**"
]
},
"autoload-dev": {
"psr-4": {
@@ -32,7 +35,7 @@
}
},
"require": {
"php": "^8.4 || ^8.5",
"php": "^8.5",
"predis/predis": "^3.0",
"ext-dom": "*",
"ext-libxml": "*",
@@ -44,9 +47,9 @@
"ext-pdo": "*",
"ext-openssl": "*",
"ext-bcmath": "*",
"ext-uri": "*",
"ext-sodium": "*",
"ext-posix": "*"
"ext-posix": "*",
"ext-uri": "*"
},
"suggest": {
"ext-apcu": "For better caching performance (not yet available for PHP 8.5)",