style: Apply php-cs-fixer cleanup

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2023-04-25 08:45:11 +02:00
parent a8597de754
commit 147d6d0077
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
11 changed files with 16 additions and 16 deletions

View File

@ -5,8 +5,8 @@ declare(strict_types=1);
namespace OCA\Notes\AppInfo;
use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IRegistrationContext;
use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent;

View File

@ -4,8 +4,8 @@ declare(strict_types=1);
namespace OCA\Notes\AppInfo;
use OCP\Capabilities\ICapability;
use OCP\App\IAppManager;
use OCP\Capabilities\ICapability;
class Capabilities implements ICapability {
private IAppManager $appManager;

View File

@ -8,8 +8,8 @@ use OCA\Notes\Service\Note;
use OCA\Notes\Service\NotesService;
use OCA\Notes\Service\Util;
use OCP\IUser;
use OCP\IURLGenerator;
use OCP\IUser;
use OCP\Search\IProvider;
use OCP\Search\ISearchQuery;
use OCP\Search\SearchResult;

View File

@ -4,10 +4,10 @@ declare(strict_types=1);
namespace OCA\Notes\Controller;
use OCA\Notes\Service\Note;
use Exception;
use OCA\Notes\Service\Note;
class ETagDoesNotMatchException extends Exception {
public Note $note;

View File

@ -6,10 +6,10 @@ namespace OCA\Notes\Controller;
use OCA\Notes\AppInfo\Application;
use OCA\Notes\Db\Meta;
use OCA\Notes\Service\Note;
use OCA\Notes\Service\NotesService;
use OCA\Notes\Service\MetaNote;
use OCA\Notes\Service\MetaService;
use OCA\Notes\Service\Note;
use OCA\Notes\Service\NotesService;
use OCA\Notes\Service\Util;
use OCP\AppFramework\Http;

View File

@ -4,9 +4,9 @@ declare(strict_types=1);
namespace OCA\Notes\Controller;
use OCA\Notes\Service\NotesService;
use OCA\Notes\Service\MetaNote;
use OCA\Notes\Service\MetaService;
use OCA\Notes\Service\NotesService;
use OCA\Notes\Service\SettingsService;
use OCP\AppFramework\ApiController;

View File

@ -4,17 +4,17 @@ declare(strict_types=1);
namespace OCA\Notes\Controller;
use OCA\Notes\Service\NotesService;
use OCA\Notes\Service\MetaService;
use OCA\Notes\Service\NotesService;
use OCA\Notes\Service\SettingsService;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\FileDisplayResponse;
use OCP\IRequest;
use OCP\AppFramework\Http\JSONResponse;
use OCP\IConfig;
use OCP\IL10N;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\JSONResponse;
use OCP\IRequest;
class NotesController extends Controller {
private NotesService $notesService;

View File

@ -11,9 +11,9 @@ use OCA\Notes\Service\SettingsService;
use OCA\Text\Event\LoadEditor;
use OCP\App\IAppManager;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\AppFramework\Http\ContentSecurityPolicy;
use OCP\AppFramework\Http\RedirectResponse;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\AppFramework\Services\IInitialState;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\IConfig;

View File

@ -4,9 +4,9 @@ declare(strict_types=1);
namespace OCA\Notes\Db;
use OCP\IDBConnection;
use OCP\AppFramework\Db\QBMapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection;
class MetaMapper extends QBMapper {
public function __construct(IDBConnection $db) {

View File

@ -6,8 +6,8 @@ namespace OCA\Notes\Migration;
use OCA\Notes\Db\MetaMapper;
use OCP\Migration\IRepairStep;
use OCP\Migration\IOutput;
use OCP\Migration\IRepairStep;
class Cleanup implements IRepairStep {
private MetaMapper $metaMapper;

View File

@ -7,9 +7,9 @@ namespace OCA\Notes\Service;
use OCA\Notes\AppInfo\Application;
use OCP\App\IAppManager;
use OCP\Files\IRootFolder;
use OCP\IConfig;
use OCP\IL10N;
use OCP\Files\IRootFolder;
class SettingsService {
private IConfig $config;