Completed
Push — master ( 0dc9d2...e0759a )
by Vladimir
02:11
created
src/Twig/TextFilter.php 1 patch
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.
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/Object/Website.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -128,10 +128,10 @@  discard block
 block discarded – undo
128 128
         $this->pm->configureTwig($this->getConfiguration(), array(
129 129
             'safe'    => $this->safeMode,
130 130
             'globals' => array(
131
-                array('name' => 'site',        'value' => $this->getConfiguration()->getConfiguration()),
131
+                array('name' => 'site', 'value' => $this->getConfiguration()->getConfiguration()),
132 132
                 array('name' => 'collections', 'value' => $this->cm->getCollections()),
133
-                array('name' => 'menu',        'value' => $this->pm->getSiteMenu()),
134
-                array('name' => 'data',        'value' => $this->dm->getDataItems())
133
+                array('name' => 'menu', 'value' => $this->pm->getSiteMenu()),
134
+                array('name' => 'data', 'value' => $this->dm->getDataItems())
135 135
             )
136 136
         ));
137 137
 
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
     /**
313 313
      * @return boolean
314 314
      */
315
-    public function isNoClean()
315
+    public function isNoClean ()
316 316
     {
317 317
         return $this->noClean;
318 318
     }
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
     /**
321 321
      * @param boolean $noClean
322 322
      */
323
-    public function setNoClean($noClean)
323
+    public function setNoClean ($noClean)
324 324
     {
325 325
         $this->noClean = $noClean;
326 326
     }
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/Manager/TrackingManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     protected $tracking;
78 78
 
79
-    public function __construct()
79
+    public function __construct ()
80 80
     {
81 81
         parent::__construct();
82 82
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      * @param string      $filePath
135 135
      * @param string|null $namespace
136 136
      */
137
-    public function delArrayFromTracker($key, $filePath, $namespace = null)
137
+    public function delArrayFromTracker ($key, $filePath, $namespace = null)
138 138
     {
139 139
         if (is_null($namespace))
140 140
         {
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
      * @param array  $includes
262 262
      * @param array  $excludes
263 263
      */
264
-    public function scanTrackableItems($path, $options = array(), $includes = array(), $excludes = array())
264
+    public function scanTrackableItems ($path, $options = array(), $includes = array(), $excludes = array())
265 265
     {
266 266
         $fe = FileExplorer::create($path, $excludes, $includes);
267 267
         $fileExplorer = $fe->getExplorer();
Please login to merge, or discard this patch.
src/Manager/CollectionManager.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @return ContentItem|null
30 30
      */
31
-    public function &getContentItem ($filePath)
31
+    public function &getContentItem($filePath)
32 32
     {
33 33
         return $this->trackedItemsFlattened[$filePath];
34 34
     }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @return ContentItem[][]
40 40
      */
41
-    public function &getCollections ()
41
+    public function &getCollections()
42 42
     {
43 43
         return $this->trackedItems;
44 44
     }
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     /**
109 109
      * {@inheritdoc}
110 110
      */
111
-    public function createNewItem($filePath)
111
+    public function createNewItem ($filePath)
112 112
     {
113 113
         $collection = $this->getTentativeCollectionName($filePath);
114 114
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     /**
121 121
      * {@inheritdoc}
122 122
      */
123
-    public function refreshItem($filePath)
123
+    public function refreshItem ($filePath)
124 124
     {
125 125
         return;
126 126
     }
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * {@inheritdoc}
130 130
      */
131
-    protected function handleTrackableItem($filePath, $options = array())
131
+    protected function handleTrackableItem ($filePath, $options = array())
132 132
     {
133 133
         $collectionName = $options['namespace'];
134 134
 
Please login to merge, or discard this patch.