From eb8e70d09e498b452a3ad438f0232cbf7166e317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20H=C3=A4der?= Date: Thu, 3 Jan 2019 22:50:56 +0100 Subject: [PATCH 1/2] Set CHMOD 777 for Shell script. --- bin/console | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 bin/console diff --git a/bin/console b/bin/console old mode 100644 new mode 100755 From e13182d91384a9e3f02f9b6c7b0c70d159b20b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20H=C3=A4der?= Date: Thu, 3 Jan 2019 22:54:57 +0100 Subject: [PATCH 2/2] Some cleanups: - "use" should be executed before any other line (except strict mode line) - "import" App class before use it - sure braces with "new" operator as this invokes the constructor --- include/cron_maintain.php | 6 +++--- include/cron_sync.php | 6 +++--- include/directory.php | 6 +++--- include/notifier.php | 6 +++--- include/poller.php | 6 +++--- include/rockstar.php | 6 +++--- index.php | 6 +++--- src/Core/Console/Config.php | 1 - src/Core/Console/Probe.php | 3 ++- 9 files changed, 23 insertions(+), 23 deletions(-) diff --git a/include/cron_maintain.php b/include/cron_maintain.php index 99772591..c5c14200 100644 --- a/include/cron_maintain.php +++ b/include/cron_maintain.php @@ -1,10 +1,10 @@ getOption('v')) { $this->out('Class: ' . __CLASS__);