app/Values/SongScanInformation.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method __construct has 13 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public ?string $title,
        public ?string $albumName,
        public ?string $artistName,
        public ?string $albumArtistName,
        public ?int $track,
Severity: Major
Found in app/Values/SongScanInformation.php - About 1 hr to fix

    Method fromGetId3Info has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public static function fromGetId3Info(array $info, string $path): self
        {
            // We prefer ID3v2 tags over ID3v1 tags.
            $tags = array_merge(
                Arr::get($info, 'tags.id3v1', []),
    Severity: Minor
    Found in app/Values/SongScanInformation.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status