Skip to content

Commit a37535b

Browse files
Fix CS/WS issues
1 parent cd683d8 commit a37535b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/LCS/LongestCommonSubsequenceTest.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ abstract class LongestCommonSubsequenceTest extends TestCase
2222
/**
2323
* @var string
2424
*/
25-
private $memory_limit;
25+
private $memoryLimit;
2626

2727
/**
2828
* @var int[]
@@ -31,7 +31,7 @@ abstract class LongestCommonSubsequenceTest extends TestCase
3131

3232
protected function setUp()
3333
{
34-
$this->memory_limit = \ini_get('memory_limit');
34+
$this->memoryLimit = \ini_get('memory_limit');
3535
\ini_set('memory_limit', '256M');
3636

3737
$this->implementation = $this->createImplementation();
@@ -44,7 +44,7 @@ abstract protected function createImplementation();
4444

4545
protected function tearDown()
4646
{
47-
\ini_set('memory_limit', $this->memory_limit);
47+
\ini_set('memory_limit', $this->memoryLimit);
4848
}
4949

5050
public function testBothEmpty()
@@ -71,10 +71,12 @@ public function testIsStrictComparison()
7171
false, false, false, false, false, false,
7272
true, true, true, true, true, true
7373
);
74+
7475
$expected = array(
7576
false,
7677
true,
7778
);
79+
7880
$common = $this->implementation->calculate($from, $to);
7981

8082
$this->assertEquals($expected, $common);

0 commit comments

Comments
 (0)