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
declare(strict_types=1);
declare (strict_types = 1);
namespace Phpml\Association;

View File

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

View File

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

View File

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