From 7a5236de3f13f08b8c51eb183c0dcf1c8c85beca Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 23 Oct 2019 11:18:20 +0200 Subject: Take advantage of PHP 5.4+ short echo (#2585) * Take advantage of PHP 5.4+ short echo https://php.net/migration54.new-features thanks to https://github.com/FreshRSS/FreshRSS/pull/2495 Use `` instead of `` 10kB of code saved :-) Done with regular expression: ``` <\?php echo (.+?);? *\?> ``` * Try Travis fix https://github.com/squizlabs/PHP_CodeSniffer/issues/2045#issuecomment-395238272 --- app/views/index/logs.phtml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'app/views/index/logs.phtml') diff --git a/app/views/index/logs.phtml b/app/views/index/logs.phtml index a88f89278..2deb1c315 100644 --- a/app/views/index/logs.phtml +++ b/app/views/index/logs.phtml @@ -1,11 +1,11 @@
- + -

-

- +

+

+ - +

logsPaginator->items(); ?> @@ -15,12 +15,12 @@ logsPaginator->render('logs_pagination.phtml', 'page'); ?> -
date())); ?>info(), ENT_NOQUOTES, 'UTF-8'); ?>
+
date())) ?>info(), ENT_NOQUOTES, 'UTF-8') ?>
logsPaginator->render('logs_pagination.phtml','page'); ?>
-

+

-- cgit v1.2.3