Run php-cs-fixer

This commit is contained in:
Arkadiusz Kondas 2016-09-21 21:51:19 +02:00
parent 8072ddb2bf
commit 1ce6bb544b
4 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
declare(strict_types=1); declare (strict_types = 1);
namespace Phpml\Association; namespace Phpml\Association;

View File

@ -1,6 +1,6 @@
<?php <?php
declare(strict_types=1); declare (strict_types = 1);
namespace Phpml\Association; namespace Phpml\Association;

View File

@ -1,6 +1,6 @@
<?php <?php
declare(strict_types=1); declare (strict_types = 1);
namespace Phpml\Math; namespace Phpml\Math;

View File

@ -1,6 +1,6 @@
<?php <?php
declare(strict_types = 1); declare (strict_types = 1);
namespace tests\Classification; namespace tests\Classification;
@ -8,14 +8,14 @@ use Phpml\Association\Apriori;
class AprioriTest extends \PHPUnit_Framework_TestCase class AprioriTest extends \PHPUnit_Framework_TestCase
{ {
private $sampleGreek = [ private $sampleGreek = [
['alpha', 'beta', 'epsilon'], ['alpha', 'beta', 'epsilon'],
['alpha', 'beta', 'theta'], ['alpha', 'beta', 'theta'],
['alpha', 'beta', 'epsilon'], ['alpha', 'beta', 'epsilon'],
['alpha', 'beta', 'theta'], ['alpha', 'beta', 'theta'],
]; ];
private $sampleChars = [ private $sampleChars = [
['E', 'D', 'N', 'E+N', 'EN'], ['E', 'D', 'N', 'E+N', 'EN'],
['E', 'R', 'N', 'E+R', 'E+N', 'ER', 'EN'], ['E', 'R', 'N', 'E+R', 'E+N', 'ER', 'EN'],
['D', 'R'], ['D', 'R'],
@ -25,7 +25,7 @@ class AprioriTest extends \PHPUnit_Framework_TestCase
['E', 'D', 'N', 'E+N', 'EN'], ['E', 'D', 'N', 'E+N', 'EN'],
['E', 'R', 'E+R'], ['E', 'R', 'E+R'],
['E'], ['E'],
['N',], ['N'],
]; ];
private $sampleBasket = [ private $sampleBasket = [
@ -179,7 +179,7 @@ class AprioriTest extends \PHPUnit_Framework_TestCase
public function invoke(&$object, $method, array $params = array()) public function invoke(&$object, $method, array $params = array())
{ {
$reflection = new \ReflectionClass(get_class($object)); $reflection = new \ReflectionClass(get_class($object));
$method = $reflection->getMethod($method); $method = $reflection->getMethod($method);
$method->setAccessible(true); $method->setAccessible(true);
return $method->invokeArgs($object, $params); return $method->invokeArgs($object, $params);