Completed
Pull Request — develop (#315)
by Schlaefer
07:24
created
lib/Phile/Bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
         spl_autoload_extensions(".php");
103 103
         // load phile core
104 104
         spl_autoload_register(
105
-            function ($className) {
105
+            function($className) {
106 106
                 $fileName = LIB_DIR . str_replace("\\", DS, $className) . '.php';
107 107
                 if (file_exists($fileName)) {
108 108
                     include_once $fileName;
Please login to merge, or discard this patch.
lib/Phile/Repository/PageCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     public function offsetSet($offset, $value)
77 77
     {
78 78
         $this->load();
79
-        $this->pages[$offset] =    $value;
79
+        $this->pages[$offset] = $value;
80 80
     }
81 81
 
82 82
     public function offsetUnset($offset)
Please login to merge, or discard this patch.
plugins/phile/errorHandler/Classes/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
21 21
  */
22 22
 class Plugin extends AbstractPlugin
23 23
 {
24
-    const HANDLER_ERROR_LOG        = 'error_log';
25
-    const HANDLER_DEVELOPMENT    = 'development';
24
+    const HANDLER_ERROR_LOG = 'error_log';
25
+    const HANDLER_DEVELOPMENT = 'development';
26 26
 
27 27
     protected $events = ['plugins_loaded' => 'onPluginsLoaded'];
28 28
 
Please login to merge, or discard this patch.
lib/Phile/Repository/Page.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     {
95 95
         $folder = $folder ?: $this->settings['content_dir'];
96 96
         return new PageCollection(
97
-            function () use ($options, $folder) {
97
+            function() use ($options, $folder) {
98 98
                 $options += $this->settings;
99 99
                 // ignore files with a leading '.' in its filename
100 100
                 $files = Utility::getFiles($folder, '\Phile\FilterIterator\ContentFileFilterIterator');
Please login to merge, or discard this patch.
plugins/phile/phpFastCache/Classes/PhileToPsr16CacheAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /** @var string slug */
21 21
     const SLUG_PREFIX = '-phile.phpFastCache.slug-';
22 22
     
23
-    const SLUG = ['{', '}' , '(', ')', '/' , '\\' , '@', ':'];
23
+    const SLUG = ['{', '}', '(', ')', '/', '\\', '@', ':'];
24 24
 
25 25
     /**
26 26
      * @var \BasePhpFastCache the cache engine
@@ -117,13 +117,13 @@  discard block
 block discarded – undo
117 117
      */
118 118
     protected function slug($key)
119 119
     {
120
-        $replacer = function ($character) {
120
+        $replacer = function($character) {
121 121
             $key = array_search($character[0], self::SLUG);
122 122
             $replacement = self::SLUG_PREFIX . $key;
123 123
             return $replacement;
124 124
         };
125 125
         $search = array_map(
126
-            function ($value) {
126
+            function($value) {
127 127
                 return preg_quote($value);
128 128
             },
129 129
             self::SLUG
Please login to merge, or discard this patch.