Skip to content

Commit 8151aa1

Browse files
committed
adjust ci actions, run cs:fix
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
1 parent a0deed1 commit 8151aa1

File tree

6 files changed

+11
-25
lines changed

6 files changed

+11
-25
lines changed

.github/workflows/psalm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# do not stop on another job's failure
3939
fail-fast: false
4040
matrix:
41-
ocp-version: ['^26', '^27', '^28', '^29', '^30', 'dev-master']
41+
ocp-version: ['^27', '^28', '^29', '^30', 'dev-master']
4242
php-version: ['8.0', '8.1', '8.2', '8.3']
4343

4444

composer.lock

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

lib/Service/GithubAPIService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use OCP\IConfig;
1919
use OCP\IL10N;
2020
use OCP\IURLGenerator;
21-
use OCP\IUserManager;
2221
use Psr\Log\LoggerInterface;
2322
use Throwable;
2423

lib/Service/SecretService.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,12 @@
66

77
namespace OCA\Github\Service;
88

9-
use DateInterval;
10-
use DateTime;
119
use Exception;
12-
use GuzzleHttp\Exception\ClientException;
13-
use GuzzleHttp\Exception\ServerException;
1410
use OCA\Github\AppInfo\Application;
15-
use OCP\Dashboard\Model\WidgetItem;
16-
use OCP\Http\Client\IClient;
17-
use OCP\Http\Client\IClientService;
1811
use OCP\IConfig;
19-
use OCP\IL10N;
20-
use OCP\IURLGenerator;
2112
use OCP\IUserManager;
2213
use OCP\PreConditionNotMetException;
2314
use OCP\Security\ICrypto;
24-
use Psr\Log\LoggerInterface;
25-
use Throwable;
2615

2716
/**
2817
* Service to make requests to GitHub v3 (JSON) API

tests/unit/Controller/GithubAPIControllerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace OCA\Github\Tests;
44

5-
use OCA\Github\AppInfo\Application;
65
use OCA\Github\Service\GithubAPIService;
76
use OCA\Github\Service\SecretService;
87
use OCP\Http\Client\IClient;
@@ -62,7 +61,6 @@ protected function setUp(): void {
6261
$this->createMock(IL10N::class),
6362
\OC::$server->get(IConfig::class),
6463
\OC::$server->get(IURLGenerator::class),
65-
\OC::$server->get(IUserManager::class),
6664
$clientService,
6765
);
6866

vendor-bin/phpunit/composer.lock

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

0 commit comments

Comments
 (0)