Completed
Push — master ( ef2528...a24508 )
by Jakub
01:57
created
src/generate-site.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\SiteGenerator;
5 5
 
Please login to merge, or discard this patch.
src/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\SiteGenerator;
5 5
 
6 6
 function findVendorDirectory(): string {
7 7
   $recursionLimit = 10;
8
-  $findVendor = function ($dirName = "vendor/bin", $dir = __DIR__) use (&$findVendor, &$recursionLimit) {
8
+  $findVendor = function($dirName = "vendor/bin", $dir = __DIR__) use (&$findVendor, &$recursionLimit) {
9 9
     if(!$recursionLimit--) {
10 10
       throw new \Exception("Cannot find vendor directory.");
11 11
     }
Please login to merge, or discard this patch.
src/Generator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\SiteGenerator;
5 5
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     return $resolver->resolve($meta);
87 87
   }
88 88
   
89
-  protected function processAssets(array &$meta, string &$html, string $basePath): void {
89
+  protected function processAssets(array &$meta, string & $html, string $basePath): void {
90 90
     foreach($meta["styles"] as $index => $style) {
91 91
       if(!file_exists("$basePath/$style")) {
92 92
         unset($meta["styles"][$index]);
Please login to merge, or discard this patch.