From f9850be35cb2656b2c2023ecc99d10dd2df001fd Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Thu, 2 Dec 2021 16:06:34 -0500 Subject: [PATCH] Lots of little code fixes, hides notices shown on PHP 8.1 --- .travis.yml | 2 ++ CHANGELOG.md | 3 +++ app/templates/manga-cover.php | 6 ------ app/views/manga/edit.php | 7 ------- app/views/manga/list.php | 2 -- index.php | 2 +- src/AnimeClient/API/APIRequestBuilder.php | 2 +- src/AnimeClient/API/CacheTrait.php | 2 +- src/AnimeClient/API/Kitsu/Auth.php | 2 +- .../API/Kitsu/Transformer/AnimeTransformer.php | 4 ++-- .../API/Kitsu/Transformer/CharacterTransformer.php | 2 +- .../API/Kitsu/Transformer/MangaTransformer.php | 11 +++++++++-- .../API/Kitsu/Transformer/PersonTransformer.php | 9 +++++++-- src/AnimeClient/API/ParallelAPIRequest.php | 4 ++-- src/AnimeClient/AnimeClient.php | 2 +- 15 files changed, 31 insertions(+), 29 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9b4749a9..b4fcd505 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ install: - composer install --ignore-platform-reqs php: + - 8.0 + - 8.1 - nightly script: diff --git a/CHANGELOG.md b/CHANGELOG.md index 21bb4913..b5e0a904 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## Version 5.3 +* Updated to support PHP 8.1 + ## Version 5.2 * Updated PHP requirement to 8 diff --git a/app/templates/manga-cover.php b/app/templates/manga-cover.php index feb646bc..fbb0f3a3 100644 --- a/app/templates/manga-cover.php +++ b/app/templates/manga-cover.php @@ -2,7 +2,6 @@ isAuthenticated()): ?> picture("images/manga/{$item['manga']['id']}.webp") ?> @@ -64,11 +63,6 @@ Chapters: / - -
*/ ?> -
- Volumes: -
\ No newline at end of file diff --git a/app/views/manga/edit.php b/app/views/manga/edit.php index 58eb076c..7180b471 100644 --- a/app/views/manga/edit.php +++ b/app/views/manga/edit.php @@ -46,13 +46,6 @@ value=""/> / - - - - */ ?> - - / - - diff --git a/app/views/manga/list.php b/app/views/manga/list.php index ffcb53f7..45b5b543 100644 --- a/app/views/manga/list.php +++ b/app/views/manga/list.php @@ -22,7 +22,6 @@ Title Rating Completed Chapters - # of Volumes Attributes Type @@ -49,7 +48,6 @@ / 10 / -