Completed
Push — chroe/update-to-php-8-again ( ef11db...95514a )
by Vladimir
08:07
created
src/Document/CollectableItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      *
46 46
      * @return void
47 47
      */
48
-    public function saveParentPageView(DynamicPageView &$pageView);
48
+    public function saveParentPageView(DynamicPageView & $pageView);
49 49
 
50 50
     /**
51 51
      * Evaluate the FrontMatter in this object by merging a custom array of data.
Please login to merge, or discard this patch.
src/Filesystem/FileExplorer.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,8 @@
 block discarded – undo
203 203
             }
204 204
 
205 205
             if (strpos($haystack, $query, $offset) !== false)
206
-            { // stop on first true result
206
+            {
207
+// stop on first true result
207 208
                 return true;
208 209
             }
209 210
         }
Please login to merge, or discard this patch.
src/Filesystem/FileExplorerMatcher.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,10 +20,12 @@
 block discarded – undo
20 20
      */
21 21
     public static function modifiedAfter(\DateTime $time)
22 22
     {
23
-        return function ($file) use ($time) {
23
+        return function ($file) use ($time)
24
+        {
24 25
             /** @var File|Folder $file */
25 26
 
26
-            if ($file instanceof Folder) {
27
+            if ($file instanceof Folder)
28
+            {
27 29
                 return true;
28 30
             }
29 31
 
Please login to merge, or discard this patch.
src/Manager/TrackingManager.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -175,12 +175,12 @@  discard block
 block discarded – undo
175 175
         }
176 176
     }
177 177
 
178
-    protected function addFileToTracker(File &$file)
178
+    protected function addFileToTracker(File & $file)
179 179
     {
180 180
         $this->trackedItemsFlattened[$file->getRelativeFilePath()] = &$file;
181 181
     }
182 182
 
183
-    protected function delFileFromTracker(File &$file)
183
+    protected function delFileFromTracker(File & $file)
184 184
     {
185 185
         unset($this->trackedItemsFlattened[$file->getRelativeFilePath()]);
186 186
     }
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      * @param ReadableDocument $trackedItem
192 192
      * @param string|null      $namespace
193 193
      */
194
-    protected function addObjectToTracker(ReadableDocument &$trackedItem, $namespace = null)
194
+    protected function addObjectToTracker(ReadableDocument & $trackedItem, $namespace = null)
195 195
     {
196 196
         if ($namespace == null)
197 197
         {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
      * @param ReadableDocument $trackedItem
212 212
      * @param string|null      $namespace
213 213
      */
214
-    protected function delObjectFromTracker(ReadableDocument &$trackedItem, $namespace = null)
214
+    protected function delObjectFromTracker(ReadableDocument & $trackedItem, $namespace = null)
215 215
     {
216 216
         if ($namespace == null)
217 217
         {
Please login to merge, or discard this patch.
src/Manager/DataManager.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,8 @@
 block discarded – undo
63 63
      */
64 64
     public function getJailedDataItems()
65 65
     {
66
-        return self::getJailedTrackedItems($this->trackedItemsFlattened, function (DataItem $dataItem) {
66
+        return self::getJailedTrackedItems($this->trackedItemsFlattened, function (DataItem $dataItem)
67
+        {
67 68
             return $dataItem->getBasename();
68 69
         });
69 70
     }
Please login to merge, or discard this patch.
src/Manager/CollectionManager.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,8 @@
 block discarded – undo
105 105
      */
106 106
     public function getJailedCollections()
107 107
     {
108
-        return self::getJailedTrackedItems($this->trackedItemsFlattened, function ($contentItem) {
108
+        return self::getJailedTrackedItems($this->trackedItemsFlattened, function ($contentItem)
109
+        {
109 110
             return $contentItem['basename'];
110 111
         });
111 112
     }
Please login to merge, or discard this patch.
src/Event/PageViewDefinitionAdded.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $this->folder = $folder;
27 27
     }
28 28
 
29
-    public function getFolder(): string|Folder
29
+    public function getFolder(): string | Folder
30 30
     {
31 31
         return $this->folder;
32 32
     }
Please login to merge, or discard this patch.
src/Event/PageViewAdded.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,14 +23,14 @@
 block discarded – undo
23 23
 {
24 24
     public const NAME = 'pageview.item.added';
25 25
 
26
-    private DynamicPageView|RepeaterPageView|StaticPageView $pageView;
26
+    private DynamicPageView | RepeaterPageView | StaticPageView $pageView;
27 27
 
28
-    public function __construct(DynamicPageView|RepeaterPageView|StaticPageView $pageView)
28
+    public function __construct(DynamicPageView | RepeaterPageView | StaticPageView $pageView)
29 29
     {
30 30
         $this->pageView = &$pageView;
31 31
     }
32 32
 
33
-    public function getPageView(): DynamicPageView|RepeaterPageView|StaticPageView
33
+    public function getPageView(): DynamicPageView | RepeaterPageView | StaticPageView
34 34
     {
35 35
         return $this->pageView;
36 36
     }
Please login to merge, or discard this patch.
src/Event/CompilerPostRenderTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 trait CompilerPostRenderTrait
13 13
 {
14
-    protected string|Stringable $compiledOutput;
14
+    protected string | Stringable $compiledOutput;
15 15
 
16 16
     public function getCompiledOutput(): string
17 17
     {
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * Modify the compiled output.
23 23
      */
24
-    public function setCompiledOutput(string|Stringable $compiledOutput): void
24
+    public function setCompiledOutput(string | Stringable $compiledOutput): void
25 25
     {
26 26
         $this->compiledOutput = $compiledOutput;
27 27
     }
Please login to merge, or discard this patch.