Merge pull request #20379 from nextcloud/techdebt/blank-lines

Use one blank line after the opening tag and namespace declaration
This commit is contained in:
Christoph Wurst 2020-04-09 13:44:39 +02:00 committed by GitHub
commit 19e97e86c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
473 changed files with 152 additions and 365 deletions

View File

@ -28,7 +28,6 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
class Console extends Action {
/**
* @param $arguments

View File

@ -29,7 +29,6 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
use OCP\IGroup;
use OCP\IUser;

View File

@ -25,6 +25,7 @@ declare(strict_types=1);
*/
namespace OCA\AdminAudit\Actions;
use OCP\IUser;
/**

View File

@ -29,7 +29,6 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
use OCP\Share;
/**

View File

@ -28,7 +28,6 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
class Trashbin extends Action {
public function delete(array $params) {

View File

@ -30,7 +30,6 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
use OCP\IUser;
/**

View File

@ -28,7 +28,6 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
class Versions extends Action {
public function rollback(array $params) {

View File

@ -23,7 +23,6 @@
namespace OCA\CloudFederationAPI\AppInfo;
use OCA\CloudFederationAPI\Capabilities;
use OCP\AppFramework\App;

View File

@ -23,7 +23,6 @@
namespace OCA\CloudFederationAPI;
use OCP\Capabilities\ICapability;
use OCP\IURLGenerator;

View File

@ -22,6 +22,7 @@
*/
namespace OCA\CloudFederationAPI;
use OCP\Federation\ICloudFederationProviderManager;
/**

View File

@ -23,7 +23,6 @@
namespace OCA\Comments\Activity;
use OCP\Activity\IFilter;
use OCP\IL10N;
use OCP\IURLGenerator;

View File

@ -23,7 +23,6 @@
namespace OCA\Comments\Activity;
use OCP\Activity\ISetting;
use OCP\IL10N;

View File

@ -23,7 +23,6 @@
namespace OCA\Comments\Collaboration;
use OCP\Collaboration\AutoComplete\ISorter;
use OCP\Comments\ICommentsManager;

View File

@ -23,7 +23,6 @@
namespace OCA\Comments;
use OCP\IServerContainer;
class JSSettingsHelper {

View File

@ -24,7 +24,6 @@
namespace OCA\Comments\Tests\Unit\Collaboration;
use OCA\Comments\Collaboration\CommentersSorter;
use OCP\Comments\IComment;
use OCP\Comments\ICommentsManager;

View File

@ -24,7 +24,6 @@
namespace OCA\DAV\Avatars;
use OCP\IAvatarManager;
use Sabre\DAV\Exception\Forbidden;
use Sabre\DAV\Exception\MethodNotAllowed;

View File

@ -23,7 +23,6 @@
namespace OCA\DAV\Avatars;
use OCP\IAvatar;
use Sabre\DAV\File;

View File

@ -25,7 +25,6 @@
namespace OCA\DAV\CalDAV\Activity;
use OCA\DAV\CalDAV\Activity\Provider\Calendar;
use OCA\DAV\CalDAV\Activity\Provider\Event;
use OCA\DAV\CalDAV\CalDavBackend;

View File

@ -24,7 +24,6 @@
namespace OCA\DAV\CalDAV\Activity\Filter;
use OCP\Activity\IFilter;
use OCP\IL10N;
use OCP\IURLGenerator;

View File

@ -23,7 +23,6 @@
namespace OCA\DAV\CalDAV\Activity\Filter;
use OCP\Activity\IFilter;
use OCP\IL10N;
use OCP\IURLGenerator;

View File

@ -23,7 +23,6 @@
namespace OCA\DAV\CalDAV\Activity\Setting;
use OCP\Activity\ISetting;
use OCP\IL10N;

View File

@ -23,7 +23,6 @@
namespace OCA\DAV\CalDAV\Activity\Setting;
use OCP\Activity\ISetting;
use OCP\IL10N;

View File

@ -23,7 +23,6 @@
namespace OCA\DAV\CalDAV\Activity\Setting;
use OCP\Activity\ISetting;
use OCP\IL10N;

View File

@ -26,7 +26,6 @@
namespace OCA\DAV\CalDAV;
use OCP\IL10N;
use Sabre\VObject\Component;
use Sabre\VObject\Property;

View File

@ -22,7 +22,6 @@
*/
namespace OCA\DAV\CalDAV\Integration;
/**
* Interface ICalendarProvider
*

View File

@ -23,7 +23,6 @@
namespace OCA\DAV\CalDAV\Principal;
/**
* Class Collection
*

View File

@ -25,7 +25,6 @@ declare(strict_types=1);
*/
namespace OCA\DAV\CardDAV\Integration;
/**
* @since 19.0.0
*/

View File

@ -202,7 +202,7 @@ class SyncService {
$body = $this->buildSyncCollectionRequestBody($syncToken);
$response = $client->request('REPORT', $addressBookUrl, $body, [
'Content-Type' => 'application/xml'
'Content-Type' => 'application/xml'
]);
return $this->parseMultiStatus($response['body']);

View File

@ -23,7 +23,6 @@
namespace OCA\DAV\Comments;
use OCP\Comments\IComment;
use OCP\Comments\ICommentsManager;
use OCP\Comments\MessageTooLongException;

View File

@ -25,6 +25,7 @@
*/
namespace OCA\DAV\Connector\Sabre;
use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface;

View File

@ -27,6 +27,7 @@
*/
namespace OCA\DAV\Connector\Sabre;
use OCA\DAV\Upload\FutureFile;
use OCP\Files\StorageNotAvailableException;
use Sabre\DAV\Exception\InsufficientStorage;

View File

@ -22,6 +22,7 @@
*/
namespace OCA\DAV\DAV\Sharing;
use Sabre\DAV\INode;
/**

View File

@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCA\DAV\Migration;
use Closure;
use Doctrine\DBAL\Types\Type;
use OCP\DB\ISchemaWrapper;

View File

@ -24,7 +24,6 @@
namespace OCA\DAV\Tests\Unit\Avatars;
use OCA\DAV\Avatars\AvatarHome;
use OCA\DAV\Avatars\AvatarNode;
use OCP\IAvatar;

View File

@ -22,7 +22,6 @@
namespace OCA\DAV\Tests\Unit\Avatars;
use OCA\DAV\Avatars\AvatarNode;
use OCP\IAvatar;
use Test\TestCase;

View File

@ -26,7 +26,6 @@
namespace OCA\DAV\Tests\unit\CardDAV;
use OCA\DAV\CardDAV\AddressBook;
use OCA\DAV\CardDAV\AddressBookImpl;
use OCA\DAV\CardDAV\CardDavBackend;

View File

@ -24,7 +24,6 @@
namespace OCA\DAV\Tests\unit\CardDAV;
use OCA\DAV\CardDAV\AddressBook;
use OCA\DAV\CardDAV\ImageExportPlugin;
use OCA\DAV\CardDAV\PhotoCache;

View File

@ -26,7 +26,6 @@
namespace OCA\DAV\Tests\unit\CardDAV\Sharing;
use OCA\DAV\Connector\Sabre\Auth;
use OCA\DAV\DAV\Sharing\IShareable;
use OCA\DAV\DAV\Sharing\Plugin;

View File

@ -22,7 +22,6 @@
namespace OCA\DAV\Tests\Unit\Command;
use OCA\DAV\Command\RemoveInvalidShares;
use OCA\DAV\Connector\Sabre\Principal;
use OCP\Migration\IOutput;

View File

@ -27,6 +27,7 @@
*/
namespace OCA\DAV\Tests\unit\Connector\Sabre;
use OC\Files\FileInfo;
use OC\Files\View;
use OCP\Files\Mount\IMountPoint;

View File

@ -28,7 +28,6 @@
namespace OCA\DAV\Tests\unit\Connector\Sabre;
use OC\Files\FileInfo;
use OC\Files\Filesystem;
use OC\Files\Mount\Manager;

View File

@ -28,6 +28,7 @@
*/
namespace OCA\DAV\Tests\unit\Connector\Sabre;
use OC\Files\View;
use OCA\DAV\Connector\Sabre\QuotaPlugin;
use OCP\Files\FileInfo;

View File

@ -26,7 +26,6 @@
namespace OCA\DAV\Tests\unit\DAV\Sharing;
use OCA\DAV\Connector\Sabre\Auth;
use OCA\DAV\DAV\Sharing\IShareable;
use OCA\DAV\DAV\Sharing\Plugin;

View File

@ -26,7 +26,6 @@
namespace OCA\DAV\Tests\unit\SystemTag;
use OC\SystemTag\SystemTag;
use OCP\IUser;
use OCP\SystemTag\ISystemTag;

View File

@ -26,7 +26,6 @@
namespace OCA\DAV\Tests\unit\SystemTag;
use OC\SystemTag\SystemTag;
use OCP\IGroupManager;
use OCP\IUser;

View File

@ -26,7 +26,6 @@
namespace OCA\DAV\Tests\unit\SystemTag;
use OC\SystemTag\SystemTag;
use OCP\IUser;
use OCP\SystemTag\ISystemTagManager;

View File

@ -24,7 +24,6 @@
namespace OCA\DAV\Tests\unit\Upload;
use OCA\DAV\Connector\Sabre\Directory;
use OCA\DAV\Upload\ChunkingPlugin;
use OCA\DAV\Upload\FutureFile;

View File

@ -28,7 +28,6 @@
namespace OCA\Encryption\AppInfo;
use OC\Files\View;
use OCA\Encryption\Controller\RecoveryController;
use OCA\Encryption\Controller\SettingsController;

View File

@ -23,7 +23,6 @@
namespace OCA\Encryption\Command;
use OCA\Encryption\Util;
use OCP\IConfig;
use Symfony\Component\Console\Command\Command;

View File

@ -22,7 +22,6 @@
namespace OCA\Encryption\Command;
use OCA\Encryption\Util;
use OCP\IConfig;
use Symfony\Component\Console\Command\Command;

View File

@ -23,7 +23,6 @@
namespace OCA\Encryption\Command;
use OCA\Encryption\Util;
use OCP\IConfig;
use OCP\IUserManager;

View File

@ -25,7 +25,6 @@
namespace OCA\Encryption\Controller;
use OCA\Encryption\Recovery;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;

View File

@ -25,7 +25,6 @@
namespace OCA\Encryption\Controller;
use OCA\Encryption\Session;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\DataResponse;

View File

@ -29,7 +29,6 @@
namespace OCA\Encryption\Crypto;
use OC\Encryption\Exceptions\DecryptionFailedException;
use OC\Encryption\Exceptions\EncryptionFailedException;
use OCA\Encryption\Exceptions\MultiKeyDecryptException;

View File

@ -22,7 +22,6 @@
namespace OCA\Encryption\Crypto;
use OCA\Encryption\KeyManager;
use OCA\Encryption\Session;
use OCA\Encryption\Util;

View File

@ -31,7 +31,6 @@
namespace OCA\Encryption\Crypto;
use OC\Encryption\Exceptions\DecryptionFailedException;
use OC\Files\Cache\Scanner;
use OC\Files\View;

View File

@ -23,7 +23,6 @@
namespace OCA\Encryption;
use OCA\Encryption\Hooks\Contracts\IHook;
class HookManager {

View File

@ -22,7 +22,6 @@
namespace OCA\Encryption\Hooks\Contracts;
interface IHook {
/**
* Connects Hooks

View File

@ -28,7 +28,6 @@
namespace OCA\Encryption\Hooks;
use OC\Files\Filesystem;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Hooks\Contracts\IHook;

View File

@ -23,7 +23,6 @@
namespace OCA\Encryption\Migration;
use OCP\IConfig;
use OCP\Migration\IOutput;
use OCP\Migration\IRepairStep;

View File

@ -27,7 +27,6 @@
namespace OCA\Encryption;
use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCP\Encryption\IFile;

View File

@ -23,7 +23,6 @@
namespace OCA\Encryption\Settings;
use OCA\Encryption\Session;
use OCA\Encryption\Util;
use OCP\AppFramework\Http\TemplateResponse;

View File

@ -25,7 +25,6 @@
namespace OCA\Encryption\Users;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\KeyManager;
use OCP\ILogger;

View File

@ -26,7 +26,6 @@
namespace OCA\Encryption;
use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCP\IConfig;

View File

@ -25,7 +25,6 @@
namespace OCA\Encryption\Tests\Command;
use OCA\Encryption\Command\EnableMasterKey;
use OCA\Encryption\Util;
use OCP\IConfig;

View File

@ -26,7 +26,6 @@
namespace OCA\Encryption\Tests\Controller;
use OCA\Encryption\Controller\RecoveryController;
use OCA\Encryption\Recovery;
use OCP\AppFramework\Http;

View File

@ -27,7 +27,6 @@
namespace OCA\Encryption\Tests\Controller;
use OCA\Encryption\Controller\StatusController;
use OCA\Encryption\Session;
use OCP\Encryption\IManager;

View File

@ -27,7 +27,6 @@
namespace OCA\Encryption\Tests\Crypto;
use OCA\Encryption\Crypto\Crypt;
use OCP\IConfig;
use OCP\IL10N;

View File

@ -25,7 +25,6 @@
namespace OCA\Encryption\Tests\Crypto;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Crypto\DecryptAll;
use OCA\Encryption\KeyManager;

View File

@ -27,7 +27,6 @@
namespace OCA\Encryption\Tests\Crypto;
use OC\Files\View;
use OCA\Encryption\Crypto\EncryptAll;
use OCA\Encryption\KeyManager;

View File

@ -25,7 +25,6 @@
namespace OCA\Encryption\Tests;
use OCA\Encryption\HookManager;
use OCA\Encryption\Hooks\Contracts\IHook;
use OCP\IConfig;

View File

@ -28,7 +28,6 @@
namespace OCA\Encryption\Tests\Hooks;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Hooks\UserHooks;
use OCA\Encryption\KeyManager;

View File

@ -31,7 +31,6 @@
namespace OCA\Encryption\Tests;
use OC\Files\FileInfo;
use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;

View File

@ -28,7 +28,6 @@
namespace OCA\Encryption\Tests;
use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\KeyManager;

View File

@ -27,7 +27,6 @@
namespace OCA\Encryption\Tests;
use OCA\Encryption\Session;
use OCP\ISession;
use Test\TestCase;

View File

@ -26,7 +26,6 @@
namespace OCA\Encryption\Tests\Users;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\KeyManager;
use OCA\Encryption\Users\Setup;

View File

@ -28,7 +28,6 @@
namespace OCA\Encryption\Tests;
use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Util;

View File

@ -25,6 +25,7 @@
*/
namespace OCA\FederatedFileSharing;
use OC\HintException;
use OCP\Federation\ICloudIdManager;
use OCP\IL10N;

View File

@ -28,7 +28,6 @@
namespace OCA\FederatedFileSharing\AppInfo;
use OC\AppFramework\Utility\SimpleContainer;
use OCA\FederatedFileSharing\AddressHandler;
use OCA\FederatedFileSharing\Controller\RequestHandlerController;

View File

@ -27,7 +27,6 @@
namespace OCA\FederatedFileSharing\BackgroundJob;
use OC\BackgroundJob\Job;
use OC\BackgroundJob\JobList;
use OCA\FederatedFileSharing\AddressHandler;

View File

@ -25,7 +25,6 @@
namespace OCA\FederatedFileSharing;
use OC\HintException;
use OCP\Contacts\IManager;
use OCP\Federation\ICloudId;

View File

@ -26,7 +26,6 @@
namespace OCA\FederatedFileSharing\Settings;
use OCA\FederatedFileSharing\FederatedShareProvider;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\IL10N;

View File

@ -23,7 +23,6 @@
namespace OCA\FederatedFileSharing\Settings;
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\Settings\IIconSection;

View File

@ -22,7 +22,6 @@
namespace OCA\FederatedFileSharing;
use OCP\Security\ISecureRandom;
/**

View File

@ -27,7 +27,6 @@
namespace OCA\FederatedFileSharing\Tests;
use OC\Federation\CloudIdManager;
use OCA\FederatedFileSharing\AddressHandler;
use OCP\IL10N;

View File

@ -30,7 +30,6 @@
namespace OCA\FederatedFileSharing\Tests;
use OC\Federation\CloudIdManager;
use OCA\FederatedFileSharing\AddressHandler;
use OCA\FederatedFileSharing\FederatedShareProvider;

View File

@ -24,7 +24,6 @@
namespace OCA\FederatedFileSharing\Tests;
use OCA\FederatedFileSharing\AddressHandler;
use OCA\FederatedFileSharing\Notifications;
use OCP\BackgroundJob\IJobList;

View File

@ -24,7 +24,6 @@
namespace OCA\FederatedFileSharing\Tests;
use OCA\FederatedFileSharing\TokenHandler;
use OCP\Security\ISecureRandom;

View File

@ -28,7 +28,6 @@
namespace OCA\Federation\BackgroundJob;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Ring\Exception\RingException;

View File

@ -26,7 +26,6 @@
namespace OCA\Federation;
use OC\Files\Filesystem;
use OC\HintException;
use OCP\IDBConnection;

View File

@ -22,8 +22,6 @@
namespace OCA\Federation;
class Hooks {
/** @var TrustedServers */

View File

@ -26,7 +26,6 @@
namespace OCA\Federation\Tests\BackgroundJob;
use GuzzleHttp\Exception\ConnectException;
use GuzzleHttp\Ring\Exception\RingException;
use OCA\Federation\BackgroundJob\GetSharedSecret;

View File

@ -25,7 +25,6 @@
namespace OCA\Federation\Tests\BackgroundJob;
use GuzzleHttp\Exception\ConnectException;
use GuzzleHttp\Ring\Exception\RingException;
use OCA\Federation\BackgroundJob\RequestSharedSecret;

View File

@ -25,7 +25,6 @@
namespace OCA\Federation\Tests\Controller;
use OC\BackgroundJob\JobList;
use OCA\Federation\Controller\OCSAuthAPIController;
use OCA\Federation\DbHandler;

View File

@ -23,7 +23,6 @@
namespace OCA\Federation\Tests\Controller;
use OCA\Federation\Controller\SettingsController;
use OCA\Federation\TrustedServers;
use OCP\AppFramework\Http\DataResponse;

View File

@ -25,7 +25,6 @@
namespace OCA\Federation\Tests;
use OCA\Federation\DbHandler;
use OCA\Federation\TrustedServers;
use OCP\IDBConnection;

View File

@ -24,7 +24,6 @@
namespace OCA\Federation\Tests;
use OCA\Federation\Hooks;
use OCA\Federation\TrustedServers;
use Test\TestCase;

View File

@ -26,7 +26,6 @@
namespace OCA\Federation\Tests\Middleware;
use OC\HintException;
use OCA\Federation\Controller\SettingsController;
use OCA\Federation\Middleware\AddServerMiddleware;

View File

@ -26,7 +26,6 @@
namespace OCA\Federation\Tests;
use OCA\Federation\DbHandler;
use OCA\Federation\TrustedServers;
use OCP\AppFramework\Utility\ITimeFactory;

View File

@ -23,7 +23,6 @@
namespace OCA\Files\Activity\Filter;
use OCA\Files\Activity\Helper;
use OCP\Activity\IFilter;
use OCP\Activity\IManager;

Some files were not shown because too many files have changed in this diff Show More