Skip to content

WIP: Cookies

WIP: Cookies #56

Triggered via push August 23, 2025 10:47
Status Failure
Total duration 28s
Artifacts

phpstan.yml

on: push
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

17 errors
PHPStan 8.3
Process completed with exit code 1.
PHPStan 8.3: src/Cookie.php#L54
Parameter #2 $string of function explode expects string, string|null given.
PHPStan 8.3: src/Cookie.php#L54
Parameter #2 $callback of function array_filter expects (callable(string): bool)|null, 'trim' given.
PHPStan 8.3: src/Client.php#L106
Parameter #1 $headerLine of static method SharkMachine\Psr18Shark\Cookie::createFromHeaderLine() expects non-empty-string, string given.
PHPStan 8.3: src/Client.php#L31
Property SharkMachine\Psr18Shark\Client::$cookies is never read, only written.
PHPStan 8.4
Process completed with exit code 1.
PHPStan 8.4: src/Cookie.php#L54
Parameter #2 $string of function explode expects string, string|null given.
PHPStan 8.4: src/Cookie.php#L54
Parameter #2 $callback of function array_filter expects (callable(string): bool)|null, 'trim' given.
PHPStan 8.4: src/Client.php#L106
Parameter #1 $headerLine of static method SharkMachine\Psr18Shark\Cookie::createFromHeaderLine() expects non-empty-string, string given.
PHPStan 8.4: src/Client.php#L31
Property SharkMachine\Psr18Shark\Client::$cookies is never read, only written.
PHPStan 8.4
The strategy configuration was canceled because "phpstan.ubuntu-latest_8_3" failed
PHPStan 8.5
Process completed with exit code 1.
PHPStan 8.5: src/Cookie.php#L54
Parameter #2 $string of function explode expects string, string|null given.
PHPStan 8.5: src/Cookie.php#L54
Parameter #2 $callback of function array_filter expects (callable(string): bool)|null, 'trim' given.
PHPStan 8.5: src/Client.php#L106
Parameter #1 $headerLine of static method SharkMachine\Psr18Shark\Cookie::createFromHeaderLine() expects non-empty-string, string given.
PHPStan 8.5: src/Client.php#L31
Property SharkMachine\Psr18Shark\Client::$cookies is never read, only written.
PHPStan 8.5
The strategy configuration was canceled because "phpstan.ubuntu-latest_8_3" failed