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/subscription/index.phtml | 70 +++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'app/views/subscription/index.phtml') diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml index 20f72ad66..da7593a8d 100644 --- a/app/views/subscription/index.phtml +++ b/app/views/subscription/index.phtml @@ -1,77 +1,77 @@ partial('aside_subscription'); ?>
- + -

+

-
- + +
- + - +

- default_category->name()); ?> + default_category->name()) ?>

onlyFeedsWithError): ?>

- +

-
+
    -
    - -
  • -
  • + + +
  • +
- - name(); ?> + + name() ?>
-
    +
      inError() ? ' error' : ''; $empty = $feed->nbEntries() == 0 ? ' empty' : ''; ?> -
    • - - ✇ name(); ?> + + ✇ name() ?>
    • -
    • +
@@ -111,16 +111,16 @@
displaySlider ? ' class="active"' : ''; ?> -> -
> +> +
> feed)) { $this->renderHelper('feed/update'); -- cgit v1.2.3