Skip to content

Commit 147d6d0

Browse files
committed
style: Apply php-cs-fixer cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent a8597de commit 147d6d0

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

lib/AppInfo/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
namespace OCA\Notes\AppInfo;
66

77
use OCP\AppFramework\App;
8-
use OCP\AppFramework\Bootstrap\IBootstrap;
98
use OCP\AppFramework\Bootstrap\IBootContext;
9+
use OCP\AppFramework\Bootstrap\IBootstrap;
1010
use OCP\AppFramework\Bootstrap\IRegistrationContext;
1111
use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent;
1212

lib/AppInfo/Capabilities.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
namespace OCA\Notes\AppInfo;
66

7-
use OCP\Capabilities\ICapability;
87
use OCP\App\IAppManager;
8+
use OCP\Capabilities\ICapability;
99

1010
class Capabilities implements ICapability {
1111
private IAppManager $appManager;

lib/AppInfo/SearchProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
use OCA\Notes\Service\NotesService;
99
use OCA\Notes\Service\Util;
1010

11-
use OCP\IUser;
1211
use OCP\IURLGenerator;
12+
use OCP\IUser;
1313
use OCP\Search\IProvider;
1414
use OCP\Search\ISearchQuery;
1515
use OCP\Search\SearchResult;

lib/Controller/ETagDoesNotMatchException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
namespace OCA\Notes\Controller;
66

7-
use OCA\Notes\Service\Note;
8-
97
use Exception;
108

9+
use OCA\Notes\Service\Note;
10+
1111
class ETagDoesNotMatchException extends Exception {
1212
public Note $note;
1313

lib/Controller/Helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
use OCA\Notes\AppInfo\Application;
88
use OCA\Notes\Db\Meta;
9-
use OCA\Notes\Service\Note;
10-
use OCA\Notes\Service\NotesService;
119
use OCA\Notes\Service\MetaNote;
1210
use OCA\Notes\Service\MetaService;
11+
use OCA\Notes\Service\Note;
12+
use OCA\Notes\Service\NotesService;
1313
use OCA\Notes\Service\Util;
1414

1515
use OCP\AppFramework\Http;

lib/Controller/NotesApiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
namespace OCA\Notes\Controller;
66

7-
use OCA\Notes\Service\NotesService;
87
use OCA\Notes\Service\MetaNote;
98
use OCA\Notes\Service\MetaService;
9+
use OCA\Notes\Service\NotesService;
1010
use OCA\Notes\Service\SettingsService;
1111

1212
use OCP\AppFramework\ApiController;

lib/Controller/NotesController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44

55
namespace OCA\Notes\Controller;
66

7-
use OCA\Notes\Service\NotesService;
87
use OCA\Notes\Service\MetaService;
8+
use OCA\Notes\Service\NotesService;
99
use OCA\Notes\Service\SettingsService;
1010

1111
use OCP\AppFramework\Controller;
12+
use OCP\AppFramework\Http;
1213
use OCP\AppFramework\Http\FileDisplayResponse;
13-
use OCP\IRequest;
14+
use OCP\AppFramework\Http\JSONResponse;
1415
use OCP\IConfig;
1516
use OCP\IL10N;
16-
use OCP\AppFramework\Http;
17-
use OCP\AppFramework\Http\JSONResponse;
17+
use OCP\IRequest;
1818

1919
class NotesController extends Controller {
2020
private NotesService $notesService;

lib/Controller/PageController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
use OCA\Text\Event\LoadEditor;
1212
use OCP\App\IAppManager;
1313
use OCP\AppFramework\Controller;
14-
use OCP\AppFramework\Http\TemplateResponse;
1514
use OCP\AppFramework\Http\ContentSecurityPolicy;
1615
use OCP\AppFramework\Http\RedirectResponse;
16+
use OCP\AppFramework\Http\TemplateResponse;
1717
use OCP\AppFramework\Services\IInitialState;
1818
use OCP\EventDispatcher\IEventDispatcher;
1919
use OCP\IConfig;

lib/Db/MetaMapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
namespace OCA\Notes\Db;
66

7-
use OCP\IDBConnection;
87
use OCP\AppFramework\Db\QBMapper;
98
use OCP\DB\QueryBuilder\IQueryBuilder;
9+
use OCP\IDBConnection;
1010

1111
class MetaMapper extends QBMapper {
1212
public function __construct(IDBConnection $db) {

lib/Migration/Cleanup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
use OCA\Notes\Db\MetaMapper;
88

9-
use OCP\Migration\IRepairStep;
109
use OCP\Migration\IOutput;
10+
use OCP\Migration\IRepairStep;
1111

1212
class Cleanup implements IRepairStep {
1313
private MetaMapper $metaMapper;

0 commit comments

Comments
 (0)