From 6b414ebd259a6b0971e68e0d0e9f96b834e6ba3a Mon Sep 17 00:00:00 2001 From: mxgross Date: Wed, 22 Jan 2020 17:32:45 +0100 Subject: [PATCH] Run php-cs-fixer --- .gitignore | 0 .php_cs.dist | 0 Configuration/EasyBackupConfiguration.php | 0 Controller/EasyBackupController.php | 2 -- DependencyInjection/Configuration.php | 0 DependencyInjection/EasyBackupExtension.php | 0 EasyBackupBundle.php | 0 EventSubscriber/MenuSubscriber.php | 0 EventSubscriber/SystemConfigurationSubscriber.php | 0 LICENSE | 0 Readme.md | 0 Resources/config/routes.yaml | 0 Resources/config/services.yaml | 0 Resources/translations/flashmessages.de.xlf | 0 Resources/translations/flashmessages.en.xlf | 0 Resources/translations/messages.de.xliff | 0 Resources/translations/messages.en.xliff | 0 .../translations/system-configuration.de.xliff | 0 .../translations/system-configuration.en.xliff | 0 Resources/views/index.html.twig | 0 composer.json | 0 screenshot.jpg | Bin 22 files changed, 2 deletions(-) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 .php_cs.dist mode change 100644 => 100755 Configuration/EasyBackupConfiguration.php mode change 100644 => 100755 Controller/EasyBackupController.php mode change 100644 => 100755 DependencyInjection/Configuration.php mode change 100644 => 100755 DependencyInjection/EasyBackupExtension.php mode change 100644 => 100755 EasyBackupBundle.php mode change 100644 => 100755 EventSubscriber/MenuSubscriber.php mode change 100644 => 100755 EventSubscriber/SystemConfigurationSubscriber.php mode change 100644 => 100755 LICENSE mode change 100644 => 100755 Readme.md mode change 100644 => 100755 Resources/config/routes.yaml mode change 100644 => 100755 Resources/config/services.yaml mode change 100644 => 100755 Resources/translations/flashmessages.de.xlf mode change 100644 => 100755 Resources/translations/flashmessages.en.xlf mode change 100644 => 100755 Resources/translations/messages.de.xliff mode change 100644 => 100755 Resources/translations/messages.en.xliff mode change 100644 => 100755 Resources/translations/system-configuration.de.xliff mode change 100644 => 100755 Resources/translations/system-configuration.en.xliff mode change 100644 => 100755 Resources/views/index.html.twig mode change 100644 => 100755 composer.json mode change 100644 => 100755 screenshot.jpg diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.php_cs.dist b/.php_cs.dist old mode 100644 new mode 100755 diff --git a/Configuration/EasyBackupConfiguration.php b/Configuration/EasyBackupConfiguration.php old mode 100644 new mode 100755 diff --git a/Controller/EasyBackupController.php b/Controller/EasyBackupController.php old mode 100644 new mode 100755 index 2f9cf3c..d40d1b7 --- a/Controller/EasyBackupController.php +++ b/Controller/EasyBackupController.php @@ -54,7 +54,6 @@ final class EasyBackupController extends AbstractController public function __construct(string $dataDirectory, EasyBackupConfiguration $configuration) { - $this->kimaiRootPath = dirname(dirname($dataDirectory)) . '/'; $this->backupDirectory = $this->kimaiRootPath . $configuration->getBackupDir(); @@ -70,7 +69,6 @@ public function __construct(string $dataDirectory, EasyBackupConfiguration $conf */ public function indexAction(EasyBackupConfiguration $configuration): Response { - $existingBackups = []; $status = $this->checkStatus($configuration); diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php old mode 100644 new mode 100755 diff --git a/DependencyInjection/EasyBackupExtension.php b/DependencyInjection/EasyBackupExtension.php old mode 100644 new mode 100755 diff --git a/EasyBackupBundle.php b/EasyBackupBundle.php old mode 100644 new mode 100755 diff --git a/EventSubscriber/MenuSubscriber.php b/EventSubscriber/MenuSubscriber.php old mode 100644 new mode 100755 diff --git a/EventSubscriber/SystemConfigurationSubscriber.php b/EventSubscriber/SystemConfigurationSubscriber.php old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/Readme.md b/Readme.md old mode 100644 new mode 100755 diff --git a/Resources/config/routes.yaml b/Resources/config/routes.yaml old mode 100644 new mode 100755 diff --git a/Resources/config/services.yaml b/Resources/config/services.yaml old mode 100644 new mode 100755 diff --git a/Resources/translations/flashmessages.de.xlf b/Resources/translations/flashmessages.de.xlf old mode 100644 new mode 100755 diff --git a/Resources/translations/flashmessages.en.xlf b/Resources/translations/flashmessages.en.xlf old mode 100644 new mode 100755 diff --git a/Resources/translations/messages.de.xliff b/Resources/translations/messages.de.xliff old mode 100644 new mode 100755 diff --git a/Resources/translations/messages.en.xliff b/Resources/translations/messages.en.xliff old mode 100644 new mode 100755 diff --git a/Resources/translations/system-configuration.de.xliff b/Resources/translations/system-configuration.de.xliff old mode 100644 new mode 100755 diff --git a/Resources/translations/system-configuration.en.xliff b/Resources/translations/system-configuration.en.xliff old mode 100644 new mode 100755 diff --git a/Resources/views/index.html.twig b/Resources/views/index.html.twig old mode 100644 new mode 100755 diff --git a/composer.json b/composer.json old mode 100644 new mode 100755 diff --git a/screenshot.jpg b/screenshot.jpg old mode 100644 new mode 100755