Skip to content

Prevent possible warnings on unset variables #447

Prevent possible warnings on unset variables

Prevent possible warnings on unset variables #447

Triggered via pull request April 5, 2023 08:38
@sudo-plzsudo-plz
synchronize #542
master
Status Failure
Total duration 42s
Artifacts

static.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
PHPStan: src/Request.php#L1
Ignored error pattern #^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$# in path /home/runner/work/psr7/psr7/src/Request.php was not matched in reported errors.
PHPStan: src/Request.php#L1
Ignored error pattern #^Property GuzzleHttp\\Psr7\\Request\:\:\$requestTarget \(string\|null\) does not accept mixed\.$# in path /home/runner/work/psr7/psr7/src/Request.php was not matched in reported errors.
PHPStan
Process completed with exit code 1.
RedundantCast: src/Response.php#L132
src/Response.php:132:17: RedundantCast: Redundant cast to int (see https://psalm.dev/262)
RedundantCast: src/Response.php#L140
src/Response.php:140:30: RedundantCast: Redundant cast to string (see https://psalm.dev/262)
RedundantCast: src/Stream.php#L200
src/Stream.php:200:19: RedundantCast: Redundant cast to int (see https://psalm.dev/262)
Psalm
Process completed with exit code 2.