Completed
Push — master ( 6e56f1...a9e3d8 )
by Tomáš
10:41 queued 06:05
created
src/Core/Source/CompositeDataSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      */
63 63
     public function dataSourceId()
64 64
     {
65
-        return 'CompositeDataSource('.implode(',', array_map(function ($dataSource) {
65
+        return 'CompositeDataSource('.implode(',', array_map(function($dataSource) {
66 66
             return $dataSource->dataSourceId();
67 67
         }, $this->dataSources));
68 68
     }
Please login to merge, or discard this patch.
src/Core/Source/ConfigFilesystemDataSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
      */
95 95
     public function refresh(SourceSet $sourceSet)
96 96
     {
97
-        if (! is_dir($this->sourceDir)) {
97
+        if (!is_dir($this->sourceDir)) {
98 98
             return;
99 99
         }
100 100
 
Please login to merge, or discard this patch.
src/Core/Source/SourceSet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      */
88 88
     public function updatedSources()
89 89
     {
90
-        return array_filter($this->sources, function (SourceInterface $source) {
90
+        return array_filter($this->sources, function(SourceInterface $source) {
91 91
             return $source->hasChanged();
92 92
         });
93 93
     }
Please login to merge, or discard this patch.
src/Core/Source/Filter/AntPathFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         if (null === $antPathMatcher) {
29 29
             $antPathMatcher = new AntPathMatcher;
30 30
         }
31
-        $this->patterns = array_map(function ($path) use ($antPathMatcher) {
31
+        $this->patterns = array_map(function($path) use ($antPathMatcher) {
32 32
             return $antPathMatcher->isPattern($path) ? $path : $path.'/**';
33 33
         }, $paths);
34 34
         $this->antPathMatcher = $antPathMatcher;
Please login to merge, or discard this patch.
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.