Passed
Push — master ( bebce0...97b525 )
by Brent
02:53
created
src/Command/InstallCommand.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@
 block discarded – undo
104 104
         }
105 105
     }
106 106
 
107
+    /**
108
+     * @param string $dst
109
+     */
107 110
     protected function copyFolder($src, $dst) {
108 111
         $finder = new Finder();
109 112
         $srcFiles = $finder->files()->in($src)->ignoreDotFiles(false);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\Console\Command\Command;
6 6
 use Symfony\Component\Console\Input\InputInterface;
7
-use Symfony\Component\Console\Input\InputOption;
8 7
 use Symfony\Component\Console\Output\OutputInterface;
9 8
 use Symfony\Component\Filesystem\Filesystem;
10 9
 use Symfony\Component\Console\Question\Question;
Please login to merge, or discard this patch.
src/Template/Twig/TwigEngine.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,9 +36,9 @@
 block discarded – undo
36 36
         /** @var TemplatePlugin $plugin */
37 37
         $plugin = Config::getDependency('engine.plugin');
38 38
 
39
-        $this->addFunction(new \Twig_SimpleFunction('meta', [$plugin, 'meta'], ['is_safe' => ['html'],]));
40
-        $this->addFunction(new \Twig_SimpleFunction('css', [$plugin, 'css'], ['is_safe' => ['html'],]));
41
-        $this->addFunction(new \Twig_SimpleFunction('js', [$plugin, 'js'], ['is_safe' => ['html'],]));
39
+        $this->addFunction(new \Twig_SimpleFunction('meta', [$plugin, 'meta'], ['is_safe' => ['html'], ]));
40
+        $this->addFunction(new \Twig_SimpleFunction('css', [$plugin, 'css'], ['is_safe' => ['html'], ]));
41
+        $this->addFunction(new \Twig_SimpleFunction('js', [$plugin, 'js'], ['is_safe' => ['html'], ]));
42 42
         $this->addFunction(new \Twig_SimpleFunction('image', [$plugin, 'image']));
43 43
         $this->addFunction(new \Twig_SimpleFunction('file', [$plugin, 'file']));
44 44
     }
Please login to merge, or discard this patch.
src/Adapter/OrderAdapter.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         $entries = $this->getData($page->getVariable($variable));
48 48
 
49 49
         uasort($entries, function ($a, $b) use ($field) {
50
-           return strcmp($a[$field], $b[$field]);
50
+            return strcmp($a[$field], $b[$field]);
51 51
         });
52 52
 
53 53
         if (in_array($direction, self::$reverse)) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
         $entries = $this->getData($page->getVariable($variable));
48 48
 
49
-        uasort($entries, function ($a, $b) use ($field) {
49
+        uasort($entries, function($a, $b) use ($field) {
50 50
            return strcmp($a[$field], $b[$field]);
51 51
         });
52 52
 
Please login to merge, or discard this patch.
src/Adapter/FilterAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             $entries = $this->getData($page->getVariable($variable));
43 43
 
44 44
             foreach ($filters as $field => $value) {
45
-                $entries = array_filter($entries, function ($entry) use ($field, $value) {
45
+                $entries = array_filter($entries, function($entry) use ($field, $value) {
46 46
                     return isset($entry[$field]) && $entry[$field] == $value;
47 47
                 });
48 48
             }
Please login to merge, or discard this patch.