Commit dea99add authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Refactorisation : extraction d'un nouveau module 'Doctorant' à partir du module 'Application'

parent 6dd2815c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ $modules = [
    'Soutenance',
    'Notification',
    'Information',
    'Doctorant',
//    'StepStar',
    'Application',
];
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ concerné : le prédicat `isRoleDoctorantSelected` est testé en 1er, puis `isUt
Voici le PHP que ces 2 lignes généreraient dans la classe d'assertion :

 ```php
if ($privilege === \Application\Provider\Privilege\DoctorantPrivileges::DOCTORANT_AFFICHER_EMAIL_CONTACT) {
if ($privilege === \Doctorant\Provider\Privilege\DoctorantPrivileges::DOCTORANT_AFFICHER_EMAIL_CONTACT) {
        //--------------------------------------------------------------------------------------
            /* line 10 */
            $this->linesTrace[] = '/* line 10 */';
+1 −1
Original line number Diff line number Diff line
@@ -543,7 +543,7 @@ abstract class GeneratedTheseEntityAssertion
            return true;
        }

        if ($privilege === \Application\Provider\Privilege\DoctorantPrivileges::DOCTORANT_AFFICHER_EMAIL_CONTACT) {
        if ($privilege === \Doctorant\Provider\Privilege\DoctorantPrivileges::DOCTORANT_AFFICHER_EMAIL_CONTACT) {
        //--------------------------------------------------------------------------------------
            /* line 81 */
            $this->linesTrace[] = '/* line 81 */';
+0 −1
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@ use Application\Assertion\BaseAssertion;
use Application\Entity\Db\Role;
use Application\Entity\Db\These;
use Application\Entity\Db\WfEtape;
use Application\Provider\Privilege\DoctorantPrivileges;
use Application\Provider\Privilege\ThesePrivileges;
use Application\Provider\Privilege\ValidationPrivileges;
use Application\Service\UserContextService;
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
namespace Application\Assertion\These;

use Application\Assertion\ControllerAssertion;
use Application\Entity\Db\Doctorant;
use Doctorant\Entity\Db\Doctorant;
use Application\Entity\Db\These;
use Application\Service\UserContextServiceAwareTrait;
use UnicaenApp\Exception\RuntimeException;
Loading