Completed
Pull Request — master (#2)
by Tomáš
66:14 queued 46:49
created
src/Bundle/SculpinBundle/HttpKernel/AbstractKernel.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -28,6 +28,8 @@
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * {@inheritdoc}
31
+     * @param boolean $debug
32
+     * @param string $projectDir
31 33
      */
32 34
     public function __construct($environment, $debug, $projectDir = null)
33 35
     {
Please login to merge, or discard this patch.
src/Core/SiteConfiguration/SiteConfigurationFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * Get an instance of the Configuration() class from the given file.
38 38
      *
39 39
      * @param  string $configFile
40
-     * @return YamlFileConfigurationBuilder
40
+     * @return \Dflydev\DotAccessConfiguration\ConfigurationInterface
41 41
      */
42 42
     private function getConfigFile($configFile)
43 43
     {
Please login to merge, or discard this patch.
DependencyInjection/Compiler/CustomMimeTypesRepositoryPass.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
         }
53 53
 
54 54
         foreach ($data as $type => $extensions) {
55
-            $data[$type] = array_filter($extensions, function ($var) {
55
+            $data[$type] = array_filter($extensions, function($var) {
56 56
                 return strlen($var) > 0;
57 57
             });
58 58
         }
Please login to merge, or discard this patch.
src/Bundle/SculpinBundle/Command/GenerateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
             );
91 91
 
92 92
             if ($watch) {
93
-                $httpServer->addPeriodicTimer(1, function () use ($sculpin, $dataSource, $sourceSet, $consoleIo) {
93
+                $httpServer->addPeriodicTimer(1, function() use ($sculpin, $dataSource, $sourceSet, $consoleIo) {
94 94
                     clearstatcache();
95 95
                     $sourceSet->reset();
96 96
 
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.
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/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/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.