Skip to content

Commit eda4ab7

Browse files
committed
fix style ci issues
1 parent 41f1b10 commit eda4ab7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/PhpunitMerger/Command/LogCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ private function addTestCases(\DOMElement $parent, array $testCases)
150150
$this->domElements[$name] = $element;
151151
}
152152
}
153+
153154
private function addChildElements(array $tree, \DOMElement $element)
154155
{
155156
foreach ($tree as $key => $value) {
@@ -161,6 +162,7 @@ private function addChildElements(array $tree, \DOMElement $element)
161162
$element->appendChild($child);
162163
}
163164
}
165+
164166
private function calculateTopLevelStats()
165167
{
166168
/** @var \DOMElement $topNode */
@@ -169,7 +171,7 @@ private function calculateTopLevelStats()
169171
if ($topNode->hasChildNodes()) {
170172
$stats = array_flip($this->keysToCalculate);
171173
$stats = array_map(function ($_value) {
172-
return 0;
174+
return 0;
173175
}, $stats);
174176
foreach($topNode->childNodes as $child) {
175177
$attributes = $child->attributes;

tests/PhpunitMerger/Command/AbstractCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ abstract class AbstractCommandTest extends TestCase
2222
public function assertOutputFileNotExists()
2323
{
2424
$filesystem = new Filesystem();
25-
self::assertDirectoryExists($this->logDirectory , $this->logDirectory . ' does not exists');
25+
self::assertDirectoryExists($this->logDirectory ,$this->logDirectory . ' does not exists');
2626
$filesystem->remove($this->logDirectory . $this->outputFile);
2727

2828
$this->assertFileNotExists($this->logDirectory . $this->outputFile);
2929
}
3030

3131
public function assertOutputDirectoryNotExists()
3232
{
33-
self::assertDirectoryExists($this->logDirectory , $this->logDirectory . ' does not exists');
33+
self::assertDirectoryExists($this->logDirectory,$this->logDirectory . ' does not exists');
3434
$filesystem = new Filesystem();
3535
$filesystem->remove($this->logDirectory . dirname($this->outputFile));
3636

0 commit comments

Comments
 (0)