From 2c73e721d036698c8453a96d22354022cf2d45a6 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 9 Nov 2018 10:38:35 -0500 Subject: [PATCH] Misc code cleanup --- app/config/cache.toml.example | 2 - app/views/collection/edit.php | 2 +- src/API/APIRequestBuilder.php | 2 +- src/API/Anilist.php | 4 +- src/API/Anilist/Model.php | 25 ++-- .../Transformer/AnimeListTransformer.php | 12 -- .../Transformer/MangaListTransformer.php | 15 +-- src/API/Enum/AnimeWatchingStatus/Anilist.php | 12 +- src/API/Enum/AnimeWatchingStatus/Kitsu.php | 10 +- src/API/Enum/AnimeWatchingStatus/Route.php | 14 +-- src/API/Enum/AnimeWatchingStatus/Title.php | 14 +-- src/API/Enum/MangaReadingStatus/Anilist.php | 12 +- src/API/Enum/MangaReadingStatus/Kitsu.php | 10 +- src/API/Enum/MangaReadingStatus/Route.php | 12 +- src/API/Enum/MangaReadingStatus/Title.php | 12 +- src/API/JsonAPI.php | 10 +- src/API/Kitsu.php | 12 +- src/API/Kitsu/Enum/AnimeAiringStatus.php | 6 +- src/API/Kitsu/KitsuRequestBuilder.php | 3 +- src/API/Kitsu/KitsuTrait.php | 3 +- src/API/Kitsu/ListItem.php | 8 +- src/API/Kitsu/Model.php | 17 +-- src/API/Mapping/AnimeWatchingStatus.php | 12 +- src/API/Mapping/MangaReadingStatus.php | 12 +- src/AnimeClient.php | 4 +- src/Command/BaseCommand.php | 8 +- src/Command/ClearThumbnails.php | 116 +++++++++--------- src/Controller.php | 10 +- src/Controller/AnimeCollection.php | 10 +- src/Controller/MangaCollection.php | 6 +- src/Controller/Misc.php | 9 +- src/Dispatcher.php | 29 +++-- src/FormGenerator.php | 27 ++-- src/MenuGenerator.php | 6 +- src/Model/API.php | 6 +- src/Model/Anime.php | 4 +- src/Model/AnimeCollection.php | 5 + src/Model/Collection.php | 6 +- src/Model/DB.php | 3 - src/Model/Settings.php | 9 +- src/RoutingBase.php | 14 --- src/UrlGenerator.php | 8 +- src/Util.php | 6 +- 43 files changed, 230 insertions(+), 297 deletions(-) diff --git a/app/config/cache.toml.example b/app/config/cache.toml.example index 7efacce5..6de18499 100644 --- a/app/config/cache.toml.example +++ b/app/config/cache.toml.example @@ -20,5 +20,3 @@ host = "127.0.0.1" # Database number database = 2 - -[options] \ No newline at end of file diff --git a/app/views/collection/edit.php b/app/views/collection/edit.php index 0b19f4f9..74e6605a 100644 --- a/app/views/collection/edit.php +++ b/app/views/collection/edit.php @@ -2,7 +2,7 @@

Edit Anime Collection Item

- +