Commit a3e7e17c authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction pour compatiblité php 8.3

parent 98ae979b
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for INSTALL.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ Dépendances requises :
* git
* wget
* Apache 2 avec le module de réécriture d'URL (*rewrite*) activé
* PHP 8.2 avec les modules suivants :
* PHP 8.3 avec les modules suivants :
    * cli
    * curl
    * intl
+15 −12
Changes for composer.json: 15 added lines, 12 removed lines.
Original line number Diff line number Diff line
{
    "name"             : "unicaen/ose",
    "version"          : "24.18",
    "version"          : "24.20",
    "description"      : "Organisation des Services d'Enseignement (OSE)",
    "repositories"     : [
        {
@@ -9,7 +9,7 @@
        }
    ],
    "require"          : {
        "php"                              : ">=8.2",
        "php"                              : "^8.3",
        "laminas/laminas-cli"              : "1.11.0",
        "symfony/process"                  : "7.2.0",

@@ -21,18 +21,18 @@
        "datatables.net/datatables.net-bs5": "2.1.8",
        "vakata/jstree"                    : "3.3.17",

        "unicaen/app"                      : "7.1.0",
        "unicaen/authentification"         : "6.4.3",
        "unicaen/privilege"                : "6.2.1",
        "unicaen/utilisateur"              : "7.0.2",
        "unicaen/code"                     : "6.4.0",
        "unicaen/import"                   : "6.0.6",
        "unicaen/tbl"                      : "6.2.5",
        "unicaen/app"                      : "8.0.0",
        "unicaen/authentification"         : "8.0.3",
        "unicaen/privilege"                : "7.1.0",
        "unicaen/utilisateur"              : "8.1.0",
        "unicaen/code"                     : "6.6.0",
        "unicaen/import"                   : "6.1.0",
        "unicaen/tbl"                      : "6.3.0",
        "unicaen/open-document"            : "6.1.3",
        "unicaen/siham"                    : "6.2.0",
        "unicaen/mail"                     : "7.2.8",
        "unicaen/mail"                     : "7.6.2",
        "unicaen/vue"                      : "6.4.1",
        "unicaen/bddadmin"                 : "1.5.0",
        "unicaen/bddadmin"                 : "1.7.0",
        "unicaen/signature"                : "2.0.0",
        "connecteur-ose/actul"             : "dev-master",
        "connecteur-ose/pegase"            : "^1.0.0"
@@ -71,6 +71,9 @@
    },
    "prefer-stable"    : true,
    "config"           : {
        "platform"     : {
            "php": "8.3"
        },
        "allow-plugins": {
            "laminas/laminas-dependency-plugin"             : true,
            "composer/package-versions-deprecated"          : true,
@@ -79,7 +82,7 @@
        }
    },
    "scripts"          : {
        "sniffer:php8"        : "./vendor/bin/phpcs -p ./module --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.0",
        "sniffer:php83"       : "./vendor/bin/phpcs -p ./module --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.3",
        "phpcs"               : "./vendor/bin/phpcs -p ./module --standard=PSR12",
        "update-public-vendor": [
            "rm -rf public/vendor",
+2 −2
Changes for docker/php/Dockerfile: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
FROM php:8.2-fpm-alpine
FROM php:8.3-fpm-alpine

ARG TZ
ARG APP_ENV
@@ -16,7 +16,7 @@ ENV PATH="/opt/unoconvert/bin:${PATH}"

# Met à jour la liste des paquets
RUN apk update
#Nécessaire depuis nouvelle version php:8.2-fpm-alpine
#Nécessaire depuis php:8.2-fpm-alpine
RUN apk add --no-cache \
    autoconf \
    automake \
+1 −1
Changes for module/Agrement/src/Assertion/AgrementAssertion.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ class AgrementAssertion extends AbstractAssertion



    protected function assertEntity(ResourceInterface $entity = null, $privilege = null)
    protected function assertEntity(?ResourceInterface $entity = null, $privilege = null)
    {
        $role = $this->getRole();

+3 −3
Changes for module/Agrement/src/Entity/Db/Agrement.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ class Agrement implements HistoriqueAwareInterface, ResourceInterface
     *
     * @return Agrement
     */
    public function setType(\Agrement\Entity\Db\TypeAgrement $type = null)
    public function setType(?\Agrement\Entity\Db\TypeAgrement $type = null)
    {
        $this->type = $type;

@@ -149,7 +149,7 @@ class Agrement implements HistoriqueAwareInterface, ResourceInterface
     *
     * @return Agrement
     */
    public function setIntervenant(\Intervenant\Entity\Db\Intervenant $intervenant = null)
    public function setIntervenant(?\Intervenant\Entity\Db\Intervenant $intervenant = null)
    {
        $this->intervenant = $intervenant;

@@ -177,7 +177,7 @@ class Agrement implements HistoriqueAwareInterface, ResourceInterface
     *
     * @return Intervenant
     */
    public function setStructure(\Lieu\Entity\Db\Structure $structure = null)
    public function setStructure(?\Lieu\Entity\Db\Structure $structure = null)
    {
        $this->structure = $structure;

Loading