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/helpers/feed/update.phtml | 160 ++++++++++++++++++------------------ 1 file changed, 80 insertions(+), 80 deletions(-) (limited to 'app/views/helpers/feed') diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index 84461ed03..e5f186956 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -1,99 +1,99 @@
-

feed->name(); ?>

+

feed->name() ?>

- - - + + +
-

feed->description(); ?>

+

feed->description() ?>

feed->nbEntries(); ?> feed->inError()) { ?> -

+

-

+

-
- - + + +
- +
- +
- +
- +
- +
- - + +
- +
- - + +
- +
- +
- +
- - + + + data-str-confirm="" + formaction="feed->id()) ?>" + formmethod="post">
- +
@@ -201,14 +201,14 @@
- +
- +
- - - + + +
- + feed->httpAuth(false); ?>
- +
- - + +
- +
- +
- - + +
- +
- +
- - + +
- +
- +
- +
- feed->attributes('clear_cache') ? ' checked="checked"' : ''; ?> /> + feed->attributes('clear_cache') ? ' checked="checked"' : '' ?> />
- +
- +
- +
- +
- +
- +
- - + +
-- cgit v1.2.3