Skip to content

Commit 5d5d898

Browse files
R0Wigithub-actions[bot]
authored andcommitted
Apply php-cs-fixer changes
1 parent dbf097c commit 5d5d898

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/Operation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function __construct(
5353
private LoggerInterface $logger,
5454
private IURLGenerator $urlGenerator,
5555
private IProcessingFileAccessor $processingFileAccessor,
56-
private IRootFolder $rootFolder
56+
private IRootFolder $rootFolder,
5757
) {
5858
}
5959

tests/Unit/OperationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public function testDoesNothingOnMapperEventIfFileNotFound() {
326326
->method('getFirstNodeById')
327327
->with(42)
328328
->willReturn(null);
329-
329+
330330
$operation = new Operation($this->jobList, $this->l, $this->logger, $this->urlGenerator, $this->processingFileAccessor, $this->rootFolder);
331331

332332
$operation->onEvent($eventName, $event, $this->ruleMatcher);

tests/Unit/Service/OcrServiceTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ public function testThrowsNotFoundExceptionWhenFileNotFound() {
419419
public function testDoesNotCallOcr_OnNonFile() {
420420
$invalidNode = $this->createMock(Node::class);
421421
$invalidNode->method('getType')
422-
->willReturn(FileInfo::TYPE_FOLDER);
422+
->willReturn(FileInfo::TYPE_FOLDER);
423423
$settings = new WorkflowSettings();
424424
$this->rootFolderGetFirstNodeById42ReturnValue = $invalidNode;
425425

@@ -519,7 +519,7 @@ public function testDoesNotCreateNewFileVersionIfOcrContentWasEmpty() {
519519
$fileId = 42;
520520

521521
$this->rootFolder->expects($this->never())->method('getById');
522-
522+
523523
$this->rootFolder->expects($this->once())
524524
->method('getFirstNodeById')
525525
->with($fileId)
@@ -712,7 +712,7 @@ public function testSetsFileVersionsLabelIfKeepOriginalFileVersionIsTrue() {
712712

713713
$fileMock = $this->createValidFileMock($mimeType, $content);
714714
$this->rootFolderGetFirstNodeById42ReturnValue = $fileMock;
715-
715+
716716
$this->ocrProcessor->expects($this->once())
717717
->method('ocrFile')
718718
->willReturn($ocrResult);
@@ -768,7 +768,7 @@ public function testRunOcrProcessThrowsNonOcrAlreadyDoneExceptionIfModeIsNotSkip
768768
->willThrowException($ex);
769769

770770
$this->expectException(OcrAlreadyDoneException::class);
771-
771+
772772
$this->ocrService->runOcrProcess(42, 'usr', $settings);
773773
}
774774

0 commit comments

Comments
 (0)