summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-22 20:52:10 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-22 20:52:10 +0100
commit68748d4f85dd23238aaafb787b1c341f0f2f0419 (patch)
tree7aab3a925dda8dcd6ef4e8c6fe04063abbadd6af /apps/sharebymail
parent21119633041d5ccae19975a58b0ae50ef5a8e33a (diff)
downloadnextcloud-server-68748d4f85dd23238aaafb787b1c341f0f2f0419.tar.gz
nextcloud-server-68748d4f85dd23238aaafb787b1c341f0f2f0419.zip
Some php-cs fixes
* Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/sharebymail')
-rw-r--r--apps/sharebymail/lib/AppInfo/Application.php3
-rw-r--r--apps/sharebymail/lib/Capabilities.php1
-rw-r--r--apps/sharebymail/lib/Settings.php1
-rw-r--r--apps/sharebymail/lib/Settings/Admin.php1
-rw-r--r--apps/sharebymail/lib/Settings/SettingsManager.php1
-rw-r--r--apps/sharebymail/lib/ShareByMailProvider.php2
-rw-r--r--apps/sharebymail/tests/SettingsTest.php1
-rw-r--r--apps/sharebymail/tests/ShareByMailProviderTest.php1
8 files changed, 2 insertions, 9 deletions
diff --git a/apps/sharebymail/lib/AppInfo/Application.php b/apps/sharebymail/lib/AppInfo/Application.php
index 3eabc9ec89f..e6f9b060337 100644
--- a/apps/sharebymail/lib/AppInfo/Application.php
+++ b/apps/sharebymail/lib/AppInfo/Application.php
@@ -19,14 +19,13 @@
*
*/
-
namespace OCA\ShareByMail\AppInfo;
+use OCA\ShareByMail\Capabilities;
use OCA\ShareByMail\Settings;
use OCP\AppFramework\App;
use OCP\Util;
-use OCA\ShareByMail\Capabilities;
class Application extends App {
diff --git a/apps/sharebymail/lib/Capabilities.php b/apps/sharebymail/lib/Capabilities.php
index de57cd13211..020ed41364e 100644
--- a/apps/sharebymail/lib/Capabilities.php
+++ b/apps/sharebymail/lib/Capabilities.php
@@ -19,7 +19,6 @@
*
*/
-
namespace OCA\ShareByMail;
diff --git a/apps/sharebymail/lib/Settings.php b/apps/sharebymail/lib/Settings.php
index e032bc43ff1..6d8ca66b763 100644
--- a/apps/sharebymail/lib/Settings.php
+++ b/apps/sharebymail/lib/Settings.php
@@ -19,7 +19,6 @@
*
*/
-
namespace OCA\ShareByMail;
diff --git a/apps/sharebymail/lib/Settings/Admin.php b/apps/sharebymail/lib/Settings/Admin.php
index 93a8d3aafa4..e3d40c8d873 100644
--- a/apps/sharebymail/lib/Settings/Admin.php
+++ b/apps/sharebymail/lib/Settings/Admin.php
@@ -19,7 +19,6 @@
*
*/
-
namespace OCA\ShareByMail\Settings;
use OCP\AppFramework\Http\TemplateResponse;
diff --git a/apps/sharebymail/lib/Settings/SettingsManager.php b/apps/sharebymail/lib/Settings/SettingsManager.php
index 2b35e5833a7..e041d75656d 100644
--- a/apps/sharebymail/lib/Settings/SettingsManager.php
+++ b/apps/sharebymail/lib/Settings/SettingsManager.php
@@ -19,7 +19,6 @@
*
*/
-
namespace OCA\ShareByMail\Settings;
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php
index 903df175e9c..f77155af0b9 100644
--- a/apps/sharebymail/lib/ShareByMailProvider.php
+++ b/apps/sharebymail/lib/ShareByMailProvider.php
@@ -24,6 +24,7 @@ namespace OCA\ShareByMail;
use OC\CapabilitiesManager;
use OC\HintException;
use OC\Share20\Exception\InvalidShare;
+use OC\Share20\Share;
use OC\User\NoUserException;
use OCA\ShareByMail\Settings\SettingsManager;
use OCP\Activity\IManager;
@@ -41,7 +42,6 @@ use OCP\IUserManager;
use OCP\Mail\IMailer;
use OCP\Security\IHasher;
use OCP\Security\ISecureRandom;
-use OC\Share20\Share;
use OCP\Share\Exceptions\GenericShareException;
use OCP\Share\Exceptions\ShareNotFound;
use OCP\Share\IShare;
diff --git a/apps/sharebymail/tests/SettingsTest.php b/apps/sharebymail/tests/SettingsTest.php
index 8b2fc200d57..b7150e6c6dc 100644
--- a/apps/sharebymail/tests/SettingsTest.php
+++ b/apps/sharebymail/tests/SettingsTest.php
@@ -19,7 +19,6 @@
*
*/
-
namespace OCA\ShareByMail\Tests;
diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php
index 090e6e92848..744c2d6f3ee 100644
--- a/apps/sharebymail/tests/ShareByMailProviderTest.php
+++ b/apps/sharebymail/tests/ShareByMailProviderTest.php
@@ -19,7 +19,6 @@
*
*/
-
namespace OCA\ShareByMail\Tests;