Completed
Push — master ( 5231d5...f954c7 )
by Alexandr
04:05 queued 01:38
created
Tests/Parser/VariableTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public function testGetValue($actual, $expected)
16 16
     {
17
-        $var = new Variable('foo', 'bar', false, false, true, new Location(1,1));
17
+        $var = new Variable('foo', 'bar', false, false, true, new Location(1, 1));
18 18
         $var->setValue($actual);
19 19
         $this->assertEquals($var->getValue(), $expected);
20 20
     }
@@ -25,13 +25,13 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function testGetNullValueException()
27 27
     {
28
-        $var = new Variable('foo', 'bar', false, false, true, new Location(1,1));
28
+        $var = new Variable('foo', 'bar', false, false, true, new Location(1, 1));
29 29
         $var->getValue();
30 30
     }
31 31
 
32 32
     public function testGetValueReturnsDefaultValueIfNoValueSet()
33 33
     {
34
-        $var = new Variable('foo', 'bar', false, false, true, new Location(1,1));
34
+        $var = new Variable('foo', 'bar', false, false, true, new Location(1, 1));
35 35
         $var->setDefaultValue('default-value');
36 36
 
37 37
         $this->assertEquals(
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     public function testGetValueReturnsSetValueEvenWithDefaultValue()
44 44
     {
45
-        $var = new Variable('foo', 'bar', false, false, true, new Location(1,1));
45
+        $var = new Variable('foo', 'bar', false, false, true, new Location(1, 1));
46 46
         $var->setValue('real-value');
47 47
         $var->setDefaultValue('default-value');
48 48
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
     public function testIndicatesDefaultValuePresent()
56 56
     {
57
-        $var = new Variable('foo', 'bar', false, false, true, new Location(1,1));
57
+        $var = new Variable('foo', 'bar', false, false, true, new Location(1, 1));
58 58
         $var->setDefaultValue('default-value');
59 59
 
60 60
         $this->assertTrue(
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 
65 65
     public function testHasNoDefaultValue()
66 66
     {
67
-        $var = new Variable('foo', 'bar', false, false, true, new Location(1,1));
67
+        $var = new Variable('foo', 'bar', false, false, true, new Location(1, 1));
68 68
 
69 69
         $this->assertFalse(
70 70
             $var->hasDefaultValue()
Please login to merge, or discard this patch.