Skip to content

Commit 67099ef

Browse files
patinthehatgithub-actions[bot]
authored andcommitted
Fix styling
1 parent fa2b098 commit 67099ef

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

src/CodeSnippet.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,13 @@ protected function getBoundsMulti(int $totalNumberOfLineInFile): Bounds
208208
$this->trimSnippetSize($bounds);
209209
$this->updateSnippetLineCount($bounds);
210210

211-
// $surroundedBounds = Bounds::createFromArray($this->surroundingLines);
212-
//
213-
// if ($surroundedBounds->end > $bounds->end) {
214-
// $bounds->end = $surroundedBounds->end + 1;
215-
// }
216-
//
217-
// $this->ensureBoundsAreWithinLimits($bounds, $totalNumberOfLineInFile);
211+
// $surroundedBounds = Bounds::createFromArray($this->surroundingLines);
212+
//
213+
// if ($surroundedBounds->end > $bounds->end) {
214+
// $bounds->end = $surroundedBounds->end + 1;
215+
// }
216+
//
217+
// $this->ensureBoundsAreWithinLimits($bounds, $totalNumberOfLineInFile);
218218

219219
return $bounds;
220220
}

tests/data/file1.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<?php
22

3-
ray('12345');
3+
ray('12345');
44

5-
printf("%s\n", strtolower('TEST'));
5+
printf("%s\n", strtolower('TEST'));
66

7-
echo strtoupper('test') . PHP_EOL;
7+
echo strtoupper('test') . PHP_EOL;
88

9-
function test1()
10-
{
11-
Ray::rateLimiter()->count(5);
12-
}
9+
function test1()
10+
{
11+
Ray::rateLimiter()->count(5);
12+
}
1313

14-
$obj = new MyClass();
14+
$obj = new MyClass();
1515

16-
$obj->withData([123])->send();
16+
$obj->withData([123])->send();
1717

18-
$isDisabled = AnotherClass::disabled();
19-
$isEnabled = AnotherClass::enabled();
18+
$isDisabled = AnotherClass::disabled();
19+
$isEnabled = AnotherClass::enabled();

0 commit comments

Comments
 (0)