Skip to content

feat: replace request ip with Cf-Connecting-Ip value #167

feat: replace request ip with Cf-Connecting-Ip value

feat: replace request ip with Cf-Connecting-Ip value #167

Triggered via pull request March 10, 2024 17:15
Status Failure
Total duration 40s
Artifacts

static.yml

on: pull_request
Static analysis  /  Psalm
30s
Static analysis / Psalm
Static analysis  /  PHPStan
30s
Static analysis / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Static analysis / PHPStan: src/Http/Middleware/TrustProxies.php#L21
Parameter #2 $next (Closure(Illuminate\Http\Request): Symfony\Component\HttpFoundation\Response) of method Monicahq\Cloudflare\Http\Middleware\TrustProxies::handle() should be contravariant with parameter $next (Closure) of method Illuminate\Http\Middleware\TrustProxies::handle()
Static analysis / PHPStan
Process completed with exit code 1.