@@ -27,8 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | use OCA\CMSPico\Events\UserEvents; |
| 29 | 29 | |
| 30 | -class UserHooks |
|
| 31 | -{ |
|
| 30 | +class UserHooks { |
|
| 32 | 31 | /** |
| 33 | 32 | * @param array $params |
| 34 | 33 | */ |
@@ -28,8 +28,7 @@ |
||
| 28 | 28 | use OCA\CMSPico\Exceptions\WebsiteNotFoundException; |
| 29 | 29 | use OCA\CMSPico\Model\Website; |
| 30 | 30 | |
| 31 | -class WebsitesRequest extends WebsitesRequestBuilder |
|
| 32 | -{ |
|
| 31 | +class WebsitesRequest extends WebsitesRequestBuilder { |
|
| 33 | 32 | /** |
| 34 | 33 | * @param Website $website |
| 35 | 34 | */ |
@@ -28,8 +28,7 @@ |
||
| 28 | 28 | use OCA\CMSPico\Model\Website; |
| 29 | 29 | use OCP\DB\QueryBuilder\IQueryBuilder; |
| 30 | 30 | |
| 31 | -class WebsitesRequestBuilder extends CoreRequestBuilder |
|
| 32 | -{ |
|
| 31 | +class WebsitesRequestBuilder extends CoreRequestBuilder { |
|
| 33 | 32 | /** |
| 34 | 33 | * Base of the Sql Insert request |
| 35 | 34 | * |
@@ -29,8 +29,7 @@ |
||
| 29 | 29 | use OCP\DB\QueryBuilder\IQueryBuilder; |
| 30 | 30 | use OCP\IDBConnection; |
| 31 | 31 | |
| 32 | -class CoreRequestBuilder |
|
| 33 | -{ |
|
| 32 | +class CoreRequestBuilder { |
|
| 34 | 33 | /** @var string */ |
| 35 | 34 | const TABLE_WEBSITES = 'cms_pico_websites'; |
| 36 | 35 | |
@@ -28,8 +28,7 @@ |
||
| 28 | 28 | use OCP\Migration\IOutput; |
| 29 | 29 | use OCP\Migration\SimpleMigrationStep; |
| 30 | 30 | |
| 31 | -class Version010000 extends SimpleMigrationStep |
|
| 32 | -{ |
|
| 31 | +class Version010000 extends SimpleMigrationStep { |
|
| 33 | 32 | /** |
| 34 | 33 | * @param IOutput $output |
| 35 | 34 | * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
@@ -35,8 +35,7 @@ |
||
| 35 | 35 | use OCP\Migration\IOutput; |
| 36 | 36 | use OCP\Migration\IRepairStep; |
| 37 | 37 | |
| 38 | -class AppDataRepairStep implements IRepairStep |
|
| 39 | -{ |
|
| 38 | +class AppDataRepairStep implements IRepairStep { |
|
| 40 | 39 | /** @var ILogger */ |
| 41 | 40 | private $logger; |
| 42 | 41 | |
@@ -83,16 +83,16 @@ |
||
| 83 | 83 | */ |
| 84 | 84 | public function run(IOutput $output) |
| 85 | 85 | { |
| 86 | - $this->logger->debug('Copying Pico CMS config …', [ 'app' => Application::APP_NAME ]); |
|
| 86 | + $this->logger->debug('Copying Pico CMS config …', ['app' => Application::APP_NAME]); |
|
| 87 | 87 | $this->copyConfig(); |
| 88 | 88 | |
| 89 | - $this->logger->debug('Copying Pico CMS templates …', [ 'app' => Application::APP_NAME ]); |
|
| 89 | + $this->logger->debug('Copying Pico CMS templates …', ['app' => Application::APP_NAME]); |
|
| 90 | 90 | $this->copyTemplates(); |
| 91 | 91 | |
| 92 | - $this->logger->debug('Publishing Pico CMS themes …', [ 'app' => Application::APP_NAME ]); |
|
| 92 | + $this->logger->debug('Publishing Pico CMS themes …', ['app' => Application::APP_NAME]); |
|
| 93 | 93 | $this->publishThemes(); |
| 94 | 94 | |
| 95 | - $this->logger->debug('Publishing Pico CMS plugins …', [ 'app' => Application::APP_NAME ]); |
|
| 95 | + $this->logger->debug('Publishing Pico CMS plugins …', ['app' => Application::APP_NAME]); |
|
| 96 | 96 | $this->publishPlugins(); |
| 97 | 97 | } |
| 98 | 98 | |
@@ -29,8 +29,7 @@ |
||
| 29 | 29 | use OCP\Files\InvalidPathException; |
| 30 | 30 | use OCP\Files\NotPermittedException; |
| 31 | 31 | |
| 32 | -interface NodeInterface |
|
| 33 | -{ |
|
| 32 | +interface NodeInterface { |
|
| 34 | 33 | /** |
| 35 | 34 | * @param FolderInterface $targetPath |
| 36 | 35 | * |
@@ -28,8 +28,7 @@ |
||
| 28 | 28 | use OCP\Files\Folder as OCFolder; |
| 29 | 29 | use OCP\Files\Node as OCNode; |
| 30 | 30 | |
| 31 | -abstract class AbstractStorageNode extends AbstractNode implements NodeInterface |
|
| 32 | -{ |
|
| 31 | +abstract class AbstractStorageNode extends AbstractNode implements NodeInterface { |
|
| 33 | 32 | /** @var OCNode */ |
| 34 | 33 | protected $node; |
| 35 | 34 | |
@@ -32,8 +32,7 @@ |
||
| 32 | 32 | use OCP\Files\NotFoundException; |
| 33 | 33 | use OCP\Files\NotPermittedException; |
| 34 | 34 | |
| 35 | -abstract class AbstractLocalNode extends AbstractNode implements NodeInterface |
|
| 36 | -{ |
|
| 35 | +abstract class AbstractLocalNode extends AbstractNode implements NodeInterface { |
|
| 37 | 36 | /** @var string */ |
| 38 | 37 | protected $path; |
| 39 | 38 | |