diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-04-09 13:44:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 13:44:39 +0200 |
commit | 19e97e86c69ab128191439d6a17dacb5a630cf98 (patch) | |
tree | 95b913a59a6512e54ef848aa03095cdfdc7a92c5 /apps/workflowengine | |
parent | 813bdc1ce8a45039fa17aac12bd078466a0034d0 (diff) | |
parent | 2a529e453a7de7f51ab72ac48f947fa9d2afd18d (diff) | |
download | nextcloud-server-19e97e86c69ab128191439d6a17dacb5a630cf98.tar.gz nextcloud-server-19e97e86c69ab128191439d6a17dacb5a630cf98.zip |
Merge pull request #20379 from nextcloud/techdebt/blank-lines
Use one blank line after the opening tag and namespace declaration
Diffstat (limited to 'apps/workflowengine')
25 files changed, 15 insertions, 10 deletions
diff --git a/apps/workflowengine/lib/Check/AbstractStringCheck.php b/apps/workflowengine/lib/Check/AbstractStringCheck.php index e86ac6bec17..4b294678fbd 100644 --- a/apps/workflowengine/lib/Check/AbstractStringCheck.php +++ b/apps/workflowengine/lib/Check/AbstractStringCheck.php @@ -21,7 +21,6 @@ namespace OCA\WorkflowEngine\Check; - use OCP\IL10N; use OCP\WorkflowEngine\ICheck; use OCP\WorkflowEngine\IManager; diff --git a/apps/workflowengine/lib/Check/FileMimeType.php b/apps/workflowengine/lib/Check/FileMimeType.php index a684785911b..9d378379e5e 100644 --- a/apps/workflowengine/lib/Check/FileMimeType.php +++ b/apps/workflowengine/lib/Check/FileMimeType.php @@ -21,7 +21,6 @@ namespace OCA\WorkflowEngine\Check; - use OCA\WorkflowEngine\Entity\File; use OCP\Files\IMimeTypeDetector; use OCP\Files\Storage\IStorage; diff --git a/apps/workflowengine/lib/Check/FileName.php b/apps/workflowengine/lib/Check/FileName.php index b17355fc486..9f2a78aef62 100644 --- a/apps/workflowengine/lib/Check/FileName.php +++ b/apps/workflowengine/lib/Check/FileName.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2018 Daniel Kesselberg <mail@danielkesselberg.de> diff --git a/apps/workflowengine/lib/Check/FileSize.php b/apps/workflowengine/lib/Check/FileSize.php index ce1bd4718f9..741426082dc 100644 --- a/apps/workflowengine/lib/Check/FileSize.php +++ b/apps/workflowengine/lib/Check/FileSize.php @@ -21,7 +21,6 @@ namespace OCA\WorkflowEngine\Check; - use OCA\WorkflowEngine\Entity\File; use OCP\IL10N; use OCP\IRequest; diff --git a/apps/workflowengine/lib/Check/FileSystemTags.php b/apps/workflowengine/lib/Check/FileSystemTags.php index e7e114881ad..03a55b3caca 100644 --- a/apps/workflowengine/lib/Check/FileSystemTags.php +++ b/apps/workflowengine/lib/Check/FileSystemTags.php @@ -21,7 +21,6 @@ namespace OCA\WorkflowEngine\Check; - use OCA\WorkflowEngine\Entity\File; use OCP\Files\Cache\ICache; use OCP\Files\IHomeStorage; diff --git a/apps/workflowengine/lib/Check/RequestRemoteAddress.php b/apps/workflowengine/lib/Check/RequestRemoteAddress.php index 00029771b52..61022a2513b 100644 --- a/apps/workflowengine/lib/Check/RequestRemoteAddress.php +++ b/apps/workflowengine/lib/Check/RequestRemoteAddress.php @@ -21,7 +21,6 @@ namespace OCA\WorkflowEngine\Check; - use OCP\IL10N; use OCP\IRequest; use OCP\WorkflowEngine\ICheck; diff --git a/apps/workflowengine/lib/Check/RequestTime.php b/apps/workflowengine/lib/Check/RequestTime.php index a6ab4a961ed..aa35e8b84c9 100644 --- a/apps/workflowengine/lib/Check/RequestTime.php +++ b/apps/workflowengine/lib/Check/RequestTime.php @@ -21,7 +21,6 @@ namespace OCA\WorkflowEngine\Check; - use OCP\AppFramework\Utility\ITimeFactory; use OCP\IL10N; use OCP\WorkflowEngine\ICheck; diff --git a/apps/workflowengine/lib/Check/RequestURL.php b/apps/workflowengine/lib/Check/RequestURL.php index 36d41c101f2..4c933c19ace 100644 --- a/apps/workflowengine/lib/Check/RequestURL.php +++ b/apps/workflowengine/lib/Check/RequestURL.php @@ -21,7 +21,6 @@ namespace OCA\WorkflowEngine\Check; - use OCP\IL10N; use OCP\IRequest; diff --git a/apps/workflowengine/lib/Check/RequestUserAgent.php b/apps/workflowengine/lib/Check/RequestUserAgent.php index ddc222833dd..24dfb1b906e 100644 --- a/apps/workflowengine/lib/Check/RequestUserAgent.php +++ b/apps/workflowengine/lib/Check/RequestUserAgent.php @@ -21,7 +21,6 @@ namespace OCA\WorkflowEngine\Check; - use OCP\IL10N; use OCP\IRequest; diff --git a/apps/workflowengine/lib/Check/TFileCheck.php b/apps/workflowengine/lib/Check/TFileCheck.php index afaf46b52bf..90eb7dc616c 100644 --- a/apps/workflowengine/lib/Check/TFileCheck.php +++ b/apps/workflowengine/lib/Check/TFileCheck.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Check/UserGroupMembership.php b/apps/workflowengine/lib/Check/UserGroupMembership.php index 8839820050a..27b2ce1879c 100644 --- a/apps/workflowengine/lib/Check/UserGroupMembership.php +++ b/apps/workflowengine/lib/Check/UserGroupMembership.php @@ -21,7 +21,6 @@ namespace OCA\WorkflowEngine\Check; - use OCP\IGroupManager; use OCP\IL10N; use OCP\IUser; diff --git a/apps/workflowengine/lib/Command/Index.php b/apps/workflowengine/lib/Command/Index.php index 7f3af3c0811..5f901c262df 100644 --- a/apps/workflowengine/lib/Command/Index.php +++ b/apps/workflowengine/lib/Command/Index.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Controller/AWorkflowController.php b/apps/workflowengine/lib/Controller/AWorkflowController.php index 8d51600c7b2..767ae79c5fd 100644 --- a/apps/workflowengine/lib/Controller/AWorkflowController.php +++ b/apps/workflowengine/lib/Controller/AWorkflowController.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php b/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php index 6d49c87b83e..45930c34c5b 100644 --- a/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php +++ b/apps/workflowengine/lib/Controller/GlobalWorkflowsController.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Controller/UserWorkflowsController.php b/apps/workflowengine/lib/Controller/UserWorkflowsController.php index 9bb7fc4778a..226746a2264 100644 --- a/apps/workflowengine/lib/Controller/UserWorkflowsController.php +++ b/apps/workflowengine/lib/Controller/UserWorkflowsController.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Entity/File.php b/apps/workflowengine/lib/Entity/File.php index 84e750815b6..78178ff759d 100644 --- a/apps/workflowengine/lib/Entity/File.php +++ b/apps/workflowengine/lib/Entity/File.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Helper/LogContext.php b/apps/workflowengine/lib/Helper/LogContext.php index fa69cde4009..231294d8c74 100644 --- a/apps/workflowengine/lib/Helper/LogContext.php +++ b/apps/workflowengine/lib/Helper/LogContext.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Helper/ScopeContext.php b/apps/workflowengine/lib/Helper/ScopeContext.php index fecc4db0ed7..e0251131a01 100644 --- a/apps/workflowengine/lib/Helper/ScopeContext.php +++ b/apps/workflowengine/lib/Helper/ScopeContext.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php b/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php index f715ebc7ef7..3c8d4ce81f8 100644 --- a/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php +++ b/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Service/Logger.php b/apps/workflowengine/lib/Service/Logger.php index dee09cc0aa4..f369a304e9c 100644 --- a/apps/workflowengine/lib/Service/Logger.php +++ b/apps/workflowengine/lib/Service/Logger.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2020 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Service/RuleMatcher.php b/apps/workflowengine/lib/Service/RuleMatcher.php index fab2d23aa49..e5dbc08ce1f 100644 --- a/apps/workflowengine/lib/Service/RuleMatcher.php +++ b/apps/workflowengine/lib/Service/RuleMatcher.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Settings/ASettings.php b/apps/workflowengine/lib/Settings/ASettings.php index 6a03625c304..2bf7dd0218e 100644 --- a/apps/workflowengine/lib/Settings/ASettings.php +++ b/apps/workflowengine/lib/Settings/ASettings.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Settings/Admin.php b/apps/workflowengine/lib/Settings/Admin.php index fa668231b41..3f8cb00982e 100644 --- a/apps/workflowengine/lib/Settings/Admin.php +++ b/apps/workflowengine/lib/Settings/Admin.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/lib/Settings/Personal.php b/apps/workflowengine/lib/Settings/Personal.php index 30f52073a1c..15f4df3c7e6 100644 --- a/apps/workflowengine/lib/Settings/Personal.php +++ b/apps/workflowengine/lib/Settings/Personal.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> diff --git a/apps/workflowengine/tests/ManagerTest.php b/apps/workflowengine/tests/ManagerTest.php index aa6f4baef89..2a5128f76b6 100644 --- a/apps/workflowengine/tests/ManagerTest.php +++ b/apps/workflowengine/tests/ManagerTest.php @@ -21,7 +21,6 @@ namespace OCA\WorkflowEngine\Tests; - use OC\L10N\L10N; use OCA\WorkflowEngine\Entity\File; use OCA\WorkflowEngine\Helper\ScopeContext; |