Passed
Pull Request — master (#92)
by Maxime
03:21
created
src/Phpml/Dataset/Demo/GlassDataset.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\Dataset\Demo;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Dataset/CsvDataset.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\Dataset;
6 6
 
Please login to merge, or discard this patch.
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.