diff options
| author | 2023-11-16 22:43:00 +0100 | |
|---|---|---|
| committer | 2023-11-16 22:43:00 +0100 | |
| commit | 30c7a61a9b410f023c56ef19b9389a61647d8768 (patch) | |
| tree | bb58408980ce5b86f1d2b4a9be29d55b2d46dbb1 /app/views/subscription | |
| parent | ee99e7e2cc228500efc1b539954c0ca6cd4c146d (diff) | |
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 <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/views/subscription')
| -rw-r--r-- | app/views/subscription/add.phtml | 2 | ||||
| -rw-r--r-- | app/views/subscription/bookmarklet.phtml | 2 | ||||
| -rw-r--r-- | app/views/subscription/category.phtml | 1 | ||||
| -rw-r--r-- | app/views/subscription/feed.phtml | 1 | ||||
| -rw-r--r-- | app/views/subscription/index.phtml | 2 |
5 files changed, 5 insertions, 3 deletions
diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtml index 1f07e2931..2dfc8c705 100644 --- a/app/views/subscription/add.phtml +++ b/app/views/subscription/add.phtml @@ -1,8 +1,8 @@ <?php + declare(strict_types=1); /** @var FreshRSS_View $this */ $this->partial('aside_subscription'); ?> - <main class="post drop-section"> <div class="link-back-wrapper"> <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> diff --git a/app/views/subscription/bookmarklet.phtml b/app/views/subscription/bookmarklet.phtml index 540bf8e52..d96f8a35b 100644 --- a/app/views/subscription/bookmarklet.phtml +++ b/app/views/subscription/bookmarklet.phtml @@ -1,8 +1,8 @@ <?php + declare(strict_types=1); /** @var FreshRSS_View $this */ $this->partial('aside_subscription'); ?> - <main class="post"> <div class="link-back-wrapper"> <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> diff --git a/app/views/subscription/category.phtml b/app/views/subscription/category.phtml index 0b63ebc17..daf4523bb 100644 --- a/app/views/subscription/category.phtml +++ b/app/views/subscription/category.phtml @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** @var FreshRSS_View $this */ if (!Minz_Request::paramBoolean('ajax')) { diff --git a/app/views/subscription/feed.phtml b/app/views/subscription/feed.phtml index e361cff39..934e3c690 100644 --- a/app/views/subscription/feed.phtml +++ b/app/views/subscription/feed.phtml @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** @var FreshRSS_View $this */ if (!Minz_Request::paramBoolean('ajax')) { diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml index 6881d0a8d..280799f2d 100644 --- a/app/views/subscription/index.phtml +++ b/app/views/subscription/index.phtml @@ -1,8 +1,8 @@ <?php + declare(strict_types=1); /** @var FreshRSS_View $this */ $this->partial('aside_subscription'); ?> - <main class="post"> <div class="link-back-wrapper"> <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> |
