@@ -40,7 +40,7 @@ |
||
40 | 40 | |
41 | 41 | $matched = true; |
42 | 42 | } else { |
43 | - if (! $this->or) { |
|
43 | + if (!$this->or) { |
|
44 | 44 | // If we would not have accepted any filter ("and") we can |
45 | 45 | // return false at this point since at least one failed. |
46 | 46 | return false; |
@@ -30,7 +30,7 @@ |
||
30 | 30 | } |
31 | 31 | } |
32 | 32 | |
33 | - if (! in_array('drafts', $tags)) { |
|
33 | + if (!in_array('drafts', $tags)) { |
|
34 | 34 | // only add drafts if it isn't already in tags. |
35 | 35 | $tags[] = 'drafts'; |
36 | 36 | } |
@@ -97,7 +97,7 @@ |
||
97 | 97 | $messages = (array) $messages; |
98 | 98 | $messages[0] = sprintf( |
99 | 99 | '[%.1fMB/%.2fs] %s', |
100 | - memory_get_usage() / 1024 / 1024, |
|
100 | + memory_get_usage()/1024/1024, |
|
101 | 101 | microtime(true) - $this->startTime, |
102 | 102 | $messages[0] |
103 | 103 | ); |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | $this->assertEquals('someTemplateId', $formatContext->templateId()); |
26 | 26 | $this->assertEquals('template text', $formatContext->template()); |
27 | - $this->assertEquals(array('a' => 'Some A Value', 'formatter' => 'SOME_FORMATTER', ), $formatContext->data()->export()); |
|
27 | + $this->assertEquals(array('a' => 'Some A Value', 'formatter' => 'SOME_FORMATTER',), $formatContext->data()->export()); |
|
28 | 28 | $this->assertEquals('SOME_FORMATTER', $formatContext->formatter()); |
29 | 29 | } |
30 | 30 | } |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | */ |
97 | 97 | public function addExclude($pattern) |
98 | 98 | { |
99 | - if (substr($pattern, 0, 2)=='./') { |
|
99 | + if (substr($pattern, 0, 2) == './') { |
|
100 | 100 | $pattern = substr($pattern, 2); |
101 | 101 | } |
102 | 102 | |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | */ |
145 | 145 | public function addIgnore($pattern) |
146 | 146 | { |
147 | - if (substr($pattern, 0, 2)=='./') { |
|
147 | + if (substr($pattern, 0, 2) == './') { |
|
148 | 148 | $pattern = substr($pattern, 2); |
149 | 149 | } |
150 | 150 | |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | */ |
193 | 193 | public function addRaw($pattern) |
194 | 194 | { |
195 | - if (substr($pattern, 0, 2)=='./') { |
|
195 | + if (substr($pattern, 0, 2) == './') { |
|
196 | 196 | $pattern = substr($pattern, 2); |
197 | 197 | } |
198 | 198 | if (!in_array($pattern, $this->raws)) { |