Alphabetize imports.
This commit is contained in:
parent
3feca69b4c
commit
7d1b987d32
|
@ -40,7 +40,16 @@
|
|||
</rule>
|
||||
|
||||
<rule ref="SlevomatCodingStandard.Arrays.TrailingArrayComma"/>
|
||||
<rule ref="SlevomatCodingStandard.Namespaces.DisallowGroupUse"/>
|
||||
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"/>
|
||||
<rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash"/>
|
||||
|
||||
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
|
||||
<properties>
|
||||
<property name="searchAnnotations" value="true"/>
|
||||
</properties>
|
||||
</rule>
|
||||
|
||||
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
|
||||
<exclude-pattern>src/Entity/Migration/*$</exclude-pattern>
|
||||
</rule>
|
||||
|
|
|
@ -7,8 +7,8 @@ namespace App\Console\Command;
|
|||
use App\Console\Command\Traits\PassThruProcess;
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Container\EnvironmentAwareTrait;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
use RuntimeException;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
abstract class AbstractDatabaseCommand extends CommandAbstract
|
||||
{
|
||||
|
|
|
@ -4,10 +4,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Console\Command;
|
||||
|
||||
use RuntimeException;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\ArrayInput;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use RuntimeException;
|
||||
|
||||
abstract class CommandAbstract extends Command
|
||||
{
|
||||
|
|
|
@ -5,13 +5,13 @@ declare(strict_types=1);
|
|||
namespace App\Console\Command;
|
||||
|
||||
use App\Entity\StorageLocation;
|
||||
use Exception;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\NullOutput;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
use Symfony\Component\Filesystem\Filesystem;
|
||||
use Exception;
|
||||
|
||||
#[AsCommand(
|
||||
name: 'azuracast:setup:migrate',
|
||||
|
|
|
@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Admin\Backups;
|
||||
|
||||
use App\Flysystem\ExtendedFilesystemInterface;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Flysystem\ExtendedFilesystemInterface;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
|
||||
final class DownloadAction extends AbstractFileAction
|
||||
|
|
|
@ -6,6 +6,11 @@ namespace App\Controller\Api\Stations\Files;
|
|||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Controller\Api\Traits\CanSortResults;
|
||||
use App\Entity\Api\FileList;
|
||||
use App\Entity\Api\FileListMedia;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationMedia;
|
||||
use App\Entity\StationPlaylist;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\RouterInterface;
|
||||
|
@ -19,11 +24,6 @@ use League\Flysystem\StorageAttributes;
|
|||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\SimpleCache\CacheInterface;
|
||||
use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
|
||||
use App\Entity\StationMedia;
|
||||
use App\Entity\StationPlaylist;
|
||||
use App\Entity\Api\FileList;
|
||||
use App\Entity\Api\FileListMedia;
|
||||
use App\Entity\Station;
|
||||
|
||||
final class ListAction
|
||||
{
|
||||
|
|
|
@ -4,12 +4,12 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Files;
|
||||
|
||||
use App\Entity\StationMedia;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use League\Flysystem\StorageAttributes;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\StationMedia;
|
||||
|
||||
final class ListDirectoriesAction
|
||||
{
|
||||
|
|
|
@ -4,13 +4,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Files;
|
||||
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use League\Flysystem\UnableToCreateDirectory;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
final class MakeDirectoryAction
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Files;
|
||||
|
||||
use App\Entity\Repository\StationMediaRepository;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationMediaRepository;
|
||||
|
||||
final class PlayAction
|
||||
{
|
||||
|
|
|
@ -4,13 +4,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Files;
|
||||
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Media\BatchUtilities;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
final class RenameAction
|
||||
{
|
||||
|
|
|
@ -4,13 +4,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Mounts\Intro;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\StationMountRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationMountRepository;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
#[OA\Delete(
|
||||
path: '/station/{station_id}/mount/{id}/intro',
|
||||
|
|
|
@ -4,15 +4,15 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Mounts\Intro;
|
||||
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Repository\StationMountRepository;
|
||||
use App\Entity\StationMount;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationMountRepository;
|
||||
use App\Entity\StationMount;
|
||||
use App\Entity\Api\Error;
|
||||
|
||||
#[OA\Get(
|
||||
path: '/station/{station_id}/mount/{id}/intro',
|
||||
|
|
|
@ -4,14 +4,14 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Mounts\Intro;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\StationMountRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use App\Service\Flow;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationMountRepository;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
#[OA\Post(
|
||||
path: '/station/{station_id}/mount/{id}/intro',
|
||||
|
|
|
@ -4,12 +4,12 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\OnDemand;
|
||||
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Repository\StationMediaRepository;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationMediaRepository;
|
||||
use App\Entity\Api\Error;
|
||||
|
||||
final class DownloadAction
|
||||
{
|
||||
|
|
|
@ -5,14 +5,14 @@ declare(strict_types=1);
|
|||
namespace App\Controller\Api\Stations\Podcasts\Art;
|
||||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\PodcastRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\PodcastRepository;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
#[OA\Delete(
|
||||
path: '/station/{station_id}/podcast/{podcast_id}/art',
|
||||
|
|
|
@ -4,14 +4,14 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Podcasts\Art;
|
||||
|
||||
use App\Entity\Podcast;
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Entity\Podcast;
|
||||
|
||||
#[OA\Get(
|
||||
path: '/station/{station_id}/podcast/{podcast_id}/art',
|
||||
|
|
|
@ -5,15 +5,15 @@ declare(strict_types=1);
|
|||
namespace App\Controller\Api\Stations\Podcasts\Art;
|
||||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\PodcastRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use App\Service\Flow;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\PodcastRepository;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
#[OA\Post(
|
||||
path: '/station/{station_id}/podcast/{podcast_id}/art',
|
||||
|
|
|
@ -5,14 +5,14 @@ declare(strict_types=1);
|
|||
namespace App\Controller\Api\Stations\Podcasts\Episodes\Art;
|
||||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\PodcastEpisodeRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\PodcastEpisodeRepository;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
#[OA\Delete(
|
||||
path: '/station/{station_id}/podcast/{podcast_id}/episode/{episode_id}/art',
|
||||
|
|
|
@ -4,15 +4,15 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Podcasts\Episodes\Art;
|
||||
|
||||
use App\Entity\Podcast;
|
||||
use App\Entity\PodcastEpisode;
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Entity\PodcastEpisode;
|
||||
use App\Entity\Podcast;
|
||||
|
||||
#[OA\Get(
|
||||
path: '/station/{station_id}/podcast/{podcast_id}/episode/{episode_id}/art',
|
||||
|
|
|
@ -5,15 +5,15 @@ declare(strict_types=1);
|
|||
namespace App\Controller\Api\Stations\Podcasts\Episodes\Art;
|
||||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\PodcastEpisodeRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use App\Service\Flow;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\PodcastEpisodeRepository;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
#[OA\Post(
|
||||
path: '/station/{station_id}/podcast/{podcast_id}/episode/{episode_id}/art',
|
||||
|
|
|
@ -4,16 +4,16 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Podcasts\Episodes\Media;
|
||||
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\PodcastEpisode;
|
||||
use App\Entity\PodcastMedia;
|
||||
use App\Entity\Repository\PodcastEpisodeRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\PodcastEpisodeRepository;
|
||||
use App\Entity\PodcastEpisode;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\PodcastMedia;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
#[OA\Delete(
|
||||
path: '/station/{station_id}/podcast/{podcast_id}/episode/{episode_id}/media',
|
||||
|
|
|
@ -4,16 +4,16 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Podcasts\Episodes\Media;
|
||||
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\PodcastEpisode;
|
||||
use App\Entity\PodcastMedia;
|
||||
use App\Entity\Repository\PodcastEpisodeRepository;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\PodcastEpisodeRepository;
|
||||
use App\Entity\PodcastEpisode;
|
||||
use App\Entity\PodcastMedia;
|
||||
use App\Entity\Api\Error;
|
||||
|
||||
#[OA\Get(
|
||||
path: '/station/{station_id}/podcast/{podcast_id}/episode/{episode_id}/media',
|
||||
|
|
|
@ -4,6 +4,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Podcasts\Episodes\Media;
|
||||
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\PodcastEpisodeRepository;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
|
@ -11,9 +14,6 @@ use App\OpenApi;
|
|||
use App\Service\Flow;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\PodcastEpisodeRepository;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
#[OA\Post(
|
||||
path: '/station/{station_id}/podcast/{podcast_id}/episode/{episode_id}/media',
|
||||
|
|
|
@ -4,7 +4,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations;
|
||||
|
||||
use App;
|
||||
use App\Entity\Api\StationQueueDetailed;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\ApiGenerator\StationQueueApiGenerator;
|
||||
|
|
|
@ -4,15 +4,15 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Reports\Overview;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\ApiGenerator\SongApiGenerator;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Song;
|
||||
use App\Entity\SongHistory;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Utilities\DateRange;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\ApiGenerator\SongApiGenerator;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\SongHistory;
|
||||
use App\Entity\Song;
|
||||
|
||||
final class BestAndWorstAction extends AbstractReportAction
|
||||
{
|
||||
|
|
|
@ -4,10 +4,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Reports\Overview;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
final class ByBrowser extends AbstractReportAction
|
||||
{
|
||||
|
|
|
@ -4,10 +4,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Reports\Overview;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
final class ByClient extends AbstractReportAction
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Reports\Overview;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Symfony\Component\Intl\Countries;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
final class ByCountry extends AbstractReportAction
|
||||
{
|
||||
|
|
|
@ -4,10 +4,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Reports\Overview;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
final class ByListeningTime extends AbstractReportAction
|
||||
{
|
||||
|
|
|
@ -4,14 +4,14 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Reports\Overview;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Repository\StationHlsStreamRepository;
|
||||
use App\Entity\Repository\StationMountRepository;
|
||||
use App\Entity\Repository\StationRemoteRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationMountRepository;
|
||||
use App\Entity\Repository\StationRemoteRepository;
|
||||
use App\Entity\Repository\StationHlsStreamRepository;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
final class ByStream extends AbstractReportAction
|
||||
{
|
||||
|
|
|
@ -4,15 +4,15 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Reports\Overview;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Enums\AnalyticsIntervals;
|
||||
use App\Entity\Repository\AnalyticsRepository;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Carbon\CarbonImmutable;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use stdClass;
|
||||
use App\Entity\Repository\AnalyticsRepository;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Enums\AnalyticsIntervals;
|
||||
|
||||
final class ChartsAction extends AbstractReportAction
|
||||
{
|
||||
|
|
|
@ -5,14 +5,14 @@ declare(strict_types=1);
|
|||
namespace App\Controller\Api\Stations\Reports;
|
||||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\StationRequestRepository;
|
||||
use App\Entity\StationRequest;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Paginator;
|
||||
use Doctrine\ORM\AbstractQuery;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationRequestRepository;
|
||||
use App\Entity\StationRequest;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
final class RequestsController
|
||||
{
|
||||
|
|
|
@ -4,13 +4,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\StereoTool;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
#[OA\Delete(
|
||||
path: '/station/{station_id}/stereo-tool-configuration',
|
||||
|
|
|
@ -4,13 +4,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\StereoTool;
|
||||
|
||||
use App\Entity\Api\Error;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Api\Error;
|
||||
|
||||
#[OA\Get(
|
||||
path: '/station/{station_id}/stereo-tool-configuration',
|
||||
|
|
|
@ -4,14 +4,14 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\StereoTool;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\OpenApi;
|
||||
use App\Service\Flow;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
#[OA\Post(
|
||||
path: '/station/{station_id}/stereo-tool-configuration',
|
||||
|
|
|
@ -4,12 +4,12 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Streamers\Art;
|
||||
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Entity\StationStreamer;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Entity\StationStreamer;
|
||||
|
||||
final class GetArtAction
|
||||
{
|
||||
|
|
|
@ -4,12 +4,12 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Streamers\Art;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\StationStreamerRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Service\Flow;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\StationStreamerRepository;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
final class PostArtAction
|
||||
{
|
||||
|
|
|
@ -5,6 +5,11 @@ declare(strict_types=1);
|
|||
namespace App\Controller\Api\Stations\Streamers;
|
||||
|
||||
use App\Controller\Api\AbstractApiCrudController;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationStreamer;
|
||||
use App\Entity\StationStreamerBroadcast;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
|
@ -13,11 +18,6 @@ use App\Utilities\File;
|
|||
use Psr\Http\Message\ResponseInterface;
|
||||
use Symfony\Component\Serializer\Serializer;
|
||||
use Symfony\Component\Validator\Validator\ValidatorInterface;
|
||||
use App\Entity\StationStreamerBroadcast;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationStreamer;
|
||||
|
||||
/**
|
||||
* @extends AbstractApiCrudController<\App\Entity\StationStreamerBroadcast>
|
||||
|
|
|
@ -5,12 +5,12 @@ declare(strict_types=1);
|
|||
namespace App\Controller\Api\Stations\Webhooks;
|
||||
|
||||
use App\Controller\Api\Traits\HasLogViewer;
|
||||
use App\Entity\Api\Error;
|
||||
use App\Entity\Repository\StationWebhookRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Utilities\File;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Api\Error;
|
||||
|
||||
final class TestLogAction
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Stations\Webhooks;
|
||||
|
||||
use App\Entity\Api\Status;
|
||||
use App\Entity\Repository\StationWebhookRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Api\Status;
|
||||
|
||||
final class ToggleAction
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Api\Traits;
|
||||
|
||||
use App\Entity\StationSchedule;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Radio\AutoDJ\Scheduler;
|
||||
use App\Utilities\DateRange;
|
||||
use Carbon\CarbonInterface;
|
||||
use App\Entity\StationSchedule;
|
||||
|
||||
trait HasScheduleDisplay
|
||||
{
|
||||
|
|
|
@ -4,15 +4,15 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Frontend\Account;
|
||||
|
||||
use App\Entity\Repository\UserLoginTokenRepository;
|
||||
use App\Entity\Repository\UserRepository;
|
||||
use App\Entity\User;
|
||||
use App\Exception\RateLimitExceededException;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\RateLimit;
|
||||
use App\Service\Mail;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\UserRepository;
|
||||
use App\Entity\Repository\UserLoginTokenRepository;
|
||||
use App\Entity\User;
|
||||
|
||||
final class ForgotPasswordAction
|
||||
{
|
||||
|
|
|
@ -4,12 +4,12 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Frontend\Account;
|
||||
|
||||
use App\Entity\Repository\UserRepository;
|
||||
use App\Entity\User;
|
||||
use App\Exception\NotFoundException;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\UserRepository;
|
||||
use App\Entity\User;
|
||||
|
||||
final class MasqueradeAction
|
||||
{
|
||||
|
|
|
@ -5,13 +5,13 @@ declare(strict_types=1);
|
|||
namespace App\Controller\Frontend\Account;
|
||||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Entity\Repository\UserLoginTokenRepository;
|
||||
use App\Entity\User;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use InvalidArgumentException;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Throwable;
|
||||
use App\Entity\Repository\UserLoginTokenRepository;
|
||||
use App\Entity\User;
|
||||
|
||||
final class RecoverAction
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Frontend;
|
||||
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Enums\GlobalPermissions;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
|
||||
final class DashboardAction
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Frontend;
|
||||
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\User;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\User;
|
||||
|
||||
final class IndexAction
|
||||
{
|
||||
|
|
|
@ -4,12 +4,12 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Frontend\PublicPages;
|
||||
|
||||
use App\Entity\Repository\CustomFieldRepository;
|
||||
use App\Exception\StationNotFoundException;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\VueComponent\NowPlayingComponent;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\CustomFieldRepository;
|
||||
|
||||
final class PlayerAction
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Frontend\PublicPages;
|
||||
|
||||
use App\Entity\Repository\CustomFieldRepository;
|
||||
use App\Exception\StationNotFoundException;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\CustomFieldRepository;
|
||||
|
||||
final class RequestsAction
|
||||
{
|
||||
|
|
|
@ -5,14 +5,14 @@ declare(strict_types=1);
|
|||
namespace App\Controller\Stations;
|
||||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Entity\Enums\PlaylistSources;
|
||||
use App\Entity\Enums\StorageLocationTypes;
|
||||
use App\Entity\Repository\CustomFieldRepository;
|
||||
use App\Enums\StationFeatures;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Media\MimeType;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\CustomFieldRepository;
|
||||
use App\Entity\Enums\PlaylistSources;
|
||||
use App\Entity\Enums\StorageLocationTypes;
|
||||
|
||||
final class FilesAction
|
||||
{
|
||||
|
|
|
@ -4,12 +4,12 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Stations;
|
||||
|
||||
use App\Entity\Enums\StorageLocationTypes;
|
||||
use App\Entity\PodcastCategory;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Symfony\Component\Intl\Languages;
|
||||
use App\Entity\PodcastCategory;
|
||||
use App\Entity\Enums\StorageLocationTypes;
|
||||
|
||||
final class PodcastsAction
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Stations\Reports;
|
||||
|
||||
use App\Entity\Enums\AnalyticsLevel;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Enums\AnalyticsLevel;
|
||||
|
||||
final class OverviewAction
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Controller\Stations;
|
||||
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Service\AzuraCastCentral;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
|
||||
final class StreamersAction
|
||||
{
|
||||
|
|
|
@ -7,7 +7,6 @@ namespace App\Controller\Stations;
|
|||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Webhook\ConnectorLocator;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
|
||||
final class WebhooksAction
|
||||
|
|
|
@ -5,16 +5,16 @@ declare(strict_types=1);
|
|||
namespace App\Doctrine\Event;
|
||||
|
||||
use App\Entity\Attributes\AuditIgnore;
|
||||
use App\Entity\Enums\AuditLogOperations;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationHlsStream;
|
||||
use App\Entity\StationMount;
|
||||
use App\Entity\StationPlaylist;
|
||||
use App\Entity\StationRemote;
|
||||
use Doctrine\Common\EventSubscriber;
|
||||
use Doctrine\ORM\Event\OnFlushEventArgs;
|
||||
use Doctrine\ORM\Events;
|
||||
use ReflectionObject;
|
||||
use App\Entity\Enums\AuditLogOperations;
|
||||
use App\Entity\StationMount;
|
||||
use App\Entity\StationHlsStream;
|
||||
use App\Entity\StationRemote;
|
||||
use App\Entity\StationPlaylist;
|
||||
use App\Entity\Station;
|
||||
|
||||
/**
|
||||
* A hook into Doctrine's event listener to mark a station as
|
||||
|
|
|
@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Entity\Api\Admin;
|
||||
|
||||
use App\Entity\Api\ResolvableUrlInterface;
|
||||
use OpenApi\Attributes as OA;
|
||||
use Psr\Http\Message\UriInterface;
|
||||
use App\Entity\Api\ResolvableUrlInterface;
|
||||
|
||||
#[OA\Schema(
|
||||
schema: 'Api_Admin_Relay',
|
||||
|
|
|
@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Entity\Api\Admin;
|
||||
|
||||
use App\Entity\Api\Traits\HasLinks;
|
||||
use App\Traits\LoadFromParentObject;
|
||||
use OpenApi\Attributes as OA;
|
||||
use App\Entity\Api\Traits\HasLinks;
|
||||
|
||||
#[OA\Schema(
|
||||
schema: 'Api_Admin_StorageLocation',
|
||||
|
|
|
@ -5,17 +5,17 @@ declare(strict_types=1);
|
|||
namespace App\Entity\ApiGenerator;
|
||||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Entity\Api\Song;
|
||||
use App\Entity\Interfaces\SongInterface;
|
||||
use App\Entity\Repository\CustomFieldRepository;
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationMedia;
|
||||
use App\Http\Router;
|
||||
use App\Media\RemoteAlbumArt;
|
||||
use GuzzleHttp\Psr7\UriResolver;
|
||||
use GuzzleHttp\Psr7\Utils;
|
||||
use Psr\Http\Message\UriInterface;
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Entity\Repository\CustomFieldRepository;
|
||||
use App\Entity\Interfaces\SongInterface;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\Api\Song;
|
||||
use App\Entity\StationMedia;
|
||||
|
||||
final class SongApiGenerator
|
||||
{
|
||||
|
|
|
@ -5,8 +5,8 @@ declare(strict_types=1);
|
|||
namespace App\Entity\Repository;
|
||||
|
||||
use App\Doctrine\Repository;
|
||||
use App\Security\SplitToken;
|
||||
use App\Entity\User;
|
||||
use App\Security\SplitToken;
|
||||
|
||||
/**
|
||||
* @template TEntity of \App\Entity\ApiKey|\App\Entity\UserLoginToken
|
||||
|
|
|
@ -6,11 +6,11 @@ namespace App\Entity\Repository;
|
|||
|
||||
use App\Doctrine\ReloadableEntityManagerInterface;
|
||||
use App\Doctrine\Repository;
|
||||
use App\Entity\Settings;
|
||||
use App\Exception\ValidationException;
|
||||
use Symfony\Component\Serializer\Normalizer\AbstractNormalizer;
|
||||
use Symfony\Component\Serializer\Serializer;
|
||||
use Symfony\Component\Validator\Validator\ValidatorInterface;
|
||||
use App\Entity\Settings;
|
||||
|
||||
/**
|
||||
* @extends Repository<\App\Entity\Settings>
|
||||
|
|
|
@ -5,12 +5,12 @@ declare(strict_types=1);
|
|||
namespace App\Entity\Repository;
|
||||
|
||||
use App\Doctrine\ReloadableEntityManagerInterface;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Media\AlbumArt;
|
||||
use App\Radio\AutoDJ\Scheduler;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationStreamer;
|
||||
use App\Entity\StationStreamerBroadcast;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Media\AlbumArt;
|
||||
use App\Radio\AutoDJ\Scheduler;
|
||||
|
||||
/**
|
||||
* @extends AbstractStationBasedRepository<\App\Entity\StationStreamer>
|
||||
|
|
|
@ -7,9 +7,9 @@ namespace App\Entity;
|
|||
use App\Entity\Interfaces\IdentifiableEntityInterface;
|
||||
use Carbon\CarbonImmutable;
|
||||
use Carbon\CarbonInterface;
|
||||
use DateTimeZone;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use OpenApi\Attributes as OA;
|
||||
use DateTimeZone;
|
||||
|
||||
#[
|
||||
OA\Schema(type: "object"),
|
||||
|
|
|
@ -10,8 +10,8 @@ use App\Flysystem\Adapter\LocalAdapterInterface;
|
|||
use App\Flysystem\Adapter\LocalFilesystemAdapter;
|
||||
use App\Flysystem\ExtendedFilesystemInterface;
|
||||
use App\Flysystem\LocalFilesystem;
|
||||
use Symfony\Component\Filesystem\Path;
|
||||
use InvalidArgumentException;
|
||||
use Symfony\Component\Filesystem\Path;
|
||||
|
||||
final class LocalStorageLocationAdapter extends AbstractStorageLocationLocationAdapter
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Entity\Traits;
|
||||
|
||||
use App\Entity\Attributes\AuditIgnore;
|
||||
use App\Entity\Interfaces\EntityGroupsInterface;
|
||||
use App\Security\SplitToken;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Symfony\Component\Serializer\Annotation\Groups;
|
||||
use App\Entity\Interfaces\EntityGroupsInterface;
|
||||
use App\Entity\Attributes\AuditIgnore;
|
||||
|
||||
trait HasSplitTokenFields
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Event\Media;
|
||||
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
use App\Entity\Interfaces\SongInterface;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
final class GetAlbumArt extends Event
|
||||
{
|
||||
|
|
|
@ -4,13 +4,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Event\Radio;
|
||||
|
||||
use RuntimeException;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationQueue;
|
||||
use App\Entity\StationMedia;
|
||||
use App\Entity\StationPlaylist;
|
||||
use App\Entity\StationQueue;
|
||||
use App\Entity\StationRequest;
|
||||
use RuntimeException;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
/**
|
||||
* Event triggered every time the next-playing song is preparing to be annotated for delivery to Liquidsoap.
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Event\Radio;
|
||||
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationQueue;
|
||||
use Carbon\CarbonImmutable;
|
||||
use Carbon\CarbonInterface;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationQueue;
|
||||
|
||||
final class BuildQueue extends Event
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Http;
|
||||
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Traits\RequestAwareTrait;
|
||||
use GuzzleHttp\Psr7\Uri;
|
||||
use GuzzleHttp\Psr7\UriResolver;
|
||||
|
@ -13,7 +14,6 @@ use Psr\Http\Message\UriInterface;
|
|||
use Slim\Interfaces\RouteInterface;
|
||||
use Slim\Interfaces\RouteParserInterface;
|
||||
use Slim\Routing\RouteContext;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
|
||||
final class Router implements RouterInterface
|
||||
{
|
||||
|
|
|
@ -7,11 +7,11 @@ namespace App\Installer\EnvFiles;
|
|||
use App\Environment;
|
||||
use App\Utilities\Strings;
|
||||
use ArrayAccess;
|
||||
use DateTimeImmutable;
|
||||
use DateTimeZone;
|
||||
use Dotenv\Dotenv;
|
||||
use Dotenv\Exception\ExceptionInterface;
|
||||
use InvalidArgumentException;
|
||||
use DateTimeImmutable;
|
||||
use DateTimeZone;
|
||||
|
||||
/**
|
||||
* @implements ArrayAccess<string, mixed>
|
||||
|
|
|
@ -5,11 +5,11 @@ declare(strict_types=1);
|
|||
namespace App\Media\AlbumArtHandler;
|
||||
|
||||
use App\Container\LoggerAwareTrait;
|
||||
use App\Entity\Interfaces\SongInterface;
|
||||
use App\Event\Media\GetAlbumArt;
|
||||
use App\Exception\RateLimitExceededException;
|
||||
use RuntimeException;
|
||||
use Throwable;
|
||||
use App\Entity\Interfaces\SongInterface;
|
||||
|
||||
abstract class AbstractAlbumArtHandler
|
||||
{
|
||||
|
|
|
@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Media\AlbumArtHandler;
|
||||
|
||||
use App\Service\LastFm;
|
||||
use App\Entity\Interfaces\SongInterface;
|
||||
use App\Entity\StationMedia;
|
||||
use App\Service\LastFm;
|
||||
|
||||
final class LastFmAlbumArtHandler extends AbstractAlbumArtHandler
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Media\AlbumArtHandler;
|
||||
|
||||
use App\Service\MusicBrainz;
|
||||
use App\Entity\Interfaces\SongInterface;
|
||||
use App\Service\MusicBrainz;
|
||||
|
||||
final class MusicBrainzAlbumArtHandler extends AbstractAlbumArtHandler
|
||||
{
|
||||
|
|
|
@ -7,6 +7,9 @@ declare(strict_types=1);
|
|||
namespace App\Media;
|
||||
|
||||
use App\Container\LoggerAwareTrait;
|
||||
use App\Entity\Interfaces\SongInterface;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Song;
|
||||
use App\Event\Media\GetAlbumArt;
|
||||
use App\Version;
|
||||
use GuzzleHttp\Client;
|
||||
|
@ -14,9 +17,6 @@ use GuzzleHttp\RequestOptions;
|
|||
use Psr\EventDispatcher\EventDispatcherInterface;
|
||||
use Psr\SimpleCache\CacheInterface;
|
||||
use Throwable;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Interfaces\SongInterface;
|
||||
use App\Entity\Song;
|
||||
|
||||
final class RemoteAlbumArt
|
||||
{
|
||||
|
|
|
@ -7,13 +7,13 @@ namespace App\Middleware\Auth;
|
|||
use App\Acl;
|
||||
use App\Container\EnvironmentAwareTrait;
|
||||
use App\Customization;
|
||||
use App\Entity\AuditLog;
|
||||
use App\Entity\Repository\UserRepository;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
use Psr\Http\Server\MiddlewareInterface;
|
||||
use Psr\Http\Server\RequestHandlerInterface;
|
||||
use App\Entity\Repository\UserRepository;
|
||||
use App\Entity\AuditLog;
|
||||
|
||||
abstract class AbstractAuth implements MiddlewareInterface
|
||||
{
|
||||
|
|
|
@ -7,6 +7,9 @@ namespace App\Middleware\Auth;
|
|||
use App\Acl;
|
||||
use App\Auth;
|
||||
use App\Customization;
|
||||
use App\Entity\Repository\ApiKeyRepository;
|
||||
use App\Entity\Repository\UserRepository;
|
||||
use App\Entity\User;
|
||||
use App\Exception\CsrfValidationException;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Security\SplitToken;
|
||||
|
@ -14,9 +17,6 @@ use App\Session\Csrf;
|
|||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
use Psr\Http\Server\RequestHandlerInterface;
|
||||
use App\Entity\Repository\ApiKeyRepository;
|
||||
use App\Entity\Repository\UserRepository;
|
||||
use App\Entity\User;
|
||||
|
||||
final class ApiAuth extends AbstractAuth
|
||||
{
|
||||
|
|
|
@ -4,13 +4,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Middleware;
|
||||
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use Psr\Http\Message\ResponseFactoryInterface;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
use Psr\Http\Server\MiddlewareInterface;
|
||||
use Psr\Http\Server\RequestHandlerInterface;
|
||||
use Slim\App;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
|
||||
/**
|
||||
* Remove trailing slash from all URLs when routing.
|
||||
|
|
|
@ -8,13 +8,13 @@ use App\Acl;
|
|||
use App\Auth;
|
||||
use App\Container\EnvironmentAwareTrait;
|
||||
use App\Customization;
|
||||
use App\Entity\AuditLog;
|
||||
use App\Entity\Repository\UserRepository;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
use Psr\Http\Server\MiddlewareInterface;
|
||||
use Psr\Http\Server\RequestHandlerInterface;
|
||||
use App\Entity\Repository\UserRepository;
|
||||
use App\Entity\AuditLog;
|
||||
|
||||
/**
|
||||
* Get the current user entity object and assign it into the request if it exists.
|
||||
|
|
|
@ -5,13 +5,13 @@ declare(strict_types=1);
|
|||
namespace App\Middleware;
|
||||
|
||||
use App\Entity\Repository\StationRepository;
|
||||
use App\Entity\Station;
|
||||
use App\Http\ServerRequest;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
use Psr\Http\Server\MiddlewareInterface;
|
||||
use Psr\Http\Server\RequestHandlerInterface;
|
||||
use Slim\Routing\RouteContext;
|
||||
use App\Entity\Station;
|
||||
|
||||
/**
|
||||
* Retrieve the station specified in the request parameters, and throw an error if none exists but one is required.
|
||||
|
|
|
@ -4,6 +4,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Middleware;
|
||||
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Environment;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Session\Csrf;
|
||||
|
@ -18,7 +19,6 @@ use Psr\Http\Server\MiddlewareInterface;
|
|||
use Psr\Http\Server\RequestHandlerInterface;
|
||||
use Symfony\Component\Cache\Adapter\ArrayAdapter;
|
||||
use Symfony\Component\Cache\Adapter\ProxyAdapter;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
|
||||
/**
|
||||
* Inject the session object into the request.
|
||||
|
|
|
@ -5,6 +5,8 @@ declare(strict_types=1);
|
|||
namespace App\Middleware\Module;
|
||||
|
||||
use App\Container\EnvironmentAwareTrait;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\User;
|
||||
use App\Http\Response;
|
||||
use App\Http\ServerRequest;
|
||||
use App\Utilities\Urls;
|
||||
|
@ -14,8 +16,6 @@ use Symfony\Component\VarDumper\Caster\ReflectionCaster;
|
|||
use Symfony\Component\VarDumper\Cloner\VarCloner;
|
||||
use Symfony\Component\VarDumper\Dumper\CliDumper;
|
||||
use Symfony\Component\VarDumper\VarDumper;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\User;
|
||||
|
||||
/**
|
||||
* Handle API calls and wrap exceptions in JSON formatting.
|
||||
|
|
|
@ -9,12 +9,12 @@ use Doctrine\Common\Collections\Collection;
|
|||
use Doctrine\Common\Util\ClassUtils;
|
||||
use Doctrine\Inflector\Inflector;
|
||||
use Doctrine\Inflector\InflectorFactory;
|
||||
use InvalidArgumentException;
|
||||
use ReflectionClass;
|
||||
use ReflectionProperty;
|
||||
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface;
|
||||
use Symfony\Component\Serializer\Normalizer\AbstractNormalizer;
|
||||
use Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer;
|
||||
use InvalidArgumentException;
|
||||
|
||||
final class DoctrineEntityNormalizer extends AbstractObjectNormalizer
|
||||
{
|
||||
|
|
|
@ -5,12 +5,12 @@ declare(strict_types=1);
|
|||
namespace App\Notification\Check;
|
||||
|
||||
use App\Container\EnvironmentAwareTrait;
|
||||
use App\Entity\Api\Notification;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Enums\GlobalPermissions;
|
||||
use App\Event\GetNotifications;
|
||||
use App\Session\FlashLevels;
|
||||
use Carbon\CarbonImmutable;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Api\Notification;
|
||||
|
||||
final class RecentBackupCheck
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Notification\Check;
|
||||
|
||||
use App\Entity\Api\Notification;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Enums\GlobalPermissions;
|
||||
use App\Event\GetNotifications;
|
||||
use App\Session\FlashLevels;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Api\Notification;
|
||||
|
||||
final class SyncTaskCheck
|
||||
{
|
||||
|
|
|
@ -7,6 +7,7 @@ namespace App\Radio;
|
|||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Container\EnvironmentAwareTrait;
|
||||
use App\Container\LoggerAwareTrait;
|
||||
use App\Entity\Station;
|
||||
use App\Exception\Supervisor\AlreadyRunningException;
|
||||
use App\Exception\Supervisor\NotRunningException;
|
||||
use App\Exception\SupervisorException;
|
||||
|
@ -15,7 +16,6 @@ use Psr\EventDispatcher\EventDispatcherInterface;
|
|||
use Supervisor\Exception\Fault;
|
||||
use Supervisor\Exception\SupervisorException as SupervisorLibException;
|
||||
use Supervisor\SupervisorInterface;
|
||||
use App\Entity\Station;
|
||||
|
||||
abstract class AbstractLocalAdapter
|
||||
{
|
||||
|
|
|
@ -5,14 +5,14 @@ declare(strict_types=1);
|
|||
namespace App\Radio;
|
||||
|
||||
use App\Container\ContainerAwareTrait;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationRemote;
|
||||
use App\Exception\NotFoundException;
|
||||
use App\Radio\Backend\Liquidsoap;
|
||||
use App\Radio\Enums\AdapterTypeInterface;
|
||||
use App\Radio\Enums\BackendAdapters;
|
||||
use App\Radio\Enums\FrontendAdapters;
|
||||
use App\Radio\Enums\RemoteAdapters;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationRemote;
|
||||
|
||||
/**
|
||||
* Manager class for radio adapters.
|
||||
|
|
|
@ -5,15 +5,15 @@ declare(strict_types=1);
|
|||
namespace App\Radio\AutoDJ;
|
||||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Event\Radio\AnnotateNextSong;
|
||||
use App\Radio\Backend\Liquidsoap\ConfigWriter;
|
||||
use Psr\EventDispatcher\EventDispatcherInterface;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
use App\Entity\Repository\StationQueueRepository;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationMedia;
|
||||
use App\Entity\StationQueue;
|
||||
use App\Entity\StationRequest;
|
||||
use App\Event\Radio\AnnotateNextSong;
|
||||
use App\Radio\Backend\Liquidsoap\ConfigWriter;
|
||||
use Psr\EventDispatcher\EventDispatcherInterface;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
|
||||
final class Annotations implements EventSubscriberInterface
|
||||
{
|
||||
|
|
|
@ -6,6 +6,9 @@ namespace App\Radio\AutoDJ;
|
|||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Container\LoggerAwareTrait;
|
||||
use App\Entity\Repository\StationQueueRepository;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationQueue;
|
||||
use App\Event\Radio\BuildQueue;
|
||||
use Carbon\CarbonImmutable;
|
||||
use Carbon\CarbonInterface;
|
||||
|
@ -14,9 +17,6 @@ use Monolog\LogRecord;
|
|||
use Psr\EventDispatcher\EventDispatcherInterface;
|
||||
use Psr\Log\LogLevel;
|
||||
use Psr\SimpleCache\CacheInterface;
|
||||
use App\Entity\Repository\StationQueueRepository;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationQueue;
|
||||
|
||||
/**
|
||||
* Public methods related to the AutoDJ Queue process.
|
||||
|
|
|
@ -6,24 +6,24 @@ namespace App\Radio\AutoDJ;
|
|||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Container\LoggerAwareTrait;
|
||||
use App\Entity\Api\StationPlaylistQueue;
|
||||
use App\Entity\Enums\PlaylistOrders;
|
||||
use App\Entity\Enums\PlaylistRemoteTypes;
|
||||
use App\Entity\Enums\PlaylistSources;
|
||||
use App\Entity\Enums\PlaylistTypes;
|
||||
use App\Entity\Repository\StationPlaylistMediaRepository;
|
||||
use App\Entity\Repository\StationQueueRepository;
|
||||
use App\Entity\Repository\StationRequestRepository;
|
||||
use App\Entity\Song;
|
||||
use App\Entity\StationMedia;
|
||||
use App\Entity\StationPlaylist;
|
||||
use App\Entity\StationPlaylistMedia;
|
||||
use App\Entity\StationQueue;
|
||||
use App\Event\Radio\BuildQueue;
|
||||
use App\Radio\PlaylistParser;
|
||||
use Carbon\CarbonInterface;
|
||||
use Psr\SimpleCache\CacheInterface;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
use App\Entity\Repository\StationPlaylistMediaRepository;
|
||||
use App\Entity\Repository\StationRequestRepository;
|
||||
use App\Entity\Repository\StationQueueRepository;
|
||||
use App\Entity\Enums\PlaylistTypes;
|
||||
use App\Entity\StationPlaylist;
|
||||
use App\Entity\StationQueue;
|
||||
use App\Entity\Enums\PlaylistSources;
|
||||
use App\Entity\Api\StationPlaylistQueue;
|
||||
use App\Entity\Enums\PlaylistOrders;
|
||||
use App\Entity\StationMedia;
|
||||
use App\Entity\StationPlaylistMedia;
|
||||
use App\Entity\Song;
|
||||
use App\Entity\Enums\PlaylistRemoteTypes;
|
||||
|
||||
/**
|
||||
* The internal steps of the AutoDJ Queue building process.
|
||||
|
|
|
@ -6,17 +6,17 @@ namespace App\Radio\AutoDJ;
|
|||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use App\Container\LoggerAwareTrait;
|
||||
use App\Entity\Enums\PlaylistTypes;
|
||||
use App\Entity\Repository\StationPlaylistMediaRepository;
|
||||
use App\Entity\Repository\StationQueueRepository;
|
||||
use App\Entity\StationPlaylist;
|
||||
use App\Entity\StationSchedule;
|
||||
use App\Entity\StationStreamer;
|
||||
use App\Utilities\DateRange;
|
||||
use Carbon\CarbonImmutable;
|
||||
use Carbon\CarbonInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Monolog\LogRecord;
|
||||
use App\Entity\StationPlaylist;
|
||||
use App\Entity\Enums\PlaylistTypes;
|
||||
use App\Entity\StationSchedule;
|
||||
use App\Entity\StationStreamer;
|
||||
|
||||
final class Scheduler
|
||||
{
|
||||
|
|
|
@ -4,6 +4,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Radio\Backend;
|
||||
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationStreamer;
|
||||
use App\Event\Radio\WriteLiquidsoapConfiguration;
|
||||
use App\Exception;
|
||||
use App\Nginx\CustomUrls;
|
||||
|
@ -14,8 +16,6 @@ use App\Radio\Enums\LiquidsoapQueues;
|
|||
use LogicException;
|
||||
use Psr\Http\Message\UriInterface;
|
||||
use Symfony\Component\Process\Process;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationStreamer;
|
||||
|
||||
final class Liquidsoap extends AbstractLocalAdapter
|
||||
{
|
||||
|
|
|
@ -5,11 +5,11 @@ declare(strict_types=1);
|
|||
namespace App\Radio\Backend\Liquidsoap\Command;
|
||||
|
||||
use App\Container\LoggerAwareTrait;
|
||||
use App\Entity\Station;
|
||||
use App\Radio\Enums\BackendAdapters;
|
||||
use Monolog\LogRecord;
|
||||
use ReflectionClass;
|
||||
use Throwable;
|
||||
use App\Entity\Station;
|
||||
|
||||
abstract class AbstractCommand
|
||||
{
|
||||
|
|
|
@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Radio\Backend\Liquidsoap\Command;
|
||||
|
||||
use App\Entity\Station;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use RuntimeException;
|
||||
use App\Entity\Station;
|
||||
|
||||
final class CopyCommand extends AbstractCommand
|
||||
{
|
||||
|
|
|
@ -4,9 +4,9 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Radio\Backend\Liquidsoap\Command;
|
||||
|
||||
use RuntimeException;
|
||||
use App\Entity\Repository\StationStreamerRepository;
|
||||
use App\Entity\Station;
|
||||
use RuntimeException;
|
||||
|
||||
final class DjAuthCommand extends AbstractCommand
|
||||
{
|
||||
|
|
|
@ -5,15 +5,15 @@ declare(strict_types=1);
|
|||
namespace App\Radio\Backend\Liquidsoap\Command;
|
||||
|
||||
use App\Container\EntityManagerAwareTrait;
|
||||
use Exception;
|
||||
use RuntimeException;
|
||||
use App\Entity\Repository\StationQueueRepository;
|
||||
use App\Entity\Repository\SongHistoryRepository;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\SongHistory;
|
||||
use App\Entity\Repository\StationQueueRepository;
|
||||
use App\Entity\Song;
|
||||
use App\Entity\SongHistory;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationMedia;
|
||||
use App\Entity\StationPlaylist;
|
||||
use Exception;
|
||||
use RuntimeException;
|
||||
|
||||
final class FeedbackCommand extends AbstractCommand
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Radio\Backend\Liquidsoap\Command;
|
||||
|
||||
use App\Radio\AutoDJ\Annotations;
|
||||
use App\Entity\Station;
|
||||
use App\Radio\AutoDJ\Annotations;
|
||||
|
||||
final class NextSongCommand extends AbstractCommand
|
||||
{
|
||||
|
|
|
@ -5,6 +5,18 @@ declare(strict_types=1);
|
|||
namespace App\Radio\Backend\Liquidsoap;
|
||||
|
||||
use App\Container\EnvironmentAwareTrait;
|
||||
use App\Entity\Enums\PlaylistOrders;
|
||||
use App\Entity\Enums\PlaylistRemoteTypes;
|
||||
use App\Entity\Enums\PlaylistSources;
|
||||
use App\Entity\Enums\PlaylistTypes;
|
||||
use App\Entity\Enums\StationBackendPerformanceModes;
|
||||
use App\Entity\Interfaces\StationMountInterface;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationBackendConfiguration;
|
||||
use App\Entity\StationPlaylist;
|
||||
use App\Entity\StationSchedule;
|
||||
use App\Entity\StationStreamerBroadcast;
|
||||
use App\Event\Radio\WriteLiquidsoapConfiguration;
|
||||
use App\Radio\Backend\Liquidsoap;
|
||||
use App\Radio\Enums\AudioProcessingMethods;
|
||||
|
@ -18,18 +30,6 @@ use App\Radio\StereoTool;
|
|||
use Carbon\CarbonImmutable;
|
||||
use RuntimeException;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\StationBackendConfiguration;
|
||||
use App\Entity\Enums\StationBackendPerformanceModes;
|
||||
use App\Entity\Enums\PlaylistSources;
|
||||
use App\Entity\Enums\PlaylistOrders;
|
||||
use App\Entity\Enums\PlaylistRemoteTypes;
|
||||
use App\Entity\StationPlaylist;
|
||||
use App\Entity\Enums\PlaylistTypes;
|
||||
use App\Entity\StationSchedule;
|
||||
use App\Entity\StationStreamerBroadcast;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\Interfaces\StationMountInterface;
|
||||
|
||||
final class ConfigWriter implements EventSubscriberInterface
|
||||
{
|
||||
|
|
|
@ -5,8 +5,8 @@ declare(strict_types=1);
|
|||
namespace App\Radio;
|
||||
|
||||
use App\Container\EnvironmentAwareTrait;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
use App\Entity\Station;
|
||||
use App\Flysystem\StationFilesystems;
|
||||
|
||||
final class FallbackFile
|
||||
{
|
||||
|
|
|
@ -4,6 +4,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Radio\Frontend;
|
||||
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Repository\StationMountRepository;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationMount;
|
||||
use App\Http\Router;
|
||||
use App\Nginx\CustomUrls;
|
||||
use App\Radio\AbstractLocalAdapter;
|
||||
|
@ -19,10 +23,6 @@ use PhpIP\IPBlock;
|
|||
use Psr\EventDispatcher\EventDispatcherInterface;
|
||||
use Psr\Http\Message\UriInterface;
|
||||
use Supervisor\SupervisorInterface;
|
||||
use App\Entity\Repository\SettingsRepository;
|
||||
use App\Entity\Repository\StationMountRepository;
|
||||
use App\Entity\Station;
|
||||
use App\Entity\StationMount;
|
||||
|
||||
abstract class AbstractFrontend extends AbstractLocalAdapter
|
||||
{
|
||||
|
|
|
@ -4,12 +4,12 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Radio\Frontend\Blocklist;
|
||||
|
||||
use App\Entity\Station;
|
||||
use App\Radio\Enums\FrontendAdapters;
|
||||
use App\Service\IpGeolocation;
|
||||
use InvalidArgumentException;
|
||||
use PhpIP\IP;
|
||||
use PhpIP\IPBlock;
|
||||
use App\Entity\Station;
|
||||
|
||||
final class BlocklistParser
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Radio\Frontend;
|
||||
|
||||
use App\Entity\Station;
|
||||
use App\Radio\Enums\StreamFormats;
|
||||
use App\Service\Acme;
|
||||
use App\Utilities;
|
||||
|
@ -14,7 +15,6 @@ use NowPlaying\Result\Result;
|
|||
use Psr\Http\Message\UriInterface;
|
||||
use Supervisor\Exception\SupervisorException as SupervisorLibException;
|
||||
use Symfony\Component\Filesystem\Path;
|
||||
use App\Entity\Station;
|
||||
|
||||
final class Icecast extends AbstractFrontend
|
||||
{
|
||||
|
|
|
@ -4,12 +4,12 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Radio\Frontend;
|
||||
|
||||
use App\Entity\Station;
|
||||
use App\Service\Acme;
|
||||
use GuzzleHttp\Promise\Utils;
|
||||
use NowPlaying\Result\Result;
|
||||
use Psr\Http\Message\UriInterface;
|
||||
use Symfony\Component\Process\Process;
|
||||
use App\Entity\Station;
|
||||
|
||||
final class Shoutcast extends AbstractFrontend
|
||||
{
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue