Code optimation by PHP-Code Sniffer

This commit is contained in:
2020-04-02 21:13:35 +02:00
parent 725ca5b149
commit ac5a3f1d5a
314 changed files with 665 additions and 1688 deletions

View File

@@ -2,13 +2,13 @@
namespace tests\unit\Entity\Source;
use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Entity\Meta\LawInterface;
use Doctrine\Common\Collections\Collection;
use Infinito\Entity\EntityInterface;
use Infinito\Entity\Meta\LawInterface;
use Infinito\Entity\Meta\Relation\Parent\CreatorRelationInterface;
use Infinito\Entity\Source\PureSource;
use Infinito\Entity\Source\SourceInterface;
use PHPUnit\Framework\TestCase;
/**
* @author kevinfrantz

View File

@@ -2,10 +2,10 @@
namespace Tests\Unit\Entity\Source\Complex\Collection;
use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\Complex\Collection\CollectionSourceInterface;
use Infinito\Entity\Source\Complex\Collection\AbstractCollectionSource;
use Doctrine\Common\Collections\Collection;
use Infinito\Entity\Source\Complex\Collection\AbstractCollectionSource;
use Infinito\Entity\Source\Complex\Collection\CollectionSourceInterface;
use PHPUnit\Framework\TestCase;
class AbstractCollectionSourceTest extends TestCase
{

View File

@@ -2,12 +2,12 @@
namespace Tests\Unit\Entity\Source\Complex\Collection;
use PHPUnit\Framework\TestCase;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\ArrayCollection;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
use Doctrine\Common\Collections\Collection;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
use Infinito\Entity\Source\PureSource;
use PHPUnit\Framework\TestCase;
/**
* @author kevinfrantz

View File

@@ -2,11 +2,11 @@
namespace tests\unit\Entity\Source\Complex;
use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\Complex\FullPersonNameSourceInterface;
use Infinito\Entity\Source\Complex\FullPersonNameSource;
use Infinito\Entity\Source\Primitive\Name\SurnameSourceInterface;
use Infinito\Entity\Source\Complex\FullPersonNameSourceInterface;
use Infinito\Entity\Source\Primitive\Name\FirstNameSourceInterface;
use Infinito\Entity\Source\Primitive\Name\SurnameSourceInterface;
use PHPUnit\Framework\TestCase;
class FullPersonNameSourceTest extends TestCase
{

View File

@@ -2,10 +2,10 @@
namespace tests\unit\Entity\Source\Complex;
use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\Complex\PersonIdentitySourceInterface;
use Infinito\Entity\Source\Complex\PersonIdentitySource;
use Infinito\Entity\Source\Complex\FullPersonNameSourceInterface;
use Infinito\Entity\Source\Complex\PersonIdentitySource;
use Infinito\Entity\Source\Complex\PersonIdentitySourceInterface;
use PHPUnit\Framework\TestCase;
class PersonIdentitySourceTest extends TestCase
{

View File

@@ -2,11 +2,11 @@
namespace tests\unit\Entity\Source\Complex;
use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\Complex\UserSourceInterface;
use Infinito\Entity\Source\Complex\UserSource;
use Doctrine\Common\Collections\Collection;
use Infinito\Entity\Source\Complex\PersonIdentitySourceInterface;
use Infinito\Entity\Source\Complex\UserSource;
use Infinito\Entity\Source\Complex\UserSourceInterface;
use PHPUnit\Framework\TestCase;
class UserSourceTest extends TestCase
{

View File

@@ -2,15 +2,15 @@
namespace tests\unit\Entity\Source\Operand;
use PHPUnit\Framework\TestCase;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Infinito\Entity\Source\Operation\AbstractOperation;
use Infinito\Entity\Source\Operation\OperationInterface;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\ArrayCollection;
use Infinito\Logic\Operation\OperandInterface;
use Infinito\Logic\Result\ResultInterface;
use Infinito\Logic\Result\Result;
use Infinito\Exception\Deprecated\NotProcessedException;
use Infinito\Logic\Operation\OperandInterface;
use Infinito\Logic\Result\Result;
use Infinito\Logic\Result\ResultInterface;
use PHPUnit\Framework\TestCase;
/**
* @author kevinfrantz

View File

@@ -2,14 +2,14 @@
namespace tests\unit\Entity\Source\Operation;
use PHPUnit\Framework\TestCase;
use Infinito\Logic\Result\Result;
use Infinito\Logic\Operation\OperandInterface;
use Infinito\Logic\Result\ResultInterface;
use Doctrine\Common\Collections\ArrayCollection;
use Infinito\Entity\Source\Operation\OperationInterface;
use Infinito\Entity\Source\Operation\AndOperation;
use Infinito\Entity\Source\Operation\OperationInterface;
use Infinito\Exception\Attribut\UndefinedAttributException;
use Infinito\Logic\Operation\OperandInterface;
use Infinito\Logic\Result\Result;
use Infinito\Logic\Result\ResultInterface;
use PHPUnit\Framework\TestCase;
class AndOperationTest extends TestCase
{

View File

@@ -2,9 +2,9 @@
namespace tests\unit\Entity\Source\Primitive;
use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\Primitive\Name\NameSourceInterface;
use Infinito\Entity\Source\Primitive\Name\AbstractNameSource;
use Infinito\Entity\Source\Primitive\Name\NameSourceInterface;
use PHPUnit\Framework\TestCase;
/**
* @author kevinfrantz

View File

@@ -2,9 +2,9 @@
namespace Tests\Unit\Entity\Source\Primitive\Text;
use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\Primitive\Text\TextSourceInterface;
use Infinito\Entity\Source\Primitive\Text\TextSource;
use Infinito\Entity\Source\Primitive\Text\TextSourceInterface;
use PHPUnit\Framework\TestCase;
class TextSourceTest extends TestCase
{

View File

@@ -2,10 +2,10 @@
namespace Tests\Unit\Entity\Source;
use Infinito\Entity\Source\AbstractSource;
use Infinito\Entity\Source\PureSource;
use Infinito\Entity\Source\PureSourceInterface;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Entity\Source\PureSource;
use Infinito\Entity\Source\AbstractSource;
use PHPUnit\Framework\TestCase;
/**