improve security

This commit is contained in:
lubiana 2025-06-28 16:52:26 +02:00
parent e883913d3a
commit 137e4bc0c1
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
3 changed files with 8 additions and 0 deletions

View file

@ -54,4 +54,5 @@ test('it handles null content', function (): void {
test('it has correct defaultstatuscode', function (): void {
$response = new PlaintextResponse('Hello, World!');
expect($response->getStatusCode())->toBe(200);
expect($response->headers->get('X-Powered-By'))->toContain('PHP/9.9.9');
});