Skip to content

Commit 0d2a0f4

Browse files
Zach Baileysebastianbergmann
authored andcommitted
Fixes whitespace
1 parent 709f825 commit 0d2a0f4

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

tests/Output/UnifiedDiffOutputBuilderTest.php

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10+
1011
namespace SebastianBergmann\Diff\Output;
1112

1213
use PHPUnit\Framework\TestCase;
@@ -15,9 +16,9 @@
1516
/**
1617
* @covers SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder
1718
*
18-
* @uses SebastianBergmann\Diff\Differ
19-
* @uses SebastianBergmann\Diff\Output\AbstractChunkOutputBuilder
20-
* @uses SebastianBergmann\Diff\TimeEfficientLongestCommonSubsequenceCalculator
19+
* @uses SebastianBergmann\Diff\Differ
20+
* @uses SebastianBergmann\Diff\Output\AbstractChunkOutputBuilder
21+
* @uses SebastianBergmann\Diff\TimeEfficientLongestCommonSubsequenceCalculator
2122
*/
2223
final class UnifiedDiffOutputBuilderTest extends TestCase
2324
{
@@ -82,27 +83,27 @@ public function provideDiffWithLineNumbers(): array
8283
return UnifiedDiffOutputBuilderDataProvider::provideDiffWithLineNumbers();
8384
}
8485

85-
/**
86-
* @param string $from
87-
* @param string $to
88-
*
89-
* @dataProvider provideStringsThatAreTheSame
90-
*/
86+
/**
87+
* @param string $from
88+
* @param string $to
89+
*
90+
* @dataProvider provideStringsThatAreTheSame
91+
*/
9192
public function testEmptyDiffProducesEmptyOutput(string $from, string $to): void
92-
{
93-
$differ = new Differ(new UnifiedDiffOutputBuilder('', false));
94-
$output = $differ->diff($from, $to);
95-
$this->assertEmpty($output);
96-
}
93+
{
94+
$differ = new Differ(new UnifiedDiffOutputBuilder('', false));
95+
$output = $differ->diff($from, $to);
96+
$this->assertEmpty($output);
97+
}
9798

98-
public function provideStringsThatAreTheSame(): array
99-
{
100-
return [
101-
['', ''],
102-
['a', 'a'],
103-
['these strings are the same', 'these strings are the same'],
104-
["\n", "\n"],
105-
["multi-line strings\nare the same", "multi-line strings\nare the same"]
106-
];
107-
}
99+
public function provideStringsThatAreTheSame(): array
100+
{
101+
return [
102+
['', ''],
103+
['a', 'a'],
104+
['these strings are the same', 'these strings are the same'],
105+
["\n", "\n"],
106+
["multi-line strings\nare the same", "multi-line strings\nare the same"]
107+
];
108+
}
108109
}

0 commit comments

Comments
 (0)