Skip to content

Create volume flow v2 #1454

Create volume flow v2

Create volume flow v2 #1454

Triggered via pull request September 3, 2024 07:10
@mzurmzur
synchronize #709
create-volume-v2
Status Failure
Total duration 47s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint-php: app/Http/Controllers/Api/Volumes/MetadataController.php#L39
Method Biigle\Http\Controllers\Api\Volumes\MetadataController::show() should return Illuminate\Http\Response but returns Symfony\Component\HttpFoundation\StreamedResponse.
lint-php: app/Http/Controllers/Api/Volumes/MetadataController.php#L106
Method Biigle\Http\Controllers\Api\Volumes\MetadataController::destroy() should return Illuminate\Http\Response but return statement is missing.
lint-php: app/Http/Controllers/Views/Volumes/PendingVolumeController.php#L41
Method Biigle\Http\Controllers\Views\Volumes\PendingVolumeController::show() should return Illuminate\Http\Response but returns Illuminate\Http\RedirectResponse.
lint-php: app/Http/Controllers/Views/Volumes/PendingVolumeController.php#L107
Method Biigle\Http\Controllers\Views\Volumes\PendingVolumeController::show() should return Illuminate\Http\Response but returns Illuminate\View\View.
lint-php: app/Http/Controllers/Views/Volumes/PendingVolumeController.php#L111
Variable $disks in empty() always exists and is not falsy.
lint-php: app/Http/Requests/StorePendingVolume.php#L47
Parameter #1 $type of static method Biigle\Services\MetadataParsing\ParserFactory::has() expects string, true given.
lint-php: app/Http/Requests/StoreVolume.php#L48
Property Biigle\Http\Requests\StoreVolume::$metadataPath (string) in isset() is not nullable.
lint-php: app/Image.php#L33
PHPDoc type array of property Biigle\Image::$fillable is not covariant with PHPDoc type array<int, string> of overridden property Illuminate\Database\Eloquent\Model::$fillable.
lint-php: app/Jobs/UpdateVolumeMetadata.php#L51
Property Biigle\Video::$metadata (array) does not accept null.
lint-php: app/PendingVolume.php#L19
PHPDoc type array of property Biigle\PendingVolume::$fillable is not covariant with PHPDoc type array<int, string> of overridden property Illuminate\Database\Eloquent\Model::$fillable.