Skip to content

Commit

Permalink
OXDEV-8771 Fix coding style issues
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <[email protected]>
  • Loading branch information
Sieg committed Oct 9, 2024
1 parent e1d7333 commit c1f9b21
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/UserData/Infrastructure/GeneralTableDataSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

class GeneralTableDataSelector implements DataSelectorInterface
{
/**
* @SuppressWarnings(PHPMD.BooleanArgumentFlag) Not different behaviour, just protection from explosion
*/
public function __construct(
private string $collection,
private string $selectionTable,
Expand Down
3 changes: 3 additions & 0 deletions src/UserData/Infrastructure/RelatedTableDataSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

class RelatedTableDataSelector implements DataSelectorInterface
{
/**
* @SuppressWarnings(PHPMD.BooleanArgumentFlag) Not different behaviour, just protection from explosion
*/
public function __construct(
private string $collection,
private string $primaryTable,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ public function testOptionalFlagDoesNotExplodeOnQueryError(): void
filterColumn: 'oxorder.OXUSERID',
queryBuilderFactory: $this->get(QueryBuilderFactoryInterface::class),
optional: true

);

$this->assertSame([], $sut->getDataForColumnValue(self::USER_ID));
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/UserData/Infrastructure/SelectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ public function testConfiguredSelectors(): void

$this->addToAssertionCount(1);
}
}
}

0 comments on commit c1f9b21

Please sign in to comment.