Test Failed
Branch master (01bb82)
by Arkadiusz
05:58 queued 03:02
created
src/Phpml/Clustering/Clusterer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Clustering;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Clustering/KMeans/Point.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Clustering\KMeans;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Regression/LeastSquares.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Regression;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Math/Kernel/RBF.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Math\Kernel;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Math/Product.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Math;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Math/Statistic/Correlation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Math\Statistic;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Math/Statistic/Mean.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Math\Statistic;
6 6
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         self::checkArrayLength($numbers);
35 35
 
36 36
         $count = count($numbers);
37
-        $middleIndex = (int)floor($count / 2);
37
+        $middleIndex = (int) floor($count / 2);
38 38
         sort($numbers, SORT_NUMERIC);
39 39
         $median = $numbers[$middleIndex];
40 40
 
Please login to merge, or discard this patch.
src/Phpml/Math/Distance/Chebyshev.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Math\Distance;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Math/Distance/Minkowski.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Math\Distance;
6 6
 
@@ -43,6 +43,6 @@  discard block
 block discarded – undo
43 43
             $distance += pow(abs($a[$i] - $b[$i]), $this->lambda);
44 44
         }
45 45
 
46
-        return (float)pow($distance, 1 / $this->lambda);
46
+        return (float) pow($distance, 1 / $this->lambda);
47 47
     }
48 48
 }
Please login to merge, or discard this patch.