From 30c7a61a9b410f023c56ef19b9389a61647d8768 Mon Sep 17 00:00:00 2001 From: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> Date: Thu, 16 Nov 2023 22:43:00 +0100 Subject: Use strict_types (#5830) * Little's optimisations and booleans in conditions * Apply strict type * Apply strict type * Apply strict type * Fix multiple bugs with PHP 8.2 and 8.3 * Many declares missing, more errors fixed * Apply strict type * Another approach * Stronger typing for Minz_Session * Fix case of SQLite --------- Co-authored-by: Luc Co-authored-by: Alexandre Alapetite --- app/views/auth/formLogin.phtml | 5 ++++- app/views/auth/index.phtml | 2 +- app/views/auth/register.phtml | 5 ++++- app/views/configure/archiving.phtml | 2 +- app/views/configure/display.phtml | 2 +- app/views/configure/integration.phtml | 10 +++++----- app/views/configure/queries.phtml | 4 ++-- app/views/configure/query.phtml | 1 + app/views/configure/reading.phtml | 2 +- app/views/configure/shortcut.phtml | 2 +- app/views/configure/system.phtml | 2 +- app/views/entry/bookmark.phtml | 4 +++- app/views/entry/read.phtml | 1 + app/views/error/index.phtml | 5 ++++- app/views/extension/configure.phtml | 1 + app/views/extension/index.phtml | 2 +- app/views/feed/add.phtml | 7 +++++-- app/views/feed/contentSelectorPreview.phtml | 1 + app/views/helpers/category/update.phtml | 5 ++++- app/views/helpers/configure/query.phtml | 7 +++++-- app/views/helpers/export/articles.phtml | 1 + app/views/helpers/export/opml.phtml | 1 + app/views/helpers/extension/configure.phtml | 1 + app/views/helpers/extension/details.phtml | 5 +++-- app/views/helpers/feed/update.phtml | 5 ++++- app/views/helpers/index/normal/entry_bottom.phtml | 1 + app/views/helpers/index/normal/entry_header.phtml | 1 + app/views/helpers/javascript_vars.phtml | 3 ++- app/views/helpers/logs_pagination.phtml | 2 +- app/views/helpers/stream-footer.phtml | 10 +++++----- app/views/importExport/export.phtml | 6 ++++-- app/views/importExport/index.phtml | 2 +- app/views/index/about.phtml | 2 +- app/views/index/global.phtml | 2 +- app/views/index/logs.phtml | 7 +++++-- app/views/index/normal.phtml | 1 + app/views/index/opml.phtml | 1 + app/views/index/reader.phtml | 1 + app/views/index/rss.phtml | 5 ++++- app/views/index/tos.phtml | 2 +- app/views/javascript/actualize.phtml | 1 + app/views/javascript/nbUnreadsPerFeed.phtml | 1 + app/views/javascript/nonce.phtml | 1 + app/views/stats/idle.phtml | 2 +- app/views/stats/index.phtml | 2 +- app/views/stats/repartition.phtml | 2 +- app/views/subscription/add.phtml | 2 +- app/views/subscription/bookmarklet.phtml | 2 +- app/views/subscription/category.phtml | 1 + app/views/subscription/feed.phtml | 1 + app/views/subscription/index.phtml | 2 +- app/views/tag/getTagsForEntry.phtml | 3 ++- app/views/tag/index.phtml | 2 +- app/views/update/apply.phtml | 2 +- app/views/update/checkInstall.phtml | 2 +- app/views/update/index.phtml | 2 +- app/views/user/details.phtml | 9 ++++----- app/views/user/manage.phtml | 2 +- app/views/user/profile.phtml | 3 ++- app/views/user/validateEmail.phtml | 5 ++++- app/views/user_mailer/email_need_validation.txt.php | 5 ++++- 61 files changed, 119 insertions(+), 62 deletions(-) (limited to 'app/views') diff --git a/app/views/auth/formLogin.phtml b/app/views/auth/formLogin.phtml index 29f98d20b..6deade3f4 100644 --- a/app/views/auth/formLogin.phtml +++ b/app/views/auth/formLogin.phtml @@ -1,4 +1,7 @@ - +

diff --git a/app/views/auth/index.phtml b/app/views/auth/index.phtml index 45183592a..78762c19e 100644 --- a/app/views/auth/index.phtml +++ b/app/views/auth/index.phtml @@ -1,8 +1,8 @@ partial('aside_configure'); ?> -