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,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
{

View File

@@ -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
{

View File

@@ -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
{

View File

@@ -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