style: Apply php-cs-fixer cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
a8597de754
commit
147d6d0077
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue