Skip to content

Commit

Permalink
linter solving
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannism20 committed Nov 23, 2023
1 parent bd7817a commit 9a5fc09
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion lib/Command/Configure/Cfssl.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
use OCA\Libresign\Command\Base;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

class Cfssl extends Base {
protected function configure(): void {
Expand Down
1 change: 0 additions & 1 deletion lib/Command/Configure/OpenSsl.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
use OCA\Libresign\Command\Base;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

class OpenSsl extends Base {
protected function configure(): void {
Expand Down
2 changes: 1 addition & 1 deletion lib/Middleware/InjectionMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private function requireSigner(): void {
}

/**
* @param \Exception $exception
* @param \Exception $exception
* @return Response
*@throws \Exception
*/
Expand Down
3 changes: 1 addition & 2 deletions tests/Unit/Handler/Pkcs12HandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
use OC\SystemConfig;
use OCA\Libresign\Handler\CertificateEngine\CfsslHandler;
use OCA\Libresign\Handler\CertificateEngine\Handler as CertificateEngineHandler;
use OCA\Libresign\Handler\CertificateEngine\OpenSslHandler;
use OCA\Libresign\Handler\JSignPdfHandler;
use OCA\Libresign\Handler\Pkcs12Handler;
use OCA\Libresign\Service\FolderService;
Expand All @@ -21,7 +20,7 @@ final class Pkcs12HandlerTest extends \OCA\Libresign\Tests\Unit\TestCase {
private CfsslHandler|MockObject $cfsslHandler;
private IL10N|MockObject $l10n;
private JSignPdfHandler|MockObject $jSignPdfHandler;
private CertificateEngineHandler|MockObject $certificateEngineHandler;
private CertificateEngineHandler|MockObject $certificateEngineHandler;
private array $cfsslHandlerBuffer = [];

public function setUp(): void {
Expand Down
3 changes: 1 addition & 2 deletions tests/Unit/Service/SignFileServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use OCA\Libresign\Helper\JSActions;
use OCA\Libresign\Helper\ValidateHelper;
use OCA\Libresign\Service\FolderService;
use OCA\Libresign\Service\IdentifyMethodService;
use OCA\Libresign\Service\SignFileService;
use OCA\Libresign\Service\SignMethodService;
use OCP\EventDispatcher\IEventDispatcher;
Expand Down Expand Up @@ -51,7 +50,7 @@ final class SignFileServiceTest extends \OCA\Libresign\Tests\Unit\TestCase {
private IEventDispatcher|MockObject $eventDispatcher;
private IURLGenerator|MockObject $urlGenerator;
private SignMethodService|MockObject $signMethod;
private IdentifyMethodMapper|MockObject $identifyMethodMapper;
private IdentifyMethodMapper|MockObject $identifyMethodMapper;
private ITempManager|MockObject $tempManager;

public function setUp(): void {
Expand Down
1 change: 0 additions & 1 deletion tests/integration/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

use Behat\Gherkin\Node\PyStringNode;
use Behat\Gherkin\Node\TableNode;
use Behat\Testwork\Hook\Scope\BeforeSuiteScope;
use Libresign\NextcloudBehat\NextcloudApiContext;
use PHPUnit\Framework\Assert;
use rpkamp\Behat\MailhogExtension\Context\OpenedEmailStorageAwareContext;
Expand Down

0 comments on commit 9a5fc09

Please sign in to comment.