Skip to content

Commit

Permalink
style: fix codestyles
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Apr 2, 2024
1 parent 9653151 commit ddc1f74
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
6 changes: 4 additions & 2 deletions test/Console/Command/MoreLikeThisTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ public function setUp(): void
);
$this->solrMoreLikeThis = $this->createStub(SolrMoreLikeThis::class);

$command = new MoreLikeThis($resourceChannelFactory, $this->solrMoreLikeThis);
$command = new MoreLikeThis(
$resourceChannelFactory,
$this->solrMoreLikeThis
);

$application = new Application([$command]);

Expand Down Expand Up @@ -142,5 +145,4 @@ public function testExecuteNoResult(): void
$output
);
}

}
2 changes: 1 addition & 1 deletion test/Console/Command/SuggestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function testExecute(): void

public function testExecuteNoResult(): void
{
$result = new SuggestResult([],10);
$result = new SuggestResult([], 10);
$this->solrSuggest->method('suggest')
->willReturn($result);

Expand Down
8 changes: 6 additions & 2 deletions test/Service/AbstractIndexerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,18 @@ public function setUp(): void
$indexName = $this->createMock(IndexName::class);
$indexName->method('name')
->willReturn('www');
$this->progressHandler = $this->createMock(IndexerProgressHandler::class);
$this->progressHandler = $this->createMock(
IndexerProgressHandler::class
);
$this->aborter = $this->createMock(IndexingAborter::class);
$config = new IndexerConfiguration(
'test',
'Test',
new DataBag([])
);
$this->configLoader = $this->createMock(IndexerConfigurationLoader::class);
$this->configLoader = $this->createMock(
IndexerConfigurationLoader::class
);
$this->configLoader->method('load')
->willReturn($config);
$this->indexer = new TextIndexer(
Expand Down
5 changes: 3 additions & 2 deletions test/Service/Indexer/BackgroundIndexerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ class BackgroundIndexerTest extends TestCase
public function setUp(): void
{

$this->progressHandler = $this->createStub(IndexerProgressHandler::class);
$this->progressHandler = $this->createStub(
IndexerProgressHandler::class
);
$this->indexName = $this->createMock(IndexName::class);
$this->internalResourceIndexer = $this->createMock(
InternalResourceIndexer::class
Expand Down Expand Up @@ -133,5 +135,4 @@ public function testGetName(): void
'Unexpected name'
);
}

}
2 changes: 0 additions & 2 deletions test/Service/Indexer/SiteKit/NoIndexFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,4 @@ public function testAcceptWithNoIndex(): void
"resource should not be accepted"
);
}

}

0 comments on commit ddc1f74

Please sign in to comment.