Skip to content

Commit 444f244

Browse files
authored
Merge pull request #694 from nextcloud/dependabot/composer/nextcloud/coding-standard-1.4.0
chore(deps-dev): Bump nextcloud/coding-standard from 1.1.0 to 1.4.0
2 parents 5b3fd55 + 8a62baf commit 444f244

69 files changed

Lines changed: 1557 additions & 3811 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer.lock

Lines changed: 1089 additions & 3492 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/BackgroundJob/ExAppInitStatusCheckJob.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ class ExAppInitStatusCheckJob extends TimedJob {
2121
private const everyMinuteInterval = 60;
2222

2323
public function __construct(
24-
ITimeFactory $time,
25-
private readonly ExAppMapper $mapper,
24+
ITimeFactory $time,
25+
private readonly ExAppMapper $mapper,
2626
private readonly AppAPIService $service,
27-
private readonly IAppConfig $appConfig,
27+
private readonly IAppConfig $appConfig,
2828
) {
2929
parent::__construct($time);
3030

@@ -46,7 +46,7 @@ protected function run($argument): void {
4646
if ($exApp->getAppid() === Application::TEST_DEPLOY_APPID) {
4747
$initTimeoutSeconds = 30; // Check for smaller timeout(half of minute) for test deploy app
4848
} else {
49-
$initTimeoutSeconds = (int) ($initTimeoutMinutesSetting * 60);
49+
$initTimeoutSeconds = (int)($initTimeoutMinutesSetting * 60);
5050
}
5151
if ((time() >= ($status['init_start_time'] + $initTimeoutSeconds)) && (empty($status['error']))) {
5252
$this->service->setAppInitProgress(

lib/Capabilities.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
class Capabilities implements ICapability {
1818

1919
public function __construct(
20-
private readonly IConfig $config,
20+
private readonly IConfig $config,
2121
private readonly IAppManager $appManager,
2222
) {
2323
}

lib/Command/Daemon/ListDaemons.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ListDaemons extends Command {
2222

2323
public function __construct(
2424
private readonly DaemonConfigService $daemonConfigService,
25-
private readonly IAppConfig $appConfig
25+
private readonly IAppConfig $appConfig,
2626
) {
2727
parent::__construct();
2828
}

lib/Command/Daemon/UnregisterDaemon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class UnregisterDaemon extends Command {
2121

2222
public function __construct(
2323
private readonly DaemonConfigService $daemonConfigService,
24-
private readonly ExAppService $exAppService,
24+
private readonly ExAppService $exAppService,
2525
) {
2626
parent::__construct();
2727
}

lib/Command/ExApp/Disable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
class Disable extends Command {
2020
public function __construct(
21-
private readonly AppAPIService $service,
22-
private readonly ExAppService $exAppService,
21+
private readonly AppAPIService $service,
22+
private readonly ExAppService $exAppService,
2323
) {
2424
parent::__construct();
2525
}

lib/Command/ExApp/Enable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
class Enable extends Command {
2020

2121
public function __construct(
22-
private readonly AppAPIService $service,
23-
private readonly ExAppService $exAppService,
22+
private readonly AppAPIService $service,
23+
private readonly ExAppService $exAppService,
2424
) {
2525
parent::__construct();
2626
}

lib/Command/ExApp/ListExApps.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
use Symfony\Component\Console\Output\OutputInterface;
1818

1919
class ListExApps extends Command {
20-
public function __construct(private readonly ExAppMapper $mapper) {
20+
public function __construct(
21+
private readonly ExAppMapper $mapper,
22+
) {
2123
parent::__construct();
2224
}
2325

lib/Command/ExApp/Register.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
class Register extends Command {
3030

3131
public function __construct(
32-
private readonly AppAPIService $service,
33-
private readonly DaemonConfigService $daemonConfigService,
34-
private readonly DockerActions $dockerActions,
35-
private readonly ManualActions $manualActions,
36-
private readonly IAppConfig $appConfig,
37-
private readonly ExAppService $exAppService,
38-
private readonly ISecureRandom $random,
39-
private readonly LoggerInterface $logger,
40-
private readonly ExAppArchiveFetcher $exAppArchiveFetcher,
32+
private readonly AppAPIService $service,
33+
private readonly DaemonConfigService $daemonConfigService,
34+
private readonly DockerActions $dockerActions,
35+
private readonly ManualActions $manualActions,
36+
private readonly IAppConfig $appConfig,
37+
private readonly ExAppService $exAppService,
38+
private readonly ISecureRandom $random,
39+
private readonly LoggerInterface $logger,
40+
private readonly ExAppArchiveFetcher $exAppArchiveFetcher,
4141
) {
4242
parent::__construct();
4343
}
@@ -207,7 +207,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
207207
$daemonConfig->getProtocol(),
208208
$daemonConfig->getHost(),
209209
$daemonConfig->getDeployConfig(),
210-
(int) $appInfo['port'],
210+
(int)$appInfo['port'],
211211
$auth,
212212
);
213213
}

lib/Command/ExApp/Unregister.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
class Unregister extends Command {
2424

2525
public function __construct(
26-
private readonly AppAPIService $service,
26+
private readonly AppAPIService $service,
2727
private readonly DaemonConfigService $daemonConfigService,
28-
private readonly DockerActions $dockerActions,
29-
private readonly ExAppService $exAppService,
28+
private readonly DockerActions $dockerActions,
29+
private readonly ExAppService $exAppService,
3030
) {
3131
parent::__construct();
3232
}

0 commit comments

Comments
 (0)