Loading CHANGELOG.md +3 −0 Changes for CHANGELOG.md: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Journal des modifications ========================= 8.0.0 (02/12/2025) ------------------ - Compatibilité PHP 8.4 7.0.0 (02/12/2025) ------------------ Loading src/UnicaenPrivilege/Assertion/AbstractAssertion.php +4 −4 Changes for src/UnicaenPrivilege/Assertion/AbstractAssertion.php: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ abstract class AbstractAssertion implements AssertionInterface * * @return bool */ public final function assert(Acl $acl, RoleInterface $role = null, ResourceInterface $resource = null, $privilege = null) public final function assert(Acl $acl, ?RoleInterface $role = null, ?ResourceInterface $resource = null, $privilege = null) { $this->setAcl($acl); $this->setRole($role); Loading Loading @@ -141,7 +141,7 @@ abstract class AbstractAssertion implements AssertionInterface * * @return AbstractAssertion */ public function setAcl(Acl $acl = null) public function setAcl(?Acl $acl = null) { $this->acl = $acl; Loading Loading @@ -172,7 +172,7 @@ abstract class AbstractAssertion implements AssertionInterface * * @return AbstractAssertion */ public function setRole(RoleInterface $role = null) public function setRole(?RoleInterface $role = null) { $this->role = $role; Loading Loading @@ -279,7 +279,7 @@ abstract class AbstractAssertion implements AssertionInterface * * @return boolean */ protected function assertOther(ResourceInterface $resource = null, $privilege = null) protected function assertOther(?ResourceInterface $resource = null, $privilege = null) { return true; } Loading src/UnicaenPrivilege/Assertion/AssertionFactory.php +1 −1 Changes for src/UnicaenPrivilege/Assertion/AssertionFactory.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ class AssertionFactory implements FactoryInterface * * @return UserContext */ public function __invoke(ContainerInterface $container, $requestedName, array $options = null) public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null) { /* @var $application Application */ $application = $container->get('Application'); Loading src/UnicaenPrivilege/Assertion/Perimetre/AbstractPerimetreAssertionFactory.php +1 −1 Changes for src/UnicaenPrivilege/Assertion/Perimetre/AbstractPerimetreAssertionFactory.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ class AbstractPerimetreAssertionFactory implements AbstractFactoryInterface return $this->isPerimetreAssertionRequested($requestedName, $perimetreConfig); } public function __invoke(ContainerInterface $container, $requestedName, array $options = null) public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null) { $config = $container->get('Config'); $perimetreConfig = $config['unicaen-perimetre']; Loading src/UnicaenPrivilege/Controller/PerimetreCategorieControllerFactory.php +1 −1 Changes for src/UnicaenPrivilege/Controller/PerimetreCategorieControllerFactory.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class PerimetreCategorieControllerFactory * @param array|null $options * @return PerimetreCategorieController|object */ public function __invoke(ContainerInterface $container, $requestedName, array $options = null) public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null) { /** * @var PerimetreCategorieService $categorieService Loading Loading
CHANGELOG.md +3 −0 Changes for CHANGELOG.md: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Journal des modifications ========================= 8.0.0 (02/12/2025) ------------------ - Compatibilité PHP 8.4 7.0.0 (02/12/2025) ------------------ Loading
src/UnicaenPrivilege/Assertion/AbstractAssertion.php +4 −4 Changes for src/UnicaenPrivilege/Assertion/AbstractAssertion.php: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ abstract class AbstractAssertion implements AssertionInterface * * @return bool */ public final function assert(Acl $acl, RoleInterface $role = null, ResourceInterface $resource = null, $privilege = null) public final function assert(Acl $acl, ?RoleInterface $role = null, ?ResourceInterface $resource = null, $privilege = null) { $this->setAcl($acl); $this->setRole($role); Loading Loading @@ -141,7 +141,7 @@ abstract class AbstractAssertion implements AssertionInterface * * @return AbstractAssertion */ public function setAcl(Acl $acl = null) public function setAcl(?Acl $acl = null) { $this->acl = $acl; Loading Loading @@ -172,7 +172,7 @@ abstract class AbstractAssertion implements AssertionInterface * * @return AbstractAssertion */ public function setRole(RoleInterface $role = null) public function setRole(?RoleInterface $role = null) { $this->role = $role; Loading Loading @@ -279,7 +279,7 @@ abstract class AbstractAssertion implements AssertionInterface * * @return boolean */ protected function assertOther(ResourceInterface $resource = null, $privilege = null) protected function assertOther(?ResourceInterface $resource = null, $privilege = null) { return true; } Loading
src/UnicaenPrivilege/Assertion/AssertionFactory.php +1 −1 Changes for src/UnicaenPrivilege/Assertion/AssertionFactory.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ class AssertionFactory implements FactoryInterface * * @return UserContext */ public function __invoke(ContainerInterface $container, $requestedName, array $options = null) public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null) { /* @var $application Application */ $application = $container->get('Application'); Loading
src/UnicaenPrivilege/Assertion/Perimetre/AbstractPerimetreAssertionFactory.php +1 −1 Changes for src/UnicaenPrivilege/Assertion/Perimetre/AbstractPerimetreAssertionFactory.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ class AbstractPerimetreAssertionFactory implements AbstractFactoryInterface return $this->isPerimetreAssertionRequested($requestedName, $perimetreConfig); } public function __invoke(ContainerInterface $container, $requestedName, array $options = null) public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null) { $config = $container->get('Config'); $perimetreConfig = $config['unicaen-perimetre']; Loading
src/UnicaenPrivilege/Controller/PerimetreCategorieControllerFactory.php +1 −1 Changes for src/UnicaenPrivilege/Controller/PerimetreCategorieControllerFactory.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class PerimetreCategorieControllerFactory * @param array|null $options * @return PerimetreCategorieController|object */ public function __invoke(ContainerInterface $container, $requestedName, array $options = null) public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null) { /** * @var PerimetreCategorieService $categorieService Loading