Completed
Branch master (6e56f1)
by Tomáš
08:15
created
src/Core/Source/Filter/ChainFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Core/Source/Map/DraftsMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.
src/Core/Io/ConsoleIo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
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
             );
Please login to merge, or discard this patch.
src/Core/Tests/Formatter/FormatContextTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Core/Configuration/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.