summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-25 14:07:00 +0100
committerGitHub <noreply@github.com>2019-11-25 14:07:00 +0100
commitc7d5b8fc493520ab40076ddade3632152dbfef00 (patch)
tree4de0070d04b69b5ba6ef478b241359260aa57113 /apps/settings/lib
parent20ec763337428f3a0e7c9e34e0246c1f5fb3a838 (diff)
parent68748d4f85dd23238aaafb787b1c341f0f2f0419 (diff)
downloadnextcloud-server-c7d5b8fc493520ab40076ddade3632152dbfef00.tar.gz
nextcloud-server-c7d5b8fc493520ab40076ddade3632152dbfef00.zip
Merge pull request #18079 from nextcloud/fixes/phpcs
Some php-cs fixes
Diffstat (limited to 'apps/settings/lib')
-rw-r--r--apps/settings/lib/BackgroundJobs/VerifyUserData.php1
-rw-r--r--apps/settings/lib/Controller/AppSettingsController.php6
-rw-r--r--apps/settings/lib/Controller/AuthSettingsController.php2
-rw-r--r--apps/settings/lib/Controller/ChangePasswordController.php1
-rw-r--r--apps/settings/lib/Controller/CommonSettingsTrait.php2
-rw-r--r--apps/settings/lib/Controller/MailSettingsController.php4
-rw-r--r--apps/settings/lib/Controller/UsersController.php2
-rw-r--r--apps/settings/lib/Mailer/NewUserMailHelper.php4
-rw-r--r--apps/settings/lib/Settings/Personal/Security.php2
-rw-r--r--apps/settings/lib/Settings/Personal/ServerDevNotice.php1
10 files changed, 13 insertions, 12 deletions
diff --git a/apps/settings/lib/BackgroundJobs/VerifyUserData.php b/apps/settings/lib/BackgroundJobs/VerifyUserData.php
index caac35f2de4..b4bc80b4ab5 100644
--- a/apps/settings/lib/BackgroundJobs/VerifyUserData.php
+++ b/apps/settings/lib/BackgroundJobs/VerifyUserData.php
@@ -23,7 +23,6 @@
*
*/
-
namespace OCA\Settings\BackgroundJobs;
diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php
index 93bb2cbb423..e0dddb68b4e 100644
--- a/apps/settings/lib/Controller/AppSettingsController.php
+++ b/apps/settings/lib/Controller/AppSettingsController.php
@@ -40,16 +40,16 @@ use OC\App\Platform;
use OC\Installer;
use OC_App;
use OCP\App\IAppManager;
-use \OCP\AppFramework\Controller;
+use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\ContentSecurityPolicy;
use OCP\AppFramework\Http\JSONResponse;
use OCP\AppFramework\Http\TemplateResponse;
+use OCP\IConfig;
+use OCP\IL10N;
use OCP\ILogger;
use OCP\INavigationManager;
use OCP\IRequest;
-use OCP\IL10N;
-use OCP\IConfig;
use OCP\IURLGenerator;
use OCP\L10N\IFactory;
diff --git a/apps/settings/lib/Controller/AuthSettingsController.php b/apps/settings/lib/Controller/AuthSettingsController.php
index 8325c911283..cb2abc2a52d 100644
--- a/apps/settings/lib/Controller/AuthSettingsController.php
+++ b/apps/settings/lib/Controller/AuthSettingsController.php
@@ -28,8 +28,8 @@
namespace OCA\Settings\Controller;
use BadMethodCallException;
-use OC\Authentication\Exceptions\InvalidTokenException;
use OC\Authentication\Exceptions\ExpiredTokenException;
+use OC\Authentication\Exceptions\InvalidTokenException;
use OC\Authentication\Exceptions\PasswordlessTokenException;
use OC\Authentication\Exceptions\WipeTokenException;
use OC\Authentication\Token\INamedToken;
diff --git a/apps/settings/lib/Controller/ChangePasswordController.php b/apps/settings/lib/Controller/ChangePasswordController.php
index 96b8867fff8..cabbfdf4387 100644
--- a/apps/settings/lib/Controller/ChangePasswordController.php
+++ b/apps/settings/lib/Controller/ChangePasswordController.php
@@ -27,6 +27,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
namespace OCA\Settings\Controller;
use OC\HintException;
diff --git a/apps/settings/lib/Controller/CommonSettingsTrait.php b/apps/settings/lib/Controller/CommonSettingsTrait.php
index 69fe28d6fe5..c43587cb410 100644
--- a/apps/settings/lib/Controller/CommonSettingsTrait.php
+++ b/apps/settings/lib/Controller/CommonSettingsTrait.php
@@ -30,8 +30,8 @@ use OCP\IGroupManager;
use OCP\INavigationManager;
use OCP\IUser;
use OCP\IUserSession;
-use OCP\Settings\IManager as ISettingsManager;
use OCP\Settings\IIconSection;
+use OCP\Settings\IManager as ISettingsManager;
use OCP\Settings\ISettings;
trait CommonSettingsTrait {
diff --git a/apps/settings/lib/Controller/MailSettingsController.php b/apps/settings/lib/Controller/MailSettingsController.php
index 3f91586b98e..cb77d9c4052 100644
--- a/apps/settings/lib/Controller/MailSettingsController.php
+++ b/apps/settings/lib/Controller/MailSettingsController.php
@@ -28,9 +28,9 @@ namespace OCA\Settings\Controller;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataResponse;
-use OCP\IRequest;
-use OCP\IL10N;
use OCP\IConfig;
+use OCP\IL10N;
+use OCP\IRequest;
use OCP\IUserSession;
use OCP\Mail\IMailer;
diff --git a/apps/settings/lib/Controller/UsersController.php b/apps/settings/lib/Controller/UsersController.php
index cb99d1bd74b..2c73ff50871 100644
--- a/apps/settings/lib/Controller/UsersController.php
+++ b/apps/settings/lib/Controller/UsersController.php
@@ -44,6 +44,7 @@ use OC\AppFramework\Http;
use OC\Encryption\Exceptions\ModuleDoesNotExistsException;
use OC\ForbiddenException;
use OC\Security\IdentityProof\Manager;
+use OCA\Settings\BackgroundJobs\VerifyUserData;
use OCA\User_LDAP\User_Proxy;
use OCP\App\IAppManager;
use OCP\AppFramework\Controller;
@@ -60,7 +61,6 @@ use OCP\IUserManager;
use OCP\IUserSession;
use OCP\L10N\IFactory;
use OCP\Mail\IMailer;
-use OCA\Settings\BackgroundJobs\VerifyUserData;
class UsersController extends Controller {
/** @var IUserManager */
diff --git a/apps/settings/lib/Mailer/NewUserMailHelper.php b/apps/settings/lib/Mailer/NewUserMailHelper.php
index a927080df92..56d3bcb8cb7 100644
--- a/apps/settings/lib/Mailer/NewUserMailHelper.php
+++ b/apps/settings/lib/Mailer/NewUserMailHelper.php
@@ -26,14 +26,14 @@
namespace OCA\Settings\Mailer;
-use OCP\L10N\IFactory;
-use OCP\Mail\IEMailTemplate;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Defaults;
use OCP\IConfig;
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\IUser;
+use OCP\L10N\IFactory;
+use OCP\Mail\IEMailTemplate;
use OCP\Mail\IMailer;
use OCP\Security\ICrypto;
use OCP\Security\ISecureRandom;
diff --git a/apps/settings/lib/Settings/Personal/Security.php b/apps/settings/lib/Settings/Personal/Security.php
index c4c4cd0375c..7c0f196a856 100644
--- a/apps/settings/lib/Settings/Personal/Security.php
+++ b/apps/settings/lib/Settings/Personal/Security.php
@@ -36,13 +36,13 @@ use OC\Authentication\TwoFactorAuth\ProviderLoader;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\Authentication\TwoFactorAuth\IProvider;
use OCP\Authentication\TwoFactorAuth\IProvidesPersonalSettings;
+use OCP\IConfig;
use OCP\IInitialStateService;
use OCP\ISession;
use OCP\IUserManager;
use OCP\IUserSession;
use OCP\Session\Exceptions\SessionNotAvailableException;
use OCP\Settings\ISettings;
-use OCP\IConfig;
class Security implements ISettings {
diff --git a/apps/settings/lib/Settings/Personal/ServerDevNotice.php b/apps/settings/lib/Settings/Personal/ServerDevNotice.php
index 800bec992a2..9019a63f473 100644
--- a/apps/settings/lib/Settings/Personal/ServerDevNotice.php
+++ b/apps/settings/lib/Settings/Personal/ServerDevNotice.php
@@ -21,6 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
namespace OCA\Settings\Personal;
use OCP\AppFramework\Http\TemplateResponse;