diff --git a/UnicaenSynchro/Controller/SynchronisationConsoleController.php b/Controller/SynchronisationConsoleController.php similarity index 100% rename from UnicaenSynchro/Controller/SynchronisationConsoleController.php rename to Controller/SynchronisationConsoleController.php diff --git a/UnicaenSynchro/Controller/SynchronisationConsoleControllerFactory.php b/Controller/SynchronisationConsoleControllerFactory.php similarity index 100% rename from UnicaenSynchro/Controller/SynchronisationConsoleControllerFactory.php rename to Controller/SynchronisationConsoleControllerFactory.php diff --git a/UnicaenSynchro/Entity/Db/IsSynchronisableInterface.php b/Entity/Db/IsSynchronisableInterface.php similarity index 100% rename from UnicaenSynchro/Entity/Db/IsSynchronisableInterface.php rename to Entity/Db/IsSynchronisableInterface.php diff --git a/UnicaenSynchro/Entity/Db/IsSynchronisableTrait.php b/Entity/Db/IsSynchronisableTrait.php similarity index 100% rename from UnicaenSynchro/Entity/Db/IsSynchronisableTrait.php rename to Entity/Db/IsSynchronisableTrait.php diff --git a/UnicaenSynchro/Entity/Db/Mapping/placeholder.txt b/Entity/Db/Mapping/placeholder.txt similarity index 100% rename from UnicaenSynchro/Entity/Db/Mapping/placeholder.txt rename to Entity/Db/Mapping/placeholder.txt diff --git a/UnicaenSynchro/Module.php b/Module.php similarity index 100% rename from UnicaenSynchro/Module.php rename to Module.php diff --git a/UnicaenSynchro/Service/SqlHelper/SqlHelperService.php b/Service/SqlHelper/SqlHelperService.php similarity index 100% rename from UnicaenSynchro/Service/SqlHelper/SqlHelperService.php rename to Service/SqlHelper/SqlHelperService.php diff --git a/UnicaenSynchro/Service/SqlHelper/SqlHelperServiceAwareTrait.php b/Service/SqlHelper/SqlHelperServiceAwareTrait.php similarity index 100% rename from UnicaenSynchro/Service/SqlHelper/SqlHelperServiceAwareTrait.php rename to Service/SqlHelper/SqlHelperServiceAwareTrait.php diff --git a/UnicaenSynchro/Service/SqlHelper/SqlHelperServiceFactory.php b/Service/SqlHelper/SqlHelperServiceFactory.php similarity index 100% rename from UnicaenSynchro/Service/SqlHelper/SqlHelperServiceFactory.php rename to Service/SqlHelper/SqlHelperServiceFactory.php diff --git a/UnicaenSynchro/Service/Synchronisation/SynchronisationService.php b/Service/Synchronisation/SynchronisationService.php similarity index 100% rename from UnicaenSynchro/Service/Synchronisation/SynchronisationService.php rename to Service/Synchronisation/SynchronisationService.php diff --git a/UnicaenSynchro/Service/Synchronisation/SynchronisationServiceAwareTrait.php b/Service/Synchronisation/SynchronisationServiceAwareTrait.php similarity index 100% rename from UnicaenSynchro/Service/Synchronisation/SynchronisationServiceAwareTrait.php rename to Service/Synchronisation/SynchronisationServiceAwareTrait.php diff --git a/UnicaenSynchro/Service/Synchronisation/SynchronisationServiceFactory.php b/Service/Synchronisation/SynchronisationServiceFactory.php similarity index 100% rename from UnicaenSynchro/Service/Synchronisation/SynchronisationServiceFactory.php rename to Service/Synchronisation/SynchronisationServiceFactory.php diff --git a/composer.json b/composer.json index f601649962c93da098247f318613d4c3967f5c94..75e2f348f5301699f4be4c354b78cbd89bf3f0e9 100755 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "autoload": { "psr-0": [], "classmap": [ - "./UnicaenSynchro/Module.php" + "Module.php" ] } } diff --git a/config/merged/synchronisation.config.php b/config/merged/synchronisation.config.php index bb5c959e2917a0188d4c8adec39c30fe049a62a8..db31d52f3e7e4a46da9fcfbdb60092cab150d48e 100644 --- a/config/merged/synchronisation.config.php +++ b/config/merged/synchronisation.config.php @@ -3,11 +3,11 @@ namespace UnicaenSynchro; use Unicaen\Console\Router\Simple; +use UnicaenPrivilege\Guard\PrivilegeController; use UnicaenSynchro\Controller\SynchronisationConsoleController; use UnicaenSynchro\Controller\SynchronisationConsoleControllerFactory; use UnicaenSynchro\Service\Synchronisation\SynchronisationService; use UnicaenSynchro\Service\Synchronisation\SynchronisationServiceFactory; -use UnicaenPrivilege\Guard\PrivilegeController; return [ 'bjyauthorize' => [