Completed
Push — master ( ba922a...9c7654 )
by Milos
03:24
created
autoload.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // if library is in dev environement with its own vendor, include its autoload
4
-if(file_exists(__DIR__ . '/vendor'))
4
+if(file_exists(__DIR__ . '/vendor')) {
5 5
     require_once __DIR__ . '/vendor/autoload.php';
6
+}
6 7
 // if library is in vendor of another project, include the global autolaod
7
-else
8
+else {
8 9
     require_once __DIR__ . '/../../autoload.php';
10
+}
Please login to merge, or discard this patch.
src/Cgi/Calc/Func/IntervalFunction.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
             if ($this->path->firstPoint()->getX() > $x) {
54 54
                 $containingLine = $this->path->firstLine();
55
-            }  else {
55
+            } else {
56 56
                 $containingLine = $this->path->lastLine();
57 57
             }
58 58
         }
Please login to merge, or discard this patch.