Completed
Branch master (6e56f1)
by Tomáš
08:15
created
src/Contrib/ProxySourceCollection/ProxySourceCollectionDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
         }
96 96
 
97 97
         if (!$foudAtLeastOne) {
98
-            echo 'Didnt find at least one of this type : ' . $this->dataProviderName . PHP_EOL;
98
+            echo 'Didnt find at least one of this type : '.$this->dataProviderName.PHP_EOL;
99 99
         }
100 100
 
101 101
         $this->collection->init();
Please login to merge, or discard this patch.
src/Contrib/ProxySourceCollection/ProxySourceItem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,12 +126,12 @@
 block discarded – undo
126 126
 
127 127
     public function offsetExists($offset)
128 128
     {
129
-        return ! method_exists($this, $offset) && null !== $this->data()->get($offset);
129
+        return !method_exists($this, $offset) && null !== $this->data()->get($offset);
130 130
     }
131 131
 
132 132
     public function offsetUnset($offset)
133 133
     {
134
-        if (! method_exists($this, $offset)) {
134
+        if (!method_exists($this, $offset)) {
135 135
             $this->data()->remove($offset);
136 136
         }
137 137
     }
Please login to merge, or discard this patch.
src/Contrib/Taxonomy/PermalinkStrategy/ToyRocketStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
 {
16 16
     public function process($str)
17 17
     {
18
-        return '∙∙∙∙∙·▫▫ᵒᴼᵒ▫ₒₒ▫ᵒᴼᵒ▫ₒₒ▫ᵒᴼᵒ☼)==' . $str . '==>';
18
+        return '∙∙∙∙∙·▫▫ᵒᴼᵒ▫ₒₒ▫ᵒᴼᵒ▫ₒₒ▫ᵒᴼᵒ☼)=='.$str.'==>';
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/Core/Sculpin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 
148 148
         $this->eventDispatcher->dispatch(self::EVENT_BEFORE_RUN, new SourceSetEvent($sourceSet));
149 149
 
150
-        if ($updatedSources = array_filter($sourceSet->updatedSources(), function ($source) {
150
+        if ($updatedSources = array_filter($sourceSet->updatedSources(), function($source) {
151 151
             return !$source->isGenerated();
152 152
         })) {
153 153
             if (!$found) {
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
             $this->writer->write(new SourceOutput($source));
230 230
 
231 231
             if ($io->isVerbose()) {
232
-                $io->write(' + ' . $source->sourceId());
232
+                $io->write(' + '.$source->sourceId());
233 233
             }
234 234
         }
235 235
 
Please login to merge, or discard this patch.
src/Core/Permalink/SourcePermalinkFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,9 +85,9 @@  discard block
 block discarded – undo
85 85
                 } else {
86 86
                     $pretty = preg_replace('/(\.[^\.\/]+|\.[^\.\/]+\.[^\.\/]+)$/', '', $pathname);
87 87
                     if (basename($pretty) == 'index') {
88
-                        return $pretty . '.html';
88
+                        return $pretty.'.html';
89 89
                     } else {
90
-                        return $pretty . '/index.html';
90
+                        return $pretty.'/index.html';
91 91
                     }
92 92
                 }
93 93
                 break;
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
                 $permalink = preg_replace('/:filename/', $filename, $permalink);
116 116
                 $permalink = preg_replace('/:slug_filename/', $this->normalize($slug ?: $filename), $permalink);
117 117
                 if (strrpos($filename, DIRECTORY_SEPARATOR) !== false) {
118
-                    $basename = substr($filename, strrpos($filename, DIRECTORY_SEPARATOR)+1);
118
+                    $basename = substr($filename, strrpos($filename, DIRECTORY_SEPARATOR) + 1);
119 119
                 } else {
120 120
                     $basename = $filename;
121 121
                 }
Please login to merge, or discard this patch.
src/Core/Source/FileSource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
                         } catch (\InvalidArgumentException $e) {
93 93
                             // Likely not actually YAML front matter available,
94 94
                             // treat the entire file as pure content.
95
-                            echo ' ! ' . $this->sourceId() . ' ' . $e->getMessage() . ' !' . PHP_EOL;
95
+                            echo ' ! '.$this->sourceId().' '.$e->getMessage().' !'.PHP_EOL;
96 96
                             $this->content = $content;
97 97
                             $this->data = new Data;
98 98
                         }
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         }
110 110
 
111 111
         if ($this->data->get('date')) {
112
-            if (! is_numeric($this->data->get('date'))) {
112
+            if (!is_numeric($this->data->get('date'))) {
113 113
                 $this->data->set('date', strtotime($this->data->get('date')));
114 114
             }
115 115
 
Please login to merge, or discard this patch.
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.