Test Failed
Pull Request — master (#100)
by Никита
04:12
created
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.
src/Phpml/Metric/Accuracy.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\Metric;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Preprocessing/Imputer.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\Preprocessing;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Preprocessing/Imputer/Strategy.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\Preprocessing\Imputer;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Preprocessing/Imputer/Strategy/MostFrequentStrategy.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\Preprocessing\Imputer\Strategy;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/Helper/Predictable.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\Helper;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/NeuralNetwork/Node.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\NeuralNetwork;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/NeuralNetwork/Node/Bias.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\NeuralNetwork\Node;
6 6
 
Please login to merge, or discard this patch.
src/Phpml/NeuralNetwork/Node/Neuron/Synapse.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\NeuralNetwork\Node\Neuron;
6 6
 
Please login to merge, or discard this patch.