diff --git a/composer.json b/composer.json index 3bb2907..eec5845 100644 --- a/composer.json +++ b/composer.json @@ -15,12 +15,6 @@ "psalm:check": "psalm.phar --threads=1 --no-cache --show-info=true", "psalm:fix": "psalm.phar --no-cache --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType" }, - "autoload": { - "psr-4": { - "OCA\\RePod\\": "lib/", - "OCA\\GPodderSync\\": "stubs/OCA/GPodderSync/" - } - }, "config": { "platform": { "php": "8.0" diff --git a/psalm.xml b/psalm.xml index 6584df1..1005f1b 100644 --- a/psalm.xml +++ b/psalm.xml @@ -10,7 +10,6 @@ > - diff --git a/stubs/OCA/GPodderSync/Core/EpisodeAction/EpisodeAction.php b/stubs/OCA/GPodderSync/Core/EpisodeAction/EpisodeAction.php deleted file mode 100644 index b0d6de8..0000000 --- a/stubs/OCA/GPodderSync/Core/EpisodeAction/EpisodeAction.php +++ /dev/null @@ -1,31 +0,0 @@ - - */ - public function toArray(): array; -} diff --git a/stubs/OCA/GPodderSync/Core/EpisodeAction/EpisodeActionReader.php b/stubs/OCA/GPodderSync/Core/EpisodeAction/EpisodeActionReader.php deleted file mode 100644 index a169996..0000000 --- a/stubs/OCA/GPodderSync/Core/EpisodeAction/EpisodeActionReader.php +++ /dev/null @@ -1,17 +0,0 @@ - - */ - public function toArray(): array; - - /** - * @return array - */ - public function jsonSerialize(): array; -} diff --git a/stubs/OCA/GPodderSync/Core/PodcastData/PodcastData.php b/stubs/OCA/GPodderSync/Core/PodcastData/PodcastData.php deleted file mode 100644 index 0aa1fd2..0000000 --- a/stubs/OCA/GPodderSync/Core/PodcastData/PodcastData.php +++ /dev/null @@ -1,47 +0,0 @@ - - */ - public function toArray(): array; - - /** - * @return array - */ - public function jsonSerialize(): array; - - public static function fromArray(array $data): PodcastData; -} diff --git a/stubs/OCA/GPodderSync/Core/PodcastData/PodcastDataReader.php b/stubs/OCA/GPodderSync/Core/PodcastData/PodcastDataReader.php deleted file mode 100644 index 06f6dbf..0000000 --- a/stubs/OCA/GPodderSync/Core/PodcastData/PodcastDataReader.php +++ /dev/null @@ -1,16 +0,0 @@ - - */ - public function toArray(): array; - - /** - * @return array - */ - public function jsonSerialize(): array; -} diff --git a/stubs/OCA/GPodderSync/Core/PodcastData/PodcastMetricsReader.php b/stubs/OCA/GPodderSync/Core/PodcastData/PodcastMetricsReader.php deleted file mode 100644 index 784abe3..0000000 --- a/stubs/OCA/GPodderSync/Core/PodcastData/PodcastMetricsReader.php +++ /dev/null @@ -1,15 +0,0 @@ -