diff options
Diffstat (limited to 'tests/Core')
27 files changed, 6 insertions, 21 deletions
diff --git a/tests/Core/Command/Apps/AppsDisableTest.php b/tests/Core/Command/Apps/AppsDisableTest.php index fea368f4b03..b5fd18ece22 100644 --- a/tests/Core/Command/Apps/AppsDisableTest.php +++ b/tests/Core/Command/Apps/AppsDisableTest.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019, Daniel Kesselberg (mail@danielkesselberg.de) diff --git a/tests/Core/Command/Apps/AppsEnableTest.php b/tests/Core/Command/Apps/AppsEnableTest.php index ecbed649d36..a8aa4c434f0 100644 --- a/tests/Core/Command/Apps/AppsEnableTest.php +++ b/tests/Core/Command/Apps/AppsEnableTest.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019, Daniel Kesselberg (mail@danielkesselberg.de) diff --git a/tests/Core/Command/Config/App/DeleteConfigTest.php b/tests/Core/Command/Config/App/DeleteConfigTest.php index 251de227d67..442b9c5a8ef 100644 --- a/tests/Core/Command/Config/App/DeleteConfigTest.php +++ b/tests/Core/Command/Config/App/DeleteConfigTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Config\App; - use OC\Core\Command\Config\App\DeleteConfig; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; diff --git a/tests/Core/Command/Config/App/GetConfigTest.php b/tests/Core/Command/Config/App/GetConfigTest.php index 7ecb09b8f82..b18bc8de1d0 100644 --- a/tests/Core/Command/Config/App/GetConfigTest.php +++ b/tests/Core/Command/Config/App/GetConfigTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Config\App; - use OC\Core\Command\Config\App\GetConfig; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; diff --git a/tests/Core/Command/Config/App/SetConfigTest.php b/tests/Core/Command/Config/App/SetConfigTest.php index 988e965d317..3077f74b369 100644 --- a/tests/Core/Command/Config/App/SetConfigTest.php +++ b/tests/Core/Command/Config/App/SetConfigTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Config\App; - use OC\Core\Command\Config\App\SetConfig; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; diff --git a/tests/Core/Command/Config/ImportTest.php b/tests/Core/Command/Config/ImportTest.php index fa1ed151678..2c0a6e3d8fd 100644 --- a/tests/Core/Command/Config/ImportTest.php +++ b/tests/Core/Command/Config/ImportTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Config; - use OC\Core\Command\Config\Import; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; diff --git a/tests/Core/Command/Config/ListConfigsTest.php b/tests/Core/Command/Config/ListConfigsTest.php index 203feaacbf1..ac0155f9b5f 100644 --- a/tests/Core/Command/Config/ListConfigsTest.php +++ b/tests/Core/Command/Config/ListConfigsTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Config; - use OC\Core\Command\Config\ListConfigs; use OC\SystemConfig; use OCP\IAppConfig; diff --git a/tests/Core/Command/Config/System/DeleteConfigTest.php b/tests/Core/Command/Config/System/DeleteConfigTest.php index 21ef3e33981..ee27fa587bc 100644 --- a/tests/Core/Command/Config/System/DeleteConfigTest.php +++ b/tests/Core/Command/Config/System/DeleteConfigTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Config\System; - use OC\Core\Command\Config\System\DeleteConfig; use OC\SystemConfig; use Symfony\Component\Console\Input\InputInterface; diff --git a/tests/Core/Command/Config/System/GetConfigTest.php b/tests/Core/Command/Config/System/GetConfigTest.php index 1d8975f7f7f..ab366b3e1f5 100644 --- a/tests/Core/Command/Config/System/GetConfigTest.php +++ b/tests/Core/Command/Config/System/GetConfigTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Config\System; - use OC\Core\Command\Config\System\GetConfig; use OC\SystemConfig; use Symfony\Component\Console\Input\InputInterface; diff --git a/tests/Core/Command/Config/System/SetConfigTest.php b/tests/Core/Command/Config/System/SetConfigTest.php index 1ed7cf2758f..e359e846aa7 100644 --- a/tests/Core/Command/Config/System/SetConfigTest.php +++ b/tests/Core/Command/Config/System/SetConfigTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Config\System; - use OC\Core\Command\Config\System\SetConfig; use OC\SystemConfig; use Symfony\Component\Console\Input\InputInterface; diff --git a/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php b/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php index d17050e7245..4f15b2a50b1 100644 --- a/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php +++ b/tests/Core/Command/Encryption/ChangeKeyStorageRootTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Encryption; - use OC\Core\Command\Encryption\ChangeKeyStorageRoot; use OC\Encryption\Util; use OC\Files\View; diff --git a/tests/Core/Command/Encryption/DecryptAllTest.php b/tests/Core/Command/Encryption/DecryptAllTest.php index acdaff4bbab..4cae5bc0ad2 100644 --- a/tests/Core/Command/Encryption/DecryptAllTest.php +++ b/tests/Core/Command/Encryption/DecryptAllTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Encryption; - use OC\Core\Command\Encryption\DecryptAll; use OCP\App\IAppManager; use OCP\Encryption\IManager; diff --git a/tests/Core/Command/Encryption/DisableTest.php b/tests/Core/Command/Encryption/DisableTest.php index f9035a84788..4d088073380 100644 --- a/tests/Core/Command/Encryption/DisableTest.php +++ b/tests/Core/Command/Encryption/DisableTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Encryption; - use OC\Core\Command\Encryption\Disable; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; diff --git a/tests/Core/Command/Encryption/EnableTest.php b/tests/Core/Command/Encryption/EnableTest.php index 5c8fc826af1..f76638c0ecf 100644 --- a/tests/Core/Command/Encryption/EnableTest.php +++ b/tests/Core/Command/Encryption/EnableTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Encryption; - use OC\Core\Command\Encryption\Enable; use OCP\Encryption\IManager; use OCP\IConfig; diff --git a/tests/Core/Command/Encryption/EncryptAllTest.php b/tests/Core/Command/Encryption/EncryptAllTest.php index 778d51fd8b8..4a0d40ea5b3 100644 --- a/tests/Core/Command/Encryption/EncryptAllTest.php +++ b/tests/Core/Command/Encryption/EncryptAllTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Encryption; - use OC\Core\Command\Encryption\EncryptAll; use OCP\App\IAppManager; use OCP\Encryption\IEncryptionModule; diff --git a/tests/Core/Command/Encryption/SetDefaultModuleTest.php b/tests/Core/Command/Encryption/SetDefaultModuleTest.php index 0776ef42b48..f2f1d1cfc67 100644 --- a/tests/Core/Command/Encryption/SetDefaultModuleTest.php +++ b/tests/Core/Command/Encryption/SetDefaultModuleTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Encryption; - use OC\Core\Command\Encryption\SetDefaultModule; use OCP\Encryption\IManager; use OCP\IConfig; diff --git a/tests/Core/Command/Log/FileTest.php b/tests/Core/Command/Log/FileTest.php index c1d005e0c56..58507227780 100644 --- a/tests/Core/Command/Log/FileTest.php +++ b/tests/Core/Command/Log/FileTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Log; - use OC\Core\Command\Log\File; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; diff --git a/tests/Core/Command/Log/ManageTest.php b/tests/Core/Command/Log/ManageTest.php index cae6293abd1..4425a9e0054 100644 --- a/tests/Core/Command/Log/ManageTest.php +++ b/tests/Core/Command/Log/ManageTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\Log; - use OC\Core\Command\Log\Manage; use OCP\IConfig; use Symfony\Component\Console\Input\InputInterface; diff --git a/tests/Core/Command/User/DeleteTest.php b/tests/Core/Command/User/DeleteTest.php index 9dc920894d7..ec65984bef8 100644 --- a/tests/Core/Command/User/DeleteTest.php +++ b/tests/Core/Command/User/DeleteTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\User; - use OC\Core\Command\User\Delete; use OCP\IUser; use OCP\IUserManager; diff --git a/tests/Core/Command/User/DisableTest.php b/tests/Core/Command/User/DisableTest.php index 5456118f67c..5fb4633dc00 100644 --- a/tests/Core/Command/User/DisableTest.php +++ b/tests/Core/Command/User/DisableTest.php @@ -23,7 +23,6 @@ namespace Tests\Core\Command\User; - use OC\Core\Command\User\Disable; use OCP\IUser; use OCP\IUserManager; diff --git a/tests/Core/Command/User/EnableTest.php b/tests/Core/Command/User/EnableTest.php index 4a723ca1167..4babe0d91c1 100644 --- a/tests/Core/Command/User/EnableTest.php +++ b/tests/Core/Command/User/EnableTest.php @@ -23,7 +23,6 @@ namespace Tests\Core\Command\User; - use OC\Core\Command\User\Enable; use OCP\IUser; use OCP\IUserManager; diff --git a/tests/Core/Command/User/LastSeenTest.php b/tests/Core/Command/User/LastSeenTest.php index f6ee4796454..0a402a30119 100644 --- a/tests/Core/Command/User/LastSeenTest.php +++ b/tests/Core/Command/User/LastSeenTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\User; - use OC\Core\Command\User\LastSeen; use OCP\IUser; use OCP\IUserManager; diff --git a/tests/Core/Command/User/SettingTest.php b/tests/Core/Command/User/SettingTest.php index 8486e7fc3ca..4aa3b5e4801 100644 --- a/tests/Core/Command/User/SettingTest.php +++ b/tests/Core/Command/User/SettingTest.php @@ -21,7 +21,6 @@ namespace Tests\Core\Command\User; - use OC\Core\Command\User\Setting; use OCP\IConfig; use OCP\IDBConnection; diff --git a/tests/Core/Controller/AppPasswordControllerTest.php b/tests/Core/Controller/AppPasswordControllerTest.php index ceccf912285..f2c104efbe0 100644 --- a/tests/Core/Controller/AppPasswordControllerTest.php +++ b/tests/Core/Controller/AppPasswordControllerTest.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2018, Roeland Jago Douma <roeland@famdouma.nl> diff --git a/tests/Core/Controller/ClientFlowLoginV2ControllerTest.php b/tests/Core/Controller/ClientFlowLoginV2ControllerTest.php index 01c60dd7511..d1c3f8b7293 100644 --- a/tests/Core/Controller/ClientFlowLoginV2ControllerTest.php +++ b/tests/Core/Controller/ClientFlowLoginV2ControllerTest.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma <roeland@famdouma.nl> diff --git a/tests/Core/Controller/SvgControllerTest.php b/tests/Core/Controller/SvgControllerTest.php index 2cac635c896..4413fbb9ae5 100644 --- a/tests/Core/Controller/SvgControllerTest.php +++ b/tests/Core/Controller/SvgControllerTest.php @@ -1,4 +1,5 @@ <?php + declare (strict_types = 1); /** * @copyright Copyright (c) 2018 Michael Weimann <mail@michael-weimann.eu> diff --git a/tests/Core/Controller/WipeControllerTest.php b/tests/Core/Controller/WipeControllerTest.php index 73d16a63a6e..298d11848b8 100644 --- a/tests/Core/Controller/WipeControllerTest.php +++ b/tests/Core/Controller/WipeControllerTest.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019, Roeland Jago Douma <roeland@famdouma.nl> |