Skip to content

Commit 16a1cb0

Browse files
committed
[PSR12] Fix PSR12 codingstyle violations
1 parent 9a0bc96 commit 16a1cb0

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

tests/Fixture/CircularReferenceObjectB.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,4 @@ public function setObjectA(CircularReferenceObjectA $objectA): void
1818
{
1919
$this->objectA = $objectA;
2020
}
21-
22-
2321
}

tests/Fixture/SelfReferencingObjects.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ public function getNumber(): int
2727
{
2828
return $this->number;
2929
}
30-
3130
}

tests/ObjectGraphGeneratorTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ public function itShouldUseTemporaryConfigBeforeRegistry(): void
3636
$objectGraphGenerator = $this->getUnitUnderTest();
3737
/** @var SimpleTypesInConstructor $actual */
3838
$actual = $objectGraphGenerator->generateWithTemporaryConfig(SimpleTypesInConstructor::class, [
39-
'Cubicl\ObjectGraphGenerator\Tests\Fixture\SimpleTypesInConstructor:bar' => function () {return true;},
39+
'Cubicl\ObjectGraphGenerator\Tests\Fixture\SimpleTypesInConstructor:bar' => function () {
40+
return true;
41+
},
4042
]);
4143

4244
$this->assertTrue($actual->isBar());
@@ -56,7 +58,9 @@ private function getUnitUnderTest(): ObjectGraphGenerator
5658
{
5759
return new ObjectGraphGenerator([
5860
SelfReferencingObjects::class => new SelfReferencingObjectsFactory(),
59-
'Cubicl\ObjectGraphGenerator\Tests\Fixture\SimpleTypesInConstructor:bar' => function () {return false;},
61+
'Cubicl\ObjectGraphGenerator\Tests\Fixture\SimpleTypesInConstructor:bar' => function () {
62+
return false;
63+
},
6064
]);
6165
}
6266
}

0 commit comments

Comments
 (0)