Update phpstan/phpstan requirement from ^1.10 to ^1.10 || ^2.0 #27
phpstan.yml
on: pull_request
Run PHPStan analysis
10s
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.
|