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:
@@ -6,14 +6,14 @@ namespace Tests\Application\Security\Services;
|
||||
|
||||
use App\Application\Security\Events\File\SuspiciousFileUploadEvent;
|
||||
use App\Application\Security\Services\FileUploadSecurityService;
|
||||
use App\Framework\Core\Events\EventDispatcher;
|
||||
use App\Framework\Core\Events\EventDispatcherInterface;
|
||||
use App\Framework\Http\UploadedFile;
|
||||
use App\Framework\Http\UploadError;
|
||||
use Mockery;
|
||||
|
||||
describe('FileUploadSecurityService', function () {
|
||||
beforeEach(function () {
|
||||
$this->eventDispatcher = Mockery::mock(EventDispatcher::class);
|
||||
$this->eventDispatcher = Mockery::mock(EventDispatcherInterface::class);
|
||||
$this->service = new FileUploadSecurityService($this->eventDispatcher);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user