Skip to content

test: add comprehensive test coverage (92.1%) #7

test: add comprehensive test coverage (92.1%)

test: add comprehensive test coverage (92.1%) #7

Triggered via push December 14, 2025 15:51
Status Failure
Total duration 30s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
phpstan
Process completed with exit code 1.
phpstan: src/Commands/BookStackSearchCommand.php#L28
Parameter #1 $query of method AichaDigital\BookStackSync\BookStackSync::search() expects string, array|bool|string|null given.
phpstan: src/Commands/BookStackSearchCommand.php#L24
Part $query (array|bool|string|null) of encapsed string cannot be cast to string.
phpstan: src/Commands/BookStackExportCommand.php#L56
Part $output (non-empty-array|non-falsy-string|true) of encapsed string cannot be cast to string.
phpstan: src/Commands/BookStackExportCommand.php#L55
Parameter #1 $path of static method Illuminate\Support\Facades\File::put() expects string, array|string|true given.
phpstan: src/Commands/BookStackExportCommand.php#L27
Cannot cast array|bool|string|null to string.
phpstan: src/Commands/BookStackExportCommand.php#L25
Cannot cast array|bool|string|null to string.