From 947e918f05d70d5dce4efa4ef403e593581c3fa9 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 28 Feb 2021 12:26:24 +0100 Subject: Travis: Enforce phpcs line length + whitespace (#3488) * Update Travis line length * Also check whitespace in CSS files * Fix line length ext.php * More syntax, string templates * Fix exclude-pattern * Test JS files as well --- app/views/index/global.phtml | 6 ++++-- app/views/index/logs.phtml | 6 ++++-- app/views/index/normal.phtml | 16 ++++++++++------ app/views/index/reader.phtml | 8 ++++++-- 4 files changed, 24 insertions(+), 12 deletions(-) (limited to 'app/views/index') diff --git a/app/views/index/global.phtml b/app/views/index/global.phtml index af16a0bfa..e286d0946 100644 --- a/app/views/index/global.phtml +++ b/app/views/index/global.phtml @@ -27,7 +27,8 @@ if (!empty($feeds)) { ?>
- +

diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml index aee7246d0..ba941066e 100644 --- a/app/views/index/normal.phtml +++ b/app/views/index/normal.phtml @@ -61,10 +61,10 @@ $today = @strtotime('today'); ?>
entry->isRead() ? ' not_read' : '' + ?>entry->isFavorite() ? ' favorite' : '' + ?>" id="flux_entry->id() + ?>" data-feed="feed->id() ?>">renderHelper('index/normal/entry_header'); @@ -74,7 +74,9 @@ $today = @strtotime('today');

entry->title() ?>

entry->date() ?>
@@ -88,7 +90,9 @@ $today = @strtotime('today'); echo $first ? _t('gen.short.by_author') . ' ' : '· '; $first = false; ?> - "> + ">
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml index f2f76f8b6..9febbb52f 100644 --- a/app/views/index/reader.phtml +++ b/app/views/index/reader.phtml @@ -44,7 +44,9 @@ $content_width = FreshRSS_Context::$user_conf->content_width; isFavorite() ? 'starred' : 'non-starred') ?> - show_favicons): ?>✇ + show_favicons): ?> + ✇ + name() ?>

title() ?>

@@ -57,7 +59,9 @@ $content_width = FreshRSS_Context::$user_conf->content_width; echo $first ? _t('gen.short.by_author') . ' ' : '· '; $first = false; ?> - +