Skip to content

Commit

Permalink
Fix: Avoid multiline parameter lists
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored and sebastianbergmann committed May 29, 2023
1 parent 0da2376 commit 8a8e449
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions tests/unit/Framework/ExecutionOrderDependencyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,8 @@ public function testDependsAnnotationRequireATargetToBeValid(): void
*
* @dataProvider createFromParametersProvider
*/
public function testCreateDependencyFromParameters(
string $className,
?string $methodName,
string $expectedTarget,
bool $expectedTargetIsClass
): void {
public function testCreateDependencyFromParameters(string $className, ?string $methodName, string $expectedTarget, bool $expectedTargetIsClass): void
{
$dependency = new ExecutionOrderDependency($className, $methodName);

$this->assertSame(
Expand All @@ -89,11 +85,8 @@ public function testCreateDependencyFromParameters(
*
* @dataProvider createWithCloneOptionProvider
*/
public function testCreateDependencyWithCloneOption(
?string $option,
bool $expectedShallowClone,
bool $expectedDeepClone
): void {
public function testCreateDependencyWithCloneOption(?string $option, bool $expectedShallowClone, bool $expectedDeepClone): void
{
$dependency = new ExecutionOrderDependency('ClassName', 'methodName', $option);

$this->assertSame(
Expand Down

0 comments on commit 8a8e449

Please sign in to comment.