ampache/ampache

View on GitHub
src/Repository/PodcastEpisodeRepository.php

Summary

Maintainability
A
0 mins
Test Coverage

syntax error, unexpected 'ModelFactoryInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private ModelFactoryInterface $modelFactory;

A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 50 and the first side effect is on line 42.
Open

<?php

Possible parse error: class missing opening or closing brace
Open

final class PodcastEpisodeRepository implements PodcastEpisodeRepositoryInterface

Possible parse error: class missing opening or closing brace
Open

final class PodcastEpisodeRepository implements PodcastEpisodeRepositoryInterface

Line indented incorrectly; expected 0 spaces, found 4
Open

    private DatabaseConnectionInterface $connection;

Line indented incorrectly; expected 0 spaces, found 4
Open

    private ModelFactoryInterface $modelFactory;

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

Line indented incorrectly; expected 0 spaces, found 4
Open

    private ConfigContainerInterface $configContainer;

Line indented incorrectly; expected 4 spaces, found 8
Open

        }

Line indented incorrectly; expected 4 spaces, found 8
Open

        if ($skipDisabledCatalogs) {

Line indented incorrectly; expected 4 spaces, found 8
Open

        if (!empty($stateFilter)) {

Line indented incorrectly; expected 0 spaces, found 4
Open

    public function getEpisodes(Podcast $podcast, string $stateFilter = ''): array

Line indented incorrectly; expected 0 spaces, found 4
Open

    public function deleteEpisode(Podcast_Episode $episode): void

Line indented incorrectly; expected 4 spaces, found 8
Open

        while ($episodeId = $result->fetchColumn()) {

Line indented incorrectly; expected 0 spaces, found 4
Open

    public function __construct(

Line indented incorrectly; expected 4 spaces, found 8
Open

        }

Line indented incorrectly; expected 4 spaces, found 8
Open

        }

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

Line indented incorrectly; expected 4 spaces, found 8
Open

        if ($skipDisabledCatalogs) {

Line indented incorrectly; expected 4 spaces, found 8
Open

        }

There are no issues that match your filters.

Category
Status