Completed
Push — master ( b36824...9ef7dd )
by Jakub
02:42
created
src/Generator.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
   
160 160
   protected function addAsset(string $asset): void {
161 161
     $asset = realpath($asset);
162
-    if(is_string($asset) AND !in_array($asset, $this->assets, true)) {
162
+    if(is_string($asset) and !in_array($asset, $this->assets, true)) {
163 163
       $this->assets[] = $asset;
164 164
     }
165 165
   }
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
       $target = $link->getAttribute("href");
226 226
       $target = dirname($filename) .  "/" . $target;
227 227
       foreach($this->filesToProcess as $file) {
228
-        if($target === $file->getRealPath() AND Strings::endsWith($target, ".md")) {
228
+        if($target === $file->getRealPath() and Strings::endsWith($target, ".md")) {
229 229
           $needsUpdate = true;
230 230
           continue;
231 231
         }
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
       $path = str_replace($this->source, "", $asset);
279 279
       $target = "$this->output$path";
280 280
       FileSystem::copy($asset, $target);
281
-      echo "Copied $path";
281
+      echo "copied $path";
282 282
     }
283 283
   }
284 284
   
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
       $basename = $file->getBasename(".md") . ".html";
314 314
       $filename = "$this->output$path/$basename";
315 315
       FileSystem::write($filename, $html);
316
-      echo "Created $path/$basename\n";
316
+      echo "created $path/$basename\n";
317 317
       $this->onCreatePage($html, $this, $file->getRealPath());
318 318
     }
319 319
     $this->onAfterGenerate();
Please login to merge, or discard this patch.