@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -28,10 +28,10 @@ |
||
28 | 28 | public function getErrorList($testFile='') |
29 | 29 | { |
30 | 30 | switch ($testFile) { |
31 | - case 'FileExtensionUnitTest.1.inc': |
|
32 | - return array(1 => 1); |
|
33 | - default: |
|
34 | - return array(); |
|
31 | + case 'FileExtensionUnitTest.1.inc': |
|
32 | + return array(1 => 1); |
|
33 | + default: |
|
34 | + return array(); |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | }//end getErrorList() |
@@ -40,7 +40,7 @@ |
||
40 | 40 | * |
41 | 41 | * @return array<int, int> |
42 | 42 | */ |
43 | - public function getErrorList($testFile='') |
|
43 | + public function getErrorList($testFile = '') |
|
44 | 44 | { |
45 | 45 | switch ($testFile) { |
46 | 46 | case 'CharacterBeforePHPOpeningTagUnitTest.1.inc': |
@@ -123,13 +123,13 @@ |
||
123 | 123 | } |
124 | 124 | |
125 | 125 | $expectedPermission = array( |
126 | - 'granted' => 4, |
|
127 | - 'denied' => 1, |
|
128 | - 'cascade' => TRUE, |
|
129 | - 'blockergranted' => 2, |
|
130 | - 'blockerdenied' => - 3, |
|
131 | - 'effective' => TRUE, |
|
132 | - ); |
|
126 | + 'granted' => 4, |
|
127 | + 'denied' => 1, |
|
128 | + 'cascade' => TRUE, |
|
129 | + 'blockergranted' => 2, |
|
130 | + 'blockerdenied' => - 3, |
|
131 | + 'effective' => TRUE, |
|
132 | + ); |
|
133 | 133 | |
134 | 134 | $value = (int) isset($blah) + 2; |
135 | 135 | $value = (int) isset($blah) + (int) isset($foo) + (int) isset($bar); |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | |
61 | 61 | $line = substr($line, 0, -2); |
62 | 62 | $words = preg_split('|(\s+)|', $line."\n", -1, $flags); |
63 | -if (!isset($this->words[$wordPos-1]) || $this->words[$wordPos-1] !== ' ') { |
|
63 | +if (!isset($this->words[$wordPos - 1]) || $this->words[$wordPos - 1] !== ' ') { |
|
64 | 64 | } else if ($this->tokens[$pos + 1] === "\n") { |
65 | 65 | } |
66 | 66 | |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | 'denied' => 1, |
128 | 128 | 'cascade' => TRUE, |
129 | 129 | 'blockergranted' => 2, |
130 | - 'blockerdenied' => - 3, |
|
130 | + 'blockerdenied' => -3, |
|
131 | 131 | 'effective' => TRUE, |
132 | 132 | ); |
133 | 133 |
@@ -105,8 +105,12 @@ |
||
105 | 105 | |
106 | 106 | }//end class |
107 | 107 | |
108 | -if ($index < -1) $index = 0; |
|
109 | -if ($index < - 1) $index = 0; |
|
108 | +if ($index < -1) { |
|
109 | + $index = 0; |
|
110 | +} |
|
111 | +if ($index < - 1) { |
|
112 | + $index = 0; |
|
113 | +} |
|
110 | 114 | |
111 | 115 | $three = ceil($one / $two); |
112 | 116 | $three = ceil(($one / $two) / $four); |