deprecated wip #241
Annotations
7 errors
|
PHPStan
Process completed with exit code 1.
|
|
PHPStan:
src/Http/Session.php#L0
Ignored error pattern #^Method Nette\\Http\\IResponse\:\:setCookie\(\) invoked with 8 parameters, 3\-7 required\.$# (arguments.count) in path /home/runner/work/http/http/src/Http/Session.php was not matched in reported errors.
|
|
PHPStan:
src/Http/Response.php#L231
Parameter #8 $sameSite ('Lax'|'None'|'Strict') of method Nette\Http\Response::setCookie() should be contravariant with parameter $sameSite (string) of method Nette\Http\IResponse::setCookie()
|
|
PHPStan:
src/Http/Response.php#L231
PHPDoc tag `@param` for parameter $sameSite with type string|null is not subtype of native type string.
|
|
PHPStan:
src/Http/RequestFactory.php#L87
Class Nette\Http\Request constructor invoked with 9 parameters, 1-8 required.
|
|
PHPStan:
src/Http/Request.php#L0
Ignored error pattern #^Constructor of class Nette\\Http\\Request has an unused parameter \$remoteHost\.$# (constructor.unusedParameter) in path /home/runner/work/http/http/src/Http/Request.php was not matched in reported errors.
|
|
PHPStan:
src/Http/Helpers.php#L0
Ignored error pattern #^Unknown parameter \$sameSite in call to method Nette\\Http\\IResponse\:\:setCookie\(\)\.$# (argument.unknown) in path /home/runner/work/http/http/src/Http/Helpers.php was not matched in reported errors.
|