Skip to content

Commit d9b4199

Browse files
committed
fix some coding standards
1 parent db19f6e commit d9b4199

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

src/PhpMerge/PhpMerge.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ final class PhpMerge extends PhpMergeBase implements PhpMergeInterface
4343

4444
/**
4545
* PhpMerge constructor.
46+
*
47+
* @param Differ|null $differ
48+
* The differ to use.
4649
*/
4750
public function __construct(Differ $differ = null)
4851
{

test/PhpMerge/Test/AbstractPhpMergeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,6 @@ public function testInline()
480480
*/
481481
protected static function split($string, $emptyLines = 1)
482482
{
483-
return implode("\n", str_split($string)) . str_repeat("\n", $emptyLines);
483+
return implode("\n", str_split($string)).str_repeat("\n", $emptyLines);
484484
}
485485
}

test/PhpMerge/Test/LineTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
class LineTest extends TestCase
2424
{
25-
25+
2626
public function testCreate()
2727
{
2828

@@ -47,7 +47,7 @@ public function testCreate()
4747
["replaced\n", 2],
4848
["replacement\n", 1],
4949
["unchanged\n", 0],
50-
["removed\n", 2]
50+
["removed\n", 2],
5151
];
5252

5353
$lines = [

test/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
$autoloadFile = __DIR__ . '/../vendor/autoload.php';
4+
$autoloadFile = __DIR__.'/../vendor/autoload.php';
55
if (!file_exists($autoloadFile)) {
66
throw new RuntimeException('Install dependencies to run test suite.');
77
}

0 commit comments

Comments
 (0)