From 871c100d285172704fa8ee8fe224b254ee46d92d Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Wed, 3 Oct 2018 15:50:46 +0200 Subject: [PATCH] Optimized interface namespace path --- .../Factory/Facade/Security/SourceFacadeFactory.php | 2 +- .../src/Creator/Modificator/Entity/LawModificator.php | 8 ++++---- application/src/Entity/Attribut/ChildsAttribut.php | 2 +- application/src/Entity/Attribut/LawAttribut.php | 2 +- application/src/Entity/Attribut/LawAttributInterface.php | 2 +- application/src/Entity/Attribut/NameSourceAttribut.php | 2 +- .../src/Entity/Attribut/NameSourceAttributInterface.php | 2 +- application/src/Entity/Attribut/NodeAttribut.php | 2 +- application/src/Entity/Attribut/NodeAttributInterface.php | 2 +- application/src/Entity/Attribut/ParentsAttribut.php | 2 +- application/src/Entity/Attribut/RecieverGroupAttribut.php | 2 +- .../Entity/Attribut/RecieverGroupAttributInterface.php | 2 +- application/src/Entity/Attribut/RightAttribut.php | 2 +- .../src/Entity/Attribut/RightAttributInterface.php | 2 +- application/src/Entity/Attribut/SourceAttribut.php | 2 +- .../src/Entity/Attribut/SourceAttributInterface.php | 2 +- application/src/Entity/Attribut/UserAttribut.php | 2 +- application/src/Entity/Attribut/UserAttributInterface.php | 2 +- application/src/Entity/Attribut/UserSourceAttribut.php | 2 +- .../src/Entity/Attribut/UserSourceAttributInterface.php | 2 +- application/src/Entity/Law.php | 4 ++-- application/src/Entity/LawInterface.php | 2 +- application/src/Entity/Method/NodeGrantedInterface.php | 2 +- application/src/Entity/Node.php | 6 +++--- application/src/Entity/NodeInterface.php | 2 +- application/src/Entity/RecieverGroup.php | 4 ++-- application/src/Entity/Right.php | 8 ++++---- application/src/Entity/RightInterface.php | 2 +- application/src/Entity/Source/AbstractSource.php | 4 ++-- application/src/Entity/Source/NameSource.php | 2 +- application/src/Entity/Source/NameSourceInterface.php | 2 +- application/src/Entity/Source/RecieverGroupInterface.php | 2 +- application/src/Entity/Source/UserSource.php | 4 ++-- application/src/Entity/Source/UserSourceInterface.php | 2 +- application/src/Entity/SourceInterface.php | 2 +- application/src/Entity/User.php | 4 ++-- application/src/Entity/UserInterface.php | 2 +- application/src/Security/SourceVoter.php | 4 ++-- .../Facade/Security/Source/AbstractSourceFacade.php | 6 +++--- .../Facade/Security/Source/SourceFacadeInterface.php | 6 +++--- .../Structur/Facade/Security/Source/UserSourceFacade.php | 4 ++-- 41 files changed, 60 insertions(+), 60 deletions(-) diff --git a/application/src/Creator/Factory/Facade/Security/SourceFacadeFactory.php b/application/src/Creator/Factory/Facade/Security/SourceFacadeFactory.php index c301377..5bc6824 100644 --- a/application/src/Creator/Factory/Facade/Security/SourceFacadeFactory.php +++ b/application/src/Creator/Factory/Facade/Security/SourceFacadeFactory.php @@ -2,7 +2,7 @@ namespace App\Creator\Factory\Facade\Security; -use App\Structur\Facade\Security\Source\interfaces\SourceFacadeInterface; +use App\Structur\Facade\Security\Source\SourceFacadeInterface; /** * @author kevinfrantz diff --git a/application/src/Creator/Modificator/Entity/LawModificator.php b/application/src/Creator/Modificator/Entity/LawModificator.php index 573ca79..597a8b8 100644 --- a/application/src/Creator/Modificator/Entity/LawModificator.php +++ b/application/src/Creator/Modificator/Entity/LawModificator.php @@ -4,12 +4,12 @@ namespace App\Creator\Modificator\Entity; use App\DBAL\Types\LayerType; use App\DBAL\Types\RightType; -use App\Entity\Interfaces\NodeInterface; +use App\Entity\NodeInterface; use App\Entity\Right; -use App\Entity\Interfaces\LawInterface; +use App\Entity\LawInterface; use App\DBAL\Types\RecieverType; -use App\Entity\Interfaces\RightInterface; -use App\Entity\Interfaces\RecieverGroupInterface; +use App\Entity\RightInterface; +use App\Entity\RecieverGroupInterface; use App\Entity\RecieverGroup; /** diff --git a/application/src/Entity/Attribut/ChildsAttribut.php b/application/src/Entity/Attribut/ChildsAttribut.php index 05c169a..770f907 100644 --- a/application/src/Entity/Attribut/ChildsAttribut.php +++ b/application/src/Entity/Attribut/ChildsAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Interfaces\NodeInterface; +use App\Entity\NodeInterface; use Doctrine\Common\Collections\Collection; /** diff --git a/application/src/Entity/Attribut/LawAttribut.php b/application/src/Entity/Attribut/LawAttribut.php index 089eee4..ed634b0 100644 --- a/application/src/Entity/Attribut/LawAttribut.php +++ b/application/src/Entity/Attribut/LawAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Interfaces\LawInterface; +use App\Entity\LawInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/LawAttributInterface.php b/application/src/Entity/Attribut/LawAttributInterface.php index d50ce3a..d89add4 100644 --- a/application/src/Entity/Attribut/LawAttributInterface.php +++ b/application/src/Entity/Attribut/LawAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut\Interfaces; -use App\Entity\Interfaces\LawInterface; +use App\Entity\LawInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/NameSourceAttribut.php b/application/src/Entity/Attribut/NameSourceAttribut.php index c7f473f..17c1ee0 100644 --- a/application/src/Entity/Attribut/NameSourceAttribut.php +++ b/application/src/Entity/Attribut/NameSourceAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Interfaces\NameSourceInterface; +use App\Entity\NameSourceInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/NameSourceAttributInterface.php b/application/src/Entity/Attribut/NameSourceAttributInterface.php index 5c53025..071087e 100644 --- a/application/src/Entity/Attribut/NameSourceAttributInterface.php +++ b/application/src/Entity/Attribut/NameSourceAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut\Interfaces; -use App\Entity\Interfaces\NameSourceInterface; +use App\Entity\NameSourceInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/NodeAttribut.php b/application/src/Entity/Attribut/NodeAttribut.php index 79655f9..ce3b354 100644 --- a/application/src/Entity/Attribut/NodeAttribut.php +++ b/application/src/Entity/Attribut/NodeAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Interfaces\NodeInterface; +use App\Entity\NodeInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/NodeAttributInterface.php b/application/src/Entity/Attribut/NodeAttributInterface.php index 7e6c6d8..6f26e9d 100644 --- a/application/src/Entity/Attribut/NodeAttributInterface.php +++ b/application/src/Entity/Attribut/NodeAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut\Interfaces; -use App\Entity\Interfaces\NodeInterface; +use App\Entity\NodeInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/ParentsAttribut.php b/application/src/Entity/Attribut/ParentsAttribut.php index c7418cd..96291b4 100644 --- a/application/src/Entity/Attribut/ParentsAttribut.php +++ b/application/src/Entity/Attribut/ParentsAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Interfaces\NodeInterface; +use App\Entity\NodeInterface; use Doctrine\Common\Collections\Collection; /** diff --git a/application/src/Entity/Attribut/RecieverGroupAttribut.php b/application/src/Entity/Attribut/RecieverGroupAttribut.php index 99c056b..ead37d6 100644 --- a/application/src/Entity/Attribut/RecieverGroupAttribut.php +++ b/application/src/Entity/Attribut/RecieverGroupAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Interfaces\RecieverGroupInterface; +use App\Entity\RecieverGroupInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/RecieverGroupAttributInterface.php b/application/src/Entity/Attribut/RecieverGroupAttributInterface.php index 83d7900..b555719 100644 --- a/application/src/Entity/Attribut/RecieverGroupAttributInterface.php +++ b/application/src/Entity/Attribut/RecieverGroupAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut\Interfaces; -use App\Entity\Interfaces\RecieverGroupInterface; +use App\Entity\RecieverGroupInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/RightAttribut.php b/application/src/Entity/Attribut/RightAttribut.php index ba9c505..564695b 100644 --- a/application/src/Entity/Attribut/RightAttribut.php +++ b/application/src/Entity/Attribut/RightAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Interfaces\RightInterface; +use App\Entity\RightInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/RightAttributInterface.php b/application/src/Entity/Attribut/RightAttributInterface.php index ad62dc2..29da8c1 100644 --- a/application/src/Entity/Attribut/RightAttributInterface.php +++ b/application/src/Entity/Attribut/RightAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut\Interfaces; -use App\Entity\Interfaces\RightInterface; +use App\Entity\RightInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/SourceAttribut.php b/application/src/Entity/Attribut/SourceAttribut.php index 436ac2d..5d6f5c7 100644 --- a/application/src/Entity/Attribut/SourceAttribut.php +++ b/application/src/Entity/Attribut/SourceAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Interfaces\SourceInterface; +use App\Entity\SourceInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/SourceAttributInterface.php b/application/src/Entity/Attribut/SourceAttributInterface.php index 9fdd960..e4d9c0c 100644 --- a/application/src/Entity/Attribut/SourceAttributInterface.php +++ b/application/src/Entity/Attribut/SourceAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut\Interfaces; -use App\Entity\Interfaces\SourceInterface; +use App\Entity\SourceInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/UserAttribut.php b/application/src/Entity/Attribut/UserAttribut.php index d17509a..35f4eec 100644 --- a/application/src/Entity/Attribut/UserAttribut.php +++ b/application/src/Entity/Attribut/UserAttribut.php @@ -3,7 +3,7 @@ namespace App\Entity\Attribut; use App\Entity\User; -use App\Entity\Interfaces\UserInterface; +use App\Entity\UserInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/UserAttributInterface.php b/application/src/Entity/Attribut/UserAttributInterface.php index 36cbf98..1e30410 100644 --- a/application/src/Entity/Attribut/UserAttributInterface.php +++ b/application/src/Entity/Attribut/UserAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut\Interfaces; -use App\Entity\Interfaces\UserInterface; +use App\Entity\UserInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/UserSourceAttribut.php b/application/src/Entity/Attribut/UserSourceAttribut.php index 8854da5..2c10908 100644 --- a/application/src/Entity/Attribut/UserSourceAttribut.php +++ b/application/src/Entity/Attribut/UserSourceAttribut.php @@ -2,7 +2,7 @@ namespace Entity\Attribut; -use App\Entity\Interfaces\UserSourceInterface; +use App\Entity\UserSourceInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/UserSourceAttributInterface.php b/application/src/Entity/Attribut/UserSourceAttributInterface.php index 0a27b64..3920326 100644 --- a/application/src/Entity/Attribut/UserSourceAttributInterface.php +++ b/application/src/Entity/Attribut/UserSourceAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut\Interfaces; -use App\Entity\Interfaces\UserSourceInterface; +use App\Entity\UserSourceInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Law.php b/application/src/Entity/Law.php index 4082a37..e4fb306 100644 --- a/application/src/Entity/Law.php +++ b/application/src/Entity/Law.php @@ -6,8 +6,8 @@ use Doctrine\ORM\Mapping as ORM; use App\Entity\Attribut\RightsAttribute; use Doctrine\Common\Collections\ArrayCollection; use App\Entity\Attribut\NodeAttribut; -use App\Entity\Interfaces\LawInterface; -use App\Entity\Interfaces\NodeInterface; +use App\Entity\LawInterface; +use App\Entity\NodeInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/LawInterface.php b/application/src/Entity/LawInterface.php index 8d10495..fd972b9 100644 --- a/application/src/Entity/LawInterface.php +++ b/application/src/Entity/LawInterface.php @@ -1,6 +1,6 @@