Completed
Push — master ( e2e8d0...e0bf3e )
by Vladimir
02:21
created
src/Twig/TextFilter.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     public function getFilters ()
21 21
     {
22 22
         return array(
23
-            new Twig_SimpleFilter('summary',  'twig_summary_filter'),
23
+            new Twig_SimpleFilter('summary', 'twig_summary_filter'),
24 24
             new Twig_SimpleFilter('truncate', 'twig_truncate_filter', array('needs_environment' => true)),
25 25
             new Twig_SimpleFilter('wordwrap', 'twig_wordwrap_filter', array('needs_environment' => true)),
26 26
         );
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
             $length = $breakpoint;
74 74
         }
75 75
 
76
-        return rtrim(mb_substr($value, 0, $length, $env->getCharset())).$separator;
76
+        return rtrim(mb_substr($value, 0, $length, $env->getCharset())) . $separator;
77 77
     }
78 78
 
79 79
     return $value;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * Returns a list of filters.
17 17
      *
18
-     * @return array
18
+     * @return Twig_SimpleFilter[]
19 19
      */
20 20
     public function getFilters ()
21 21
     {
Please login to merge, or discard this patch.
src/System/FileSystem.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
      * @throws FileNotFoundException When originFile doesn't exist
63 63
      * @throws IOException           When copy fails
64 64
      */
65
-    public function copy($originFile, $targetFile, $overwriteNewerFiles = false)
65
+    public function copy ($originFile, $targetFile, $overwriteNewerFiles = false)
66 66
     {
67 67
         if ($this->isDir($originFile))
68 68
         {
Please login to merge, or discard this patch.
src/Manager/TwigManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     private static $twig;
19 19
 
20
-    public static function &getInstance ()
20
+    public static function &getInstance()
21 21
     {
22 22
         return self::$twig;
23 23
     }
Please login to merge, or discard this patch.
src/Manager/DataManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * Get all of the DataItems and DataSets in this manager
34 34
      *
35
-     * @return array
35
+     * @return string
36 36
      */
37 37
     public function getDataItems ()
38 38
     {
Please login to merge, or discard this patch.
src/Manager/BaseManager.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
     /**
29 29
      * {@inheritdoc}
30 30
      */
31
-    public function setLogger(LoggerInterface $logger)
31
+    public function setLogger (LoggerInterface $logger)
32 32
     {
33 33
         $this->output = $logger;
34 34
     }
Please login to merge, or discard this patch.
src/Core/StakxLogger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
      *
141 141
      * @return string
142 142
      */
143
-    private function interpolate($message, array $context)
143
+    private function interpolate ($message, array $context)
144 144
     {
145 145
         // build a replacement array with braces around the context keys
146 146
         $replace = array();
Please login to merge, or discard this patch.
src/Object/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      * Configuration constructor.
36 36
      */
37
-    public function __construct()
37
+    public function __construct ()
38 38
     {
39 39
         $this->configuration = array();
40 40
         $this->fs            = new Filesystem();
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * {@inheritdoc}
66 66
      */
67
-    public function setLogger(LoggerInterface $logger)
67
+    public function setLogger (LoggerInterface $logger)
68 68
     {
69 69
         $this->output = $logger;
70 70
     }
Please login to merge, or discard this patch.
src/System/FileExplorer.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * A bitwise flag to have FileExplorer search files starting with a period as well
22 22
      */
23
-    const ALLOW_DOT_FILES    = 0x2;
23
+    const ALLOW_DOT_FILES = 0x2;
24 24
 
25 25
     /**
26 26
      * A list of common version control folders to ignore.
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      *
37 37
      * @var string[]
38 38
      */
39
-    public static $vcsPatterns =  array('.git', '.hg', '.svn', '_svn');
39
+    public static $vcsPatterns = array('.git', '.hg', '.svn', '_svn');
40 40
 
41 41
     /**
42 42
      * A list of phrases to exclude from the search
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      * @param array              $includes
68 68
      * @param int|null           $flags
69 69
      */
70
-    public function __construct(\RecursiveIterator $iterator, array $excludes = array(), array $includes = array(), $flags = null)
70
+    public function __construct (\RecursiveIterator $iterator, array $excludes = array(), array $includes = array(), $flags = null)
71 71
     {
72 72
         parent::__construct($iterator);
73 73
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * @return string
81 81
      */
82
-    public function __toString()
82
+    public function __toString ()
83 83
     {
84 84
         return $this->current()->getFilename();
85 85
     }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @return SplFileInfo
107 107
      */
108
-    public function current()
108
+    public function current ()
109 109
     {
110 110
         /** @var \SplFileInfo $current */
111 111
         $current = parent::current();
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     /**
121 121
      * {@inheritdoc}
122 122
      */
123
-    public function getChildren()
123
+    public function getChildren ()
124 124
     {
125 125
         return (new self(
126 126
             $this->getInnerIterator()->getChildren(),
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,8 @@
 block discarded – undo
63 63
      * FileExplorer constructor.
64 64
      *
65 65
      * @param \RecursiveIterator $iterator
66
-     * @param array              $excludes
67
-     * @param array              $includes
66
+     * @param string[]              $excludes
67
+     * @param string[]              $includes
68 68
      * @param int|null           $flags
69 69
      */
70 70
     public function __construct(\RecursiveIterator $iterator, array $excludes = array(), array $includes = array(), $flags = null)
Please login to merge, or discard this patch.
src/Manager/ThemeManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * {@inheritdoc}
52 52
      */
53
-    public function refreshItem($filePath)
53
+    public function refreshItem ($filePath)
54 54
     {
55 55
         $relativeFilePath = str_replace($this->themeFolderRelative . '/', '', $filePath);
56 56
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * {@inheritdoc}
62 62
      */
63
-    public function isHandled($filePath)
63
+    public function isHandled ($filePath)
64 64
     {
65 65
         $isThemeAsset = (substr($filePath, 0, strlen($this->themeFolderRelative)) === $this->themeFolderRelative);
66 66
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * {@inheritdoc}
72 72
      */
73
-    public function createNewItem($filePath)
73
+    public function createNewItem ($filePath)
74 74
     {
75 75
         $relativeFilePath = str_replace($this->themeFolderRelative . '/', '', $filePath);
76 76
 
Please login to merge, or discard this patch.