Skip to content

Update phpstan/phpstan requirement from ^1.10 to ^1.10 || ^2.0 #27

Update phpstan/phpstan requirement from ^1.10 to ^1.10 || ^2.0

Update phpstan/phpstan requirement from ^1.10 to ^1.10 || ^2.0 #27

Triggered via pull request November 11, 2024 12:32
Status Failure
Total duration 19s
Artifacts

phpstan.yml

on: pull_request
Run PHPStan analysis
10s
Run PHPStan analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run PHPStan analysis: src/Process.php#L96
Parameter #1 $stream of method mishagp\OCRmyPDF\Process::closeStream() expects resource, mixed given.
Run PHPStan analysis: src/Process.php#L99
Parameter #1 $stream of method mishagp\OCRmyPDF\Process::closeStream() expects resource, mixed given.
Run PHPStan analysis: src/Process.php#L102
Parameter #1 $stream of method mishagp\OCRmyPDF\Process::closeStream() expects resource, mixed given.
Run PHPStan analysis: src/Process.php#L105
Parameter #1 $stream of method mishagp\OCRmyPDF\Process::closeStream() expects resource, mixed given.
Run PHPStan analysis: src/Process.php#L106
Parameter #1 $stream of method mishagp\OCRmyPDF\Process::closeStream() expects resource, mixed given.
Run PHPStan analysis: src/Process.php#L107
Parameter #1 $stream of method mishagp\OCRmyPDF\Process::closeStream() expects resource, mixed given.
Run PHPStan analysis: src/Process.php#L124
Parameter #1 $stream of method mishagp\OCRmyPDF\Process::closeStream() expects resource, mixed given.
Run PHPStan analysis: src/Process.php#L132
Strict comparison using !== between resource and null will always evaluate to true.
Run PHPStan analysis: src/Process.php#L134
Parameter &$stream by-ref type of method mishagp\OCRmyPDF\Process::closeStream() expects resource, null given.
Run PHPStan analysis
Process completed with exit code 1.