Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump friendsofphp/php-cs-fixer from 3.48.0 to 3.49.0 #128

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Service/ReportMochaImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function import(
return $execution;
}

private function insertExecutionSuite(Execution $execution, \stdClass $suite, int $parentSuiteId = null): void
private function insertExecutionSuite(Execution $execution, \stdClass $suite, ?int $parentSuiteId = null): void
{
$executionSuite = new Suite();
$executionSuite
Expand Down
2 changes: 1 addition & 1 deletion src/Service/ReportPlaywrightImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function import(
return $execution;
}

protected function insertExecutionSuite(Execution $execution, \stdClass $suite, int $parentSuiteId = null): Suite
protected function insertExecutionSuite(Execution $execution, \stdClass $suite, ?int $parentSuiteId = null): Suite
{
$executionSuite = new Suite();
$executionSuite
Expand Down
4 changes: 2 additions & 2 deletions src/Service/ReportSuiteBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function filterEmptyArrays(bool $filterEmptyArrays): self
return $this;
}

public function filterSearch(string $search = null): self
public function filterSearch(?string $search = null): self
{
$this->filterSearch = $search;

Expand All @@ -62,7 +62,7 @@ public function filterStates(array $states = self::FILTER_STATES): self
return $this;
}

public function filterSuite(int $suiteId = null): self
public function filterSuite(?int $suiteId = null): self
{
$this->filterSuiteId = $suiteId;

Expand Down
2 changes: 1 addition & 1 deletion tests/Controller/ReportControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ private function partialCompareTest(array $expected, array $actual): void
/**
* @param array<string, string> $item
*/
private function partialTestSuite(int $executionId, int $id, array $item, int $idParent = null, bool $hasChildrenData = null): void
private function partialTestSuite(int $executionId, int $id, array $item, ?int $idParent = null, ?bool $hasChildrenData = null): void
{
$this->assertIsInt($id);

Expand Down
Loading