From 5440c8a09a012662b8c22685626f517c5ea699cf Mon Sep 17 00:00:00 2001 From: schorschy Date: Fri, 21 Jun 2024 11:36:53 +0000 Subject: [PATCH] Apply php-cs-fixer changes --- boot.php | 3 +-- fragments/neues/list.php | 2 +- lib/compatibility_classes.php | 40 ++++++++++++------------------- lib/neues_rss_api.php | 4 +--- lib/rex_cronjob_neues_publish.php | 2 ++ 5 files changed, 20 insertions(+), 31 deletions(-) diff --git a/boot.php b/boot.php index a5849f8..254af3e 100644 --- a/boot.php +++ b/boot.php @@ -4,6 +4,7 @@ use rex; use rex_addon; +use rex_api_function; use rex_be_controller; use rex_config; use rex_cronjob_manager; @@ -11,14 +12,12 @@ use rex_extension; use rex_extension_point; use rex_plugin; -use rex_api_function; use rex_url; use rex_yform_manager_dataset; use rex_yform_manager_table; use rex_yform_rest; use rex_yform_rest_route; - if (rex_addon::get('cronjob')->isAvailable() && !rex::isSafeMode()) { rex_cronjob_manager::registerType(rex_cronjob_neues_publish::class); } diff --git a/fragments/neues/list.php b/fragments/neues/list.php index d79c728..92231e3 100644 --- a/fragments/neues/list.php +++ b/fragments/neues/list.php @@ -23,7 +23,7 @@
-

+

diff --git a/lib/compatibility_classes.php b/lib/compatibility_classes.php index 7cdd2d1..64bc81f 100644 --- a/lib/compatibility_classes.php +++ b/lib/compatibility_classes.php @@ -1,41 +1,31 @@ '); diff --git a/lib/rex_cronjob_neues_publish.php b/lib/rex_cronjob_neues_publish.php index 6eb9967..02f7c0e 100644 --- a/lib/rex_cronjob_neues_publish.php +++ b/lib/rex_cronjob_neues_publish.php @@ -5,6 +5,8 @@ use rex_cronjob; use rex_i18n; +use function count; + class rex_cronjob_neues_publish extends rex_cronjob { public function execute()