Completed
Push — master ( 6e56f1...a9e3d8 )
by Tomáš
10:41 queued 06:05
created
src/Bundle/TwigBundle/TwigFormatter.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,9 +47,9 @@
 block discarded – undo
47 47
         $this->arrayLoader = $arrayLoader;
48 48
     }
49 49
 
50
-     /**
51
-     * {@inheritdoc}
52
-     */
50
+        /**
51
+         * {@inheritdoc}
52
+         */
53 53
     public function formatBlocks(FormatContext $formatContext)
54 54
     {
55 55
         try {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
             return $blocks;
69 69
         } catch (\Exception $e) {
70
-            print ' [ ' . get_class($e) . ': ' . $e->getMessage() . " ]\n";
70
+            print ' [ '.get_class($e).': '.$e->getMessage()." ]\n";
71 71
         }
72 72
     }
73 73
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
             return $this->twig->render($formatContext->templateId(), $data);
97 97
         } catch (\Exception $e) {
98
-            print ' [ ' . get_class($e) . ': ' . $e->getMessage() . " ]\n";
98
+            print ' [ '.get_class($e).': '.$e->getMessage()." ]\n";
99 99
         }
100 100
     }
101 101
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
             if (!preg_match_all('/{%\s+block\s+(\w+)\s+%}(.*?){%\s+endblock\s+%}/si', $verbatim, $matches)) {
121 121
                 $template = '{% block content %}'.$template.'{% endblock %}';
122 122
             }
123
-            $template = '{% extends "' . $layout . '" %}' . $template;
123
+            $template = '{% extends "'.$layout.'" %}'.$template;
124 124
         }
125 125
 
126 126
         return $template;
Please login to merge, or discard this patch.
src/Bundle/MarkdownTwigCompatBundle/ConvertListener.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
      * @var array
31 31
      */
32 32
     protected static $addPlaceholderRe = array(
33
-        '/^({%\s+block\s+(\w+).+?%})$/m',  // {% %} style code
34
-        '/^({%\s+endblock\s+%})$/m',       // {% %} style code
35
-        '/^({{.+?}})$/m',                  // {{ }} style code
33
+        '/^({%\s+block\s+(\w+).+?%})$/m', // {% %} style code
34
+        '/^({%\s+endblock\s+%})$/m', // {% %} style code
35
+        '/^({{.+?}})$/m', // {{ }} style code
36 36
     );
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
DependencyInjection/Compiler/RegisterKernelListenersPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
                     $event['method'] = 'on'.preg_replace_callback(array(
48 48
                         '/(?<=\b)[a-z]/i',
49 49
                         '/[^a-z0-9]/i',
50
-                    ), function ($matches) { return strtoupper($matches[0]); }, $event['event']);
50
+                    ), function($matches) { return strtoupper($matches[0]); }, $event['event']);
51 51
                     $event['method'] = preg_replace('/[^a-z0-9]/i', '', $event['method']);
52 52
                 }
53 53
 
Please login to merge, or discard this patch.
src/Bundle/StandaloneBundle/Command/CacheClearCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     protected function execute(InputInterface $input, OutputInterface $output)
53 53
     {
54 54
         $cacheDir = $this->getContainer()->getParameter('kernel.cache_dir');
55
-        $filesystem   = $this->getContainer()->get('filesystem');
55
+        $filesystem = $this->getContainer()->get('filesystem');
56 56
 
57 57
         if ($filesystem->exists($cacheDir)) {
58 58
             if (!is_writable($cacheDir)) {
Please login to merge, or discard this patch.
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.