Skip to content

Ignore port when verifying origin #1155

Ignore port when verifying origin

Ignore port when verifying origin #1155

Triggered via push October 6, 2025 13:01
Status Failure
Total duration 58s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
PHPStan
Process completed with exit code 1.
PHPStan: src/EventListener/OriginListener.php#L61
Cannot access offset 'scheme' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan: src/EventListener/OriginListener.php#L61
Cannot access offset 'host' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan: src/EventListener/OriginListener.php#L60
Parameter #1 $url of function parse_url expects string, string|null given.