lint: fix php with latest cs-fixer

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/823/head
Varun Patil 2023-09-12 10:56:59 -07:00
parent 2e21251c73
commit 277f1789f5
20 changed files with 34 additions and 102 deletions

View File

@ -103,7 +103,5 @@ class Application extends App implements IBootstrap
}
}
public function boot(IBootContext $context): void
{
}
public function boot(IBootContext $context): void {}
}

View File

@ -54,9 +54,7 @@ abstract class Backend
/**
* Apply post-query transformations for the given photo object.
*/
public function transformDayPost(array &$row): void
{
}
public function transformDayPost(array &$row): void {}
/**
* Get the cluster list for the current user.

View File

@ -86,7 +86,5 @@ class Version200000Date20220924015634 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -36,9 +36,7 @@ class Version400000Date20221015121115 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
@ -69,7 +67,5 @@ class Version400000Date20221015121115 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -35,9 +35,7 @@ class Version400307Date20221025002524 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
@ -60,7 +58,5 @@ class Version400307Date20221025002524 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -35,9 +35,7 @@ class Version400308Date20221026151748 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
@ -58,7 +56,5 @@ class Version400308Date20221026151748 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -44,9 +44,7 @@ class Version400503Date20221101033144 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`

View File

@ -35,9 +35,7 @@ class Version400604Date20221107205439 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
@ -61,7 +59,5 @@ class Version400604Date20221107205439 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -36,9 +36,7 @@ class Version400700Date20221110030909 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
@ -61,7 +59,5 @@ class Version400700Date20221110030909 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -36,9 +36,7 @@ class Version400800Date20221122105007 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
@ -92,7 +90,5 @@ class Version400800Date20221122105007 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -36,9 +36,7 @@ class Version401000Date20230118043813 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
@ -63,7 +61,5 @@ class Version401000Date20230118043813 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -36,9 +36,7 @@ class Version401100Date20230206002744 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
@ -93,7 +91,5 @@ class Version401100Date20230206002744 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -36,9 +36,7 @@ class Version401100Date20230208181533 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
@ -113,7 +111,5 @@ class Version401100Date20230208181533 extends SimpleMigrationStep
/**
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -35,9 +35,7 @@ class Version401300Date20230328012131 extends SimpleMigrationStep
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
@ -59,7 +57,5 @@ class Version401300Date20230328012131 extends SimpleMigrationStep
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -36,9 +36,7 @@ class Version500000Date20230414042534 extends SimpleMigrationStep
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
@ -63,7 +61,5 @@ class Version500000Date20230414042534 extends SimpleMigrationStep
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -34,9 +34,7 @@ class Version502000Date20230530052850 extends SimpleMigrationStep
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
@ -60,7 +58,5 @@ class Version502000Date20230530052850 extends SimpleMigrationStep
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -45,9 +45,7 @@ class Version505000Date20230821044807 extends SimpleMigrationStep
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure(): ISchemaWrapper $schemaClosure

View File

@ -34,9 +34,7 @@ class Version505001Date20230828155021 extends SimpleMigrationStep
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
@ -61,7 +59,5 @@ class Version505001Date20230828155021 extends SimpleMigrationStep
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -32,9 +32,7 @@ class Version505002Date20230831201833 extends SimpleMigrationStep
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
@ -75,7 +73,5 @@ class Version505002Date20230831201833 extends SimpleMigrationStep
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}

View File

@ -4,6 +4,4 @@ declare(strict_types=1);
namespace OCA\Memories\Service;
class ProcessClosedException extends \Exception
{
}
class ProcessClosedException extends \Exception {}