mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Code optimation by PHP-Code Sniffer
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace tests\unit\Entity;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\EntityInterface;
|
||||
use Infinito\Entity\AbstractEntity;
|
||||
use Infinito\Entity\EntityInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class AbstractEntityTest extends TestCase
|
||||
{
|
||||
|
@@ -2,12 +2,12 @@
|
||||
|
||||
namespace tests\unit\Entity\Meta;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Entity\Meta\LawInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\Meta\Law;
|
||||
use Infinito\Entity\Meta\LawInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class LawTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Entity\Meta\Relation\Member;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\Meta\Relation\Member\MemberRelation;
|
||||
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class MemberRelationTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace tests\Unit\Entity\Meta;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\Meta\Relation\Parent\AbstractParentRelation;
|
||||
use Infinito\Entity\Meta\Relation\Parent\ParentRelationInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class AbstractParentRelationTest extends TestCase
|
||||
{
|
||||
|
@@ -2,14 +2,14 @@
|
||||
|
||||
namespace tests\unit\Entity;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Entity\Meta\Law;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Entity\Meta\Law;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Exception\Type\InvalidChoiceTypeException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @todo Implement reciever test
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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;
|
||||
|
||||
/**
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace tests\unit\Entity;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Entity\Source\Complex\UserSource;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Entity\UserInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
Reference in New Issue
Block a user