Skip to content

Add phpunit

Add phpunit #5

Triggered via push March 14, 2024 06:56
Status Failure
Total duration 31s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

12 errors
php-cs-fixer
Process completed with exit code 8.
phpstan: src/RequestLog/Data/RequestLog.php#L10
Method Cego\RequestLog\Data\RequestLog::__construct() has parameter $requestCookies with no value type specified in iterable type array.
phpstan: src/RequestLog/Data/RequestLog.php#L10
Method Cego\RequestLog\Data\RequestLog::__construct() has parameter $requestHeaders with no value type specified in iterable type array.
phpstan: src/RequestLog/Data/RequestLog.php#L10
Method Cego\RequestLog\Data\RequestLog::__construct() has parameter $responseCookies with no value type specified in iterable type array.
phpstan: src/RequestLog/Data/RequestLog.php#L10
Method Cego\RequestLog\Data\RequestLog::__construct() has parameter $responseHeaders with no value type specified in iterable type array.
phpstan: src/RequestLog/Middleware/LogRequest.php#L69
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
phpstan: src/RequestLog/Middleware/LogRequest.php#L70
Cannot call method path() on mixed.
phpstan: src/RequestLog/Middleware/LogRequest.php#L70
Parameter #1 $pattern of function fnmatch expects string, mixed given.
phpstan: src/RequestLog/Middleware/LogRequest.php#L104
Function config not found.
phpstan: src/RequestLog/Middleware/LogRequest.php#L113
Function config not found.
phpstan: src/RequestLog/RequestLogServiceProvider.php#L43
Function config_path not found.
phpunit
Process completed with exit code 127.