Skip to content

Commit

Permalink
lint: fix php with latest cs-fixer
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <[email protected]>
  • Loading branch information
pulsejet committed Sep 12, 2023
1 parent 2e21251 commit 277f178
Show file tree
Hide file tree
Showing 20 changed files with 34 additions and 102 deletions.
4 changes: 1 addition & 3 deletions lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,5 @@ public function register(IRegistrationContext $context): void
}
}

public function boot(IBootContext $context): void
{
}
public function boot(IBootContext $context): void {}
}
4 changes: 1 addition & 3 deletions lib/ClustersBackend/Backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ abstract public function transformDayQuery(&$query, bool $aggregate): void;
/**
* 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.
Expand Down
4 changes: 1 addition & 3 deletions lib/Migration/Version200000Date20220924015634.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @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 {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version400000Date20221015121115.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -69,7 +67,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @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 {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version400307Date20221025002524.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -60,7 +58,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @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 {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version400308Date20221026151748.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -58,7 +56,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @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 {}
}
4 changes: 1 addition & 3 deletions lib/Migration/Version400503Date20221101033144.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ public function __construct(IDBConnection $dbc)
/**
* @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`
Expand Down
8 changes: 2 additions & 6 deletions lib/Migration/Version400604Date20221107205439.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -61,7 +59,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @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 {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version400700Date20221110030909.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -61,7 +59,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @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 {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version400800Date20221122105007.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -92,7 +90,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @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 {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version401000Date20230118043813.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -63,7 +61,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @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 {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version401100Date20230206002744.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -93,7 +91,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @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 {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version401100Date20230208181533.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -113,7 +111,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @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 {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version401300Date20230328012131.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -59,7 +57,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version500000Date20230414042534.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -63,7 +61,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version502000Date20230530052850.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -60,7 +58,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}
4 changes: 1 addition & 3 deletions lib/Migration/Version505000Date20230821044807.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ public function __construct(IDBConnection $dbc)
/**
* @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
Expand Down
8 changes: 2 additions & 6 deletions lib/Migration/Version505001Date20230828155021.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -61,7 +59,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}
8 changes: 2 additions & 6 deletions lib/Migration/Version505002Date20230831201833.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -75,7 +73,5 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
/**
* @param \Closure(): ISchemaWrapper $schemaClosure
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void
{
}
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {}
}
4 changes: 1 addition & 3 deletions lib/Service/ProcessClosedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

namespace OCA\Memories\Service;

class ProcessClosedException extends \Exception
{
}
class ProcessClosedException extends \Exception {}

0 comments on commit 277f178

Please sign in to comment.