Skip to content

Commit d724e18

Browse files
committed
Suppression du framework legacy
diff --git c/app/config/routing/admin.yml i/app/config/routing/admin.yml index d52a8b7ce..7e5ed08d7 100644 --- c/app/config/routing/admin.yml +++ i/app/config/routing/admin.yml @@ -6,10 +6,6 @@ admin_relances: path: /association/relances/{page} defaults: {_controller: AppBundle\Controller\Admin\Membership\ReminderLogAction} -admin_void: - path: /void - defaults: {_controller: AppBundle\Controller\LegacyController::backOffice} - admin_members: resource: "admin_members.yml" prefix: /members diff --git c/app/config/services.yml i/app/config/services.yml index d583e6735..a2d3db448 100644 --- c/app/config/services.yml +++ i/app/config/services.yml @@ -75,13 +75,6 @@ services: ### Pages legacy - FIN - AppBundle\Controller\LegacyController: - autowire: true - autoconfigure: true - public: false - arguments: - $backOfficePages: '%app.pages_backoffice%' - AppBundle\Payment\PayboxFactory: autowire: true arguments: ["@router", "%paybox_domain_server%", "%paybox_secret_key%", "%paybox_site%", "%paybox_rang%", "%paybox_identifiant%"] diff --git c/composer.json i/composer.json index 83ca4454f..8ac2498cc 100644 --- c/composer.json +++ i/composer.json @@ -43,7 +43,6 @@ "robmorgan/phinx": "0.16.*", "sabre/vobject": "^4.6", "setasign/tfpdf": "^1.33", - "smarty/smarty": "^5.8", "symfony/asset": "7.4.*", "symfony/asset-mapper": "7.4.*", "symfony/clock": "7.4.*", @@ -73,9 +72,7 @@ "twig/intl-extra": "^3.26", "twig/string-extra": "^3.24", "twig/twig": "^3.27", - "webmozart/assert": "^2.4", - "znk3r/html_common": "*", - "znk3r/html_quickform": "4.0.2" + "webmozart/assert": "^2.4" }, "scripts": { "post-install-cmd": [ @@ -104,10 +101,6 @@ "patches": { "setasign/tfpdf": [ "patches/setasign-tfpdf-tfpdf-php.patch" - ], - "znk3r/html_quickform": [ - "patches/znk3r-html-quickform-html-quickform-date-php.patch", - "patches/znk3r-html-quickform-html-quickform-php.patch" ] }, "symfony-app-dir": "app", @@ -176,38 +169,6 @@ "tomasvotruba/type-coverage": "^2.2" }, "repositories": [ - { - "type": "package", - "package": { - "name": "znk3r/html_quickform", - "version": "4.0.2", - "dist": { - "url": "https://github.com/macintoshplus/HTML_QuickForm/archive/v4.0.2.zip", - "type": "zip" - }, - "autoload": { - "classmap": [ - "HTML/" - ] - } - } - }, - { - "type": "package", - "package": { - "name": "znk3r/html_common", - "version": "v2.0.1", - "dist": { - "url": "https://github.com/znk3r/HTML_Common/archive/v2.0.1.zip", - "type": "zip" - }, - "autoload": { - "classmap": [ - "HTML/" - ] - } - } - }, { "type": "package", "package": { diff --git c/composer.lock i/composer.lock index aa336a75b..22afdb6b2 100644 --- c/composer.lock +++ i/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "59e380a093941853e321ac2c73ba793f", + "content-hash": "47b9656d4e2c1fbc2db900e2b46aab2d", "packages": [ { "name": "algolia/algoliasearch-client-php", @@ -5538,82 +5538,6 @@ }, "time": "2022-12-20T10:26:07+00:00" }, - { - "name": "smarty/smarty", - "version": "v5.8.0", - "source": { - "type": "git", - "url": "https://github.com/smarty-php/smarty.git", - "reference": "78d259d3b971c59a0cd719c270cc5cbb740c36a7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/smarty-php/smarty/zipball/78d259d3b971c59a0cd719c270cc5cbb740c36a7", - "reference": "78d259d3b971c59a0cd719c270cc5cbb740c36a7", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0", - "symfony/polyfill-mbstring": "^1.27" - }, - "require-dev": { - "phpunit/phpunit": "^8.5 || ^7.5", - "smarty/smarty-lexer": "^4.0.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0.x-dev" - } - }, - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "Smarty\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0" - ], - "authors": [ - { - "name": "Monte Ohrt", - "email": "monte@ohrt.com" - }, - { - "name": "Uwe Tews", - "email": "uwe.tews@googlemail.com" - }, - { - "name": "Rodney Rehm", - "email": "rodney.rehm@medialize.de" - }, - { - "name": "Simon Wisselink", - "homepage": "https://www.iwink.nl/" - } - ], - "description": "Smarty - the compiling PHP template engine", - "homepage": "https://smarty-php.github.io/smarty/", - "keywords": [ - "templating" - ], - "support": { - "forum": "https://github.com/smarty-php/smarty/discussions", - "issues": "https://github.com/smarty-php/smarty/issues", - "source": "https://github.com/smarty-php/smarty/tree/v5.8.0" - }, - "funding": [ - { - "url": "https://github.com/wisskid", - "type": "github" - } - ], - "time": "2026-02-15T14:27:15+00:00" - }, { "name": "symfony/asset", "version": "v7.4.8", @@ -11069,34 +10993,6 @@ "source": "https://github.com/geocoder-php/php-common/tree/5.0.0" }, "time": "2025-01-01T15:52:42+00:00" - }, - { - "name": "znk3r/html_common", - "version": "v2.0.1", - "dist": { - "type": "zip", - "url": "https://github.com/znk3r/HTML_Common/archive/v2.0.1.zip" - }, - "type": "library", - "autoload": { - "classmap": [ - "HTML/" - ] - } - }, - { - "name": "znk3r/html_quickform", - "version": "4.0.2", - "dist": { - "type": "zip", - "url": "https://github.com/macintoshplus/HTML_QuickForm/archive/v4.0.2.zip" - }, - "type": "library", - "autoload": { - "classmap": [ - "HTML/" - ] - } } ], "packages-dev": [ diff --git c/htdocs/pages/administration/index.php i/htdocs/pages/administration/index.php deleted file mode 100644 index a687583ba..000000000 --- c/htdocs/pages/administration/index.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php - -declare(strict_types=1); - -use Afup\Site\Utils\SymfonyKernel; -use Symfony\Component\HttpFoundation\Request; - -require_once __DIR__ . '/../../../sources/Afup/Bootstrap/Http.php'; -/* - * Define LOADED_USING_INDEX to true - * See compta_journal.php first lines as example for security check. - */ -define('PAGE_LOADED_USING_INDEX', true); - -/** - * Dans le cadre de la migration progressive on veut pouvoir faire traiter des pages legacy par symfony. - * Pour cela on fait traiter également la requete par symfony. Pour que cela fonctionne, on ne peut pas appeller - * la méthode habituelle Request::createFromGlobals puis la faire traiter par le kernel, sinon on déclenche une 404 - * (en effet la home du site, par exemple, est une route inconnue pour symfony). - * Pour éviter cela, on crée une requete vers la route "/association/void-route" qui nous permet simplement d'effectuer - * le rendu twig. - * Pourquoi ne pas directement appeler le rendu twig ? Et bien car certaines variables globales dans twig ne sont - * définies par symfony qye dans le contexte d'une requete. Par exemple app.session est défini lors d'une requete. - * Le template exploitant les sessions (pour afficher des flashbags) on ne peut se permettre de simplement appeler twig. - * On est alors obligés de passer par le kernel et par la requete appelant une route bidon. - */ -$server = $_SERVER; -if ('cli-server' === PHP_SAPI) { - if (array_key_exists('HTTP_CONTENT_LENGTH', $_SERVER)) { - $server['CONTENT_LENGTH'] = $_SERVER['HTTP_CONTENT_LENGTH']; - } - if (array_key_exists('HTTP_CONTENT_TYPE', $_SERVER)) { - $server['CONTENT_TYPE'] = $_SERVER['HTTP_CONTENT_TYPE']; - } -} -$server['REQUEST_URI'] = '/admin/void'; -$server['LEGACY_REFERER'] = $_SERVER['REQUEST_URI']; - -$request = new Request($_GET, $_POST, [], $_COOKIE, $_FILES, $server); - -$kernel = new SymfonyKernel($request); - -$response = $kernel->getResponse(); -$response->send(); - -$kernel->getKernel()->terminate($request, $response); diff --git c/htdocs/pages/administration/message.php i/htdocs/pages/administration/message.php deleted file mode 100644 index 6b61296b4..000000000 --- c/htdocs/pages/administration/message.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php - -declare(strict_types=1); - -use AppBundle\Controller\LegacyController; - -// Impossible to access the file itself -/** @var LegacyController $this */ -if (!defined('PAGE_LOADED_USING_INDEX')) { - trigger_error("Direct access forbidden.", E_USER_ERROR); - exit; -} - - // On supprime ce qui a déjà été écrit dans le buffer de sortie - // car on va afficher une page "indépendente" - ob_clean(); - - // On affiche la page du message - $smarty->assign('message', stripslashes((string) $_GET['message'])); - $smarty->assign('url' , $_GET['url']); - $smarty->assign('erreur' , $_GET['erreur']); - $smarty->display('message.html'); - - // On s'arrête là pour ne pas afficher le pied de page - exit; diff --git c/htdocs/templates/administration/entete.html i/htdocs/templates/administration/entete.html deleted file mode 100644 index d90b1e45b..000000000 --- c/htdocs/templates/administration/entete.html +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"> - <head> - {include file="head.html"} - </head> - - <body id="{$id_page}"> - <div id="header"> - <h1> - <img src="{$chemin_template}images/logo_afup.png" /> - Administration − {$titre_page|escape} - </h1> - </div> - - <div class="colmask leftmenu"> - <div class="colleft"> - <div class="col1"> diff --git c/htdocs/templates/administration/head.html i/htdocs/templates/administration/head.html deleted file mode 100644 index 0d071506d..000000000 --- c/htdocs/templates/administration/head.html +++ /dev/null @@ -1,16 +0,0 @@ - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <meta name="MSSmartTagsPreventParsing" content="TRUE" /> - <title>{$titre_page} - Administration AFUP</title> - - <!-- Dropzone --> - <!--<link rel="stylesheet" type="text/css" href="{$chemin_javascript}dropzone/basic.min.css" media="screen" />--> - <!--<link rel="stylesheet" type="text/css" href="{$chemin_javascript}dropzone/dropzone.min.css" media="screen" />--> - - <!-- CSS --> - <link rel="stylesheet" type="text/css" href="{$chemin_template}style.css?v=3" title="AFUP" media="screen" /> - <link rel="stylesheet" type="text/css" href="{$chemin_template}style_print.css" title="AFUP" media="print" /> - <link rel="stylesheet" type="text/css" href="{$chemin_template}medias/css/glyphicons.css" media="screen" /> - - <!-- JS --> - <script type="text/javascript" src="{$chemin_javascript}fonctions.js"></script> - <script type="text/javascript" src="{$chemin_javascript}jquery-1.4.4.min.js"></script> diff --git c/htdocs/templates/administration/message.html i/htdocs/templates/administration/message.html deleted file mode 100644 index 2a867bae4..000000000 --- c/htdocs/templates/administration/message.html +++ /dev/null @@ -1,14 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"> - <head> - <meta http-equiv="refresh" content="2;url={$url|replace:'&':'&amp;'}" /> - {include file="head.html"} - </head> - - <body id="message"> - <div id="contenu"> - <p{if $erreur} class="erreur"{/if}><strong>{$message|escape|nl2br}</strong></p> - <p><a href="{$url|replace:'&':'&amp;'}">Poursuivre</a></p> - </div> - </body> -</html> \ No newline at end of file diff --git c/htdocs/templates/administration/pagination.html i/htdocs/templates/administration/pagination.html deleted file mode 100644 index ddf0221cb..000000000 --- c/htdocs/templates/administration/pagination.html +++ /dev/null @@ -1,20 +0,0 @@ -<div class="ui center aligned clearing segment"> - - {if ($numero_page < $nombre_pages)} - <div class="ui right floated segment"> - <a href="{$url}&amp;numero_page={math equation="x + 1" x=$numero_page}" class="ui right labeled icon button"> - <i class="right chevron icon"></i> - Page suivante - </a> - </div> - {/if} - {$numero_page}/{$nombre_pages} - {if $numero_page > 1} - <div class="ui left floated segment"> - <a href="{$url}&amp;numero_page={math equation="x - 1" x=$numero_page}" class="ui labeled icon button"> - <i class="left chevron icon"></i> - Page précédente - </a> - </div> - {/if} -</div> diff --git c/htdocs/templates/administration/pied_de_page.html i/htdocs/templates/administration/pied_de_page.html deleted file mode 100644 index 99f719cb5..000000000 --- c/htdocs/templates/administration/pied_de_page.html +++ /dev/null @@ -1,55 +0,0 @@ - </div> - <div class="col2"> - <ul id="menu"> - {foreach from=$pages key=clef item=page} - {if $page.elements} - <li> - {$page.nom} - <ul> - {foreach from=$page.elements key=clef2 item=element} - <li> - <a href="index.php?page={$clef2}" {if $element.nouvelle_fenetre}target="_blank"{/if}>{$element.nom}{if $element.nouvelle_fenetre} <i class="glyphicon glyphicon-new-window"></i>{/if}</a> - </li> - {/foreach} - </ul> - </li> - {else} - {if !$page.masquee} - <li> - <a href="index.php?page={$clef}">{$page.nom}</a> - </li> - {/if} - {/if} - {/foreach} - </ul> - </div> - </div> - </div> - - <div id="footer"> - &copy; AFUP | Icônes <a href="http://www.famfamfam.com/lab/icons/silk/">FamFamFam</a> - </div> - - {if $flash_message} - <div class="notify {if $flash_erreur}error{else}success{/if}"> - <p><img src="{$chemin_template}images/{if $flash_erreur}error{else}success{/if}.png" />{$flash_message|escape|nl2br}</p> - </div> - - {literal} - <script type="text/javascript"> - $(document).ready(function(){ - $(".notify").delay(300).fadeIn(400).delay(5500).fadeOut(400); - $(".notify").hover(function(){ - $(this).stop(true,true).fadeIn(); - },function(){ - $(this).stop(true,true).delay(500).fadeIn(400).delay(5500).fadeOut(400); - }); - }); - </script> - {/literal} - {/if} - - <!-- Dropzone --> - <script type="text/javascript" src="{$chemin_javascript}dropzone/dropzone.min.js"></script> - </body> -</html> diff --git c/htdocs/templates/commun/formulaire-en.html i/htdocs/templates/commun/formulaire-en.html deleted file mode 100644 index 9a18c8783..000000000 --- c/htdocs/templates/commun/formulaire-en.html +++ /dev/null @@ -1,55 +0,0 @@ -<form{$formulaire.attributes} onsubmit="return soumettreUneSeuleFois(this);"> -{$formulaire.hidden} - {if isset($erreur)} - <p class="erreur">{$erreur}</p> - {/if} - - {foreach from=$formulaire.sections item=section} - <fieldset{if $section.name == 'boutons'} class="boutons"{/if}> - {if $section.header}<legend>{$section.header}</legend>{/if} - - {foreach from=$section.elements item=element} - <div class="rangee"> - {if $element.type == 'submit'} - {$element.html} - {elseif $element.type == 'static' && ($element.name == 'html')} - <p class="html">{$element.html|nl2br}</p> - {elseif $element.type == 'static' && ($element.name == 'note')} - <p class="note">{$element.html|nl2br}</p> - {elseif $element.type == 'static' && ($element.name == 'raccourci')} - <p class="raccourci">{$element.html|nl2br}</p> - {elseif $element.type == 'group'} - {if $element.label != ''} - <label class="libelle"> - {if $element.required}<span class="obligatoire">*</span>{/if} - {$element.label} - </label> - {/if} - <span class="element"> - {foreach from=$element.elements item=element_groupe name=groupe} - {$element_groupe.html} - {if !$smarty.foreach.groupe.last}{$element.separator}{/if} - {/foreach} - {if $element.error}<br /><p class="erreur">{$element.error}</p>{/if} - </span> - {else} - {if $element.label != ''} - <label class="libelle"> - {if $element.required}<span class="obligatoire">*</span>{/if} - {$element.label} - </label> - {/if} - <span class="element"> - {$element.html} - {if $element.error}<br /><p class="erreur">{$element.error}</p>{/if} - </span> - {/if} - </div> - {/foreach} - - <!-- Vilain hack pour Opera --> - <div style="clear: both">&nbsp;</div> - </fieldset> - {/foreach} - <p><span class="obligatoire">*</span> required field</p> -</form> diff --git c/htdocs/templates/commun/formulaire.html i/htdocs/templates/commun/formulaire.html deleted file mode 100644 index 37adaf057..000000000 --- c/htdocs/templates/commun/formulaire.html +++ /dev/null @@ -1,105 +0,0 @@ -{assign var='auMoinsUnChampsRequis' value=false} -<form{$formulaire.attributes} onsubmit="return soumettreUneSeuleFois(this);"> -{$formulaire.hidden} - {if isset($erreur)} - <p class="erreur">{$erreur}</p> - {/if} - - {foreach from=$formulaire.sections key=num item=section} - - <div class="ui segment"> - {if $section.header} - <h2 class="ui header">{$section.header}</h2> - <div class="ui clearing divider"></div> - {/if} - - {foreach from=$section.elements item=element} - {if $element.required}{assign var='auMoinsUnChampsRequis' value=true}{/if} - <div class="ui form"> - - {if $element.error} - <div class="ui grid"> - <div class="three wide column"> - </div> - <div class="nine wide column"> - <div class="ui negative message"> - {$element.error} - </div> - </div> - </div> - {/if} - - <div class="inline fields ui grid"> - {if $element.type == 'submit'} - <label class="three wide column"> - </label> - <div class="seven wide column"> - {$element.html} - </div> - {elseif $element.type == 'static' && ($element.name == 'html')} - <p class="html">{$element.html|nl2br}</p> - {elseif $element.type == 'static' && ($element.name == 'note')} - <label class="three wide column"> - </label> - <div class="field seven wide column"> - {$element.html|nl2br} - </div> - {elseif $element.type == 'static' && ($element.name == 'info')} - <label class="three wide column"> - {$element.label} - </label> - <div class="field seven wide column"> - {$element.html} - </div> - {elseif $element.type == 'static' && ($element.name == 'label')} - <label class="ten wide column"> - {$element.html} - </label> - {elseif $element.type == 'static' && ($element.name == 'raccourci')} - <p class="raccourci">{$element.html|nl2br}</p> - {elseif $element.type == 'group'} - {if $element.label != ''} - <label class="three wide column right aligned"> - {if $element.required}<span class="obligatoire">*</span>{/if} - {$element.label} - </label> - {/if} - <div class="field"> - {foreach from=$element.elements item=element_groupe name=groupe} - <div class="ui radio checkbox"> - {$element_groupe.html} - </div> - {if !$smarty.foreach.groupe.last}{$element.separator}{/if} - {/foreach} - </div> - {elseif $element.type == 'text' or $element.type == 'select' or $element.type == 'textarea' - or $element.type == 'password' or $element.type == 'checkbox' or $element.type == 'file' - or $element.type == 'date' - } - <label class="three wide column right aligned"> - {if $element.label != ''} - {$element.label}{if $element.required}<span class="obligatoire">*</span>{/if} - {/if} - </label> - <div class="field nine wide column"> - <div class="ui {if $element.type == 'checkbox'}checkbox{else}input{/if}"> - {if $element.type == 'textarea'}<div style="width: 100%">{/if} - {$element.html} - {if $element.type == 'textarea'}</div>{/if} - </div> - </div> - {else} - Type de champ {$element.type} {if $element.name }({$element.name}){/if} non géré. - {/if} - </div> - </div> - {/foreach} - - </div> - {/foreach} - {if $auMoinsUnChampsRequis} - <div class="ui segment"> - <p><span class="obligatoire">*</span> indique un champ obligatoire</p> - </div> - {/if} -</form> diff --git c/patches/znk3r-html-quickform-html-quickform-date-php.patch i/patches/znk3r-html-quickform-html-quickform-date-php.patch deleted file mode 100644 index 6a35addd5..000000000 --- c/patches/znk3r-html-quickform-html-quickform-date-php.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- /dev/null -+++ ../HTML/QuickForm/date.php -@@ -317,7 +317,7 @@ - $locale = $this->_locale[$this->_options['language']]; - $backslash = false; - for ($i = 0, $length = strlen($this->_options['format']); $i < $length; $i++) { -- $sign = $this->_options['format']{$i}; -+ $sign = $this->_options['format'][$i]; - if ($backslash) { - $backslash = false; - $separator .= $sign; diff --git c/patches/znk3r-html-quickform-html-quickform-php.patch i/patches/znk3r-html-quickform-html-quickform-php.patch deleted file mode 100644 index 0e37fd97e..000000000 --- c/patches/znk3r-html-quickform-html-quickform-php.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- /dev/null -+++ ../HTML/QuickForm.php -@@ -281,7 +281,7 @@ - $attributes = array('action'=>$action, 'method'=>$method, 'name'=>$formName, 'id'=>$formName) + $target; - $this->updateAttributes($attributes); - if (!$trackSubmit || isset($_REQUEST['_qf__' . $formName])) { -- if (1 == get_magic_quotes_gpc()) { -+ if (function_exists('get_magic_quotes_gpc') && 1 == get_magic_quotes_gpc()) { - $this->_submitValues = $this->_recursiveFilter('stripslashes', 'get' == $method? $_GET: $_POST); - foreach ($_FILES as $keyFirst => $valFirst) { - foreach ($valFirst as $keySecond => $valSecond) { diff --git c/phpstan-baseline.php i/phpstan-baseline.php index 0f31c6fc4..09b75c962 100644 --- c/phpstan-baseline.php +++ i/phpstan-baseline.php @@ -1,54 +1,6 @@ <?php declare(strict_types = 1); $ignoreErrors = []; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between \'https\\://\' and mixed results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Bootstrap/Http.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot cast mixed to string\\.$#', - 'identifier' => 'cast.string', - 'count' => 5, - 'path' => __DIR__ . '/sources/Afup/Bootstrap/Http.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Bootstrap/Http.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot call method batchLoadMetadata\\(\\) on mixed\\.$#', - 'identifier' => 'method.nonObject', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Bootstrap/commonStart.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot call method obtenir\\(\\) on mixed\\.$#', - 'identifier' => 'method.nonObject', - 'count' => 4, - 'path' => __DIR__ . '/sources/Afup/Bootstrap/commonStart.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot call method register_modifier\\(\\) on mixed\\.$#', - 'identifier' => 'method.nonObject', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Bootstrap/commonStart.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot call method setConfig\\(\\) on mixed\\.$#', - 'identifier' => 'method.nonObject', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Bootstrap/commonStart.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$locale of class Symfony\\\\Component\\\\Translation\\\\Translator constructor expects string, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Bootstrap/commonStart.php', -]; $ignoreErrors[] = [ 'message' => '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#', 'identifier' => 'foreach.nonIterable', @@ -145,942 +97,12 @@ $ignoreErrors[] = [ 'count' => 1, 'path' => __DIR__ . '/sources/Afup/Corporate/Page.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$host of method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:__construct\\(\\) expects string, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Corporate/_Site_Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$database of method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:__construct\\(\\) expects string, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Corporate/_Site_Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#3 \\$user of method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:__construct\\(\\) expects string, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Corporate/_Site_Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#4 \\$password of method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:__construct\\(\\) expects string, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Corporate/_Site_Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'elements\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Droits.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'niveau\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 2, - 'path' => __DIR__ . '/sources/Afup/Droits.php', -]; $ignoreErrors[] = [ 'message' => '#^Cannot call method getUser\\(\\) on Symfony\\\\Component\\\\Security\\\\Core\\\\Authentication\\\\Token\\\\TokenInterface\\|null\\.$#', 'identifier' => 'method.nonObject', 'count' => 2, 'path' => __DIR__ . '/sources/Afup/Droits.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Droits\\:\\:chargerToutesLesPages\\(\\) has parameter \\$pages with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Droits.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Property Afup\\\\Site\\\\Droits\\:\\:\\$_pages type has no value type specified in iterable type array\\.$#', - 'identifier' => 'missingType.iterableValue', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Droits.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#', - 'identifier' => 'foreach.nonIterable', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between \' / \' and mixed results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between \' \\<span class\\=…\' and mixed results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between \'l\\.id_forum \\= \' and mixed results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between mixed and \' \\: \' results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between mixed and \'\\-\' results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 7, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between non\\-falsy\\-string and mixed results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 8, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'conf1\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'conf2\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'debut\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 7, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'fin\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 7, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'id_salle\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 3, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'jour\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 2, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'keynote\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'nom\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 4, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'session_id\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset \'titre\' on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset int\\<0, max\\> on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 6, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot cast mixed to int\\.$#', - 'identifier' => 'cast.int', - 'count' => 5, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$accomodationEnabled with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$chemin_template with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$date_annonce_planning with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$date_debut with no value type specified in iterable type array\\.$#', - 'identifier' => 'missingType.iterableValue', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$date_fin with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$date_fin_appel_conferencier with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$date_fin_appel_projet with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$date_fin_prevente with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$date_fin_saisie_nuites_hotel with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$date_fin_saisie_repas_speakers with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$date_fin_vente with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$date_fin_vente_token_sponsor with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$date_fin_vote with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$hasPricesDefinedWithVat with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$logoUrl with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$nb_places with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$placeAddress with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$placeName with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$speakersDinerEnabled with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$text with no value type specified in iterable type array\\.$#', - 'identifier' => 'missingType.iterableValue', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$titre with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$transportInformationEnabled with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$voteEnabled with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:ajouter\\(\\) has parameter \\$waitingListUrl with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:genAgenda\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:genAgenda\\(\\) has parameter \\$annee with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:genAgenda\\(\\) has parameter \\$for_bo with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:genAgenda\\(\\) has parameter \\$forum_id with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:genAgenda\\(\\) has parameter \\$linkFormat with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:genAgenda\\(\\) has parameter \\$only_data with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$accomodationEnabled with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$chemin_template with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$date_annonce_planning with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$date_debut with no value type specified in iterable type array\\.$#', - 'identifier' => 'missingType.iterableValue', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$date_fin with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$date_fin_appel_conferencier with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$date_fin_appel_projet with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$date_fin_prevente with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$date_fin_saisie_nuites_hotel with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$date_fin_saisie_repas_speakers with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$date_fin_vente with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$date_fin_vente_token_sponsor with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$date_fin_vote with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$hasPricesDefinedWithVat with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$logoUrl with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$nb_places with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$placeAddress with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$placeName with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$speakersDinerEnabled with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$text with no value type specified in iterable type array\\.$#', - 'identifier' => 'missingType.iterableValue', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$titre with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$transportInformationEnabled with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$voteEnabled with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:modifier\\(\\) has parameter \\$waitingListUrl with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenir\\(\\) return type has no value type specified in iterable type array\\.$#', - 'identifier' => 'missingType.iterableValue', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenir\\(\\) should return array but returns mixed\\.$#', - 'identifier' => 'return.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenirAgenda\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenirAgenda\\(\\) has parameter \\$forum_id with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenirDernier\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenirForumPrecedent\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenirForumPrecedent\\(\\) has parameter \\$id_forum with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenirListActive\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenirListe\\(\\) has parameter \\$filtre with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenirListe\\(\\) has parameter \\$id_forum with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenirListe\\(\\) return type has no value type specified in iterable type array\\.$#', - 'identifier' => 'missingType.iterableValue', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenirListe\\(\\) should return array but returns array\\|false\\.$#', - 'identifier' => 'return.type', - 'count' => 2, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:supprimer\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:supprimer\\(\\) has parameter \\$id_forum with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$annee of method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:obtenirAgenda\\(\\) expects int\\|null, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$date of method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:echapperSqlDateFromQuickForm\\(\\) expects array, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 20, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 2, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$for_bo of method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:lienSeance\\(\\) expects bool, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$timestamp of function date expects int\\|null, int\\|false given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#3 \\$linkFormat of method Afup\\\\Site\\\\Forum\\\\Forum\\:\\:lienSeance\\(\\) expects string\\|null, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Part \\$nomSalle \\(mixed\\) of encapsed string cannot be cast to string\\.$#', - 'identifier' => 'encapsedStringPart.nonString', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Possibly invalid array key type mixed\\.$#', - 'identifier' => 'offsetAccess.invalidOffset', - 'count' => 15, - 'path' => __DIR__ . '/sources/Afup/Forum/Forum.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "/" between mixed and mixed results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Pagination.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot call method assign\\(\\) on mixed\\.$#', - 'identifier' => 'method.nonObject', - 'count' => 2, - 'path' => __DIR__ . '/sources/Afup/Pagination.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot call method display\\(\\) on mixed\\.$#', - 'identifier' => 'method.nonObject', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Pagination.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot call method register_function\\(\\) on mixed\\.$#', - 'identifier' => 'method.nonObject', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Pagination.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Pagination\\:\\:__construct\\(\\) has parameter \\$genere_route with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Pagination.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Pagination\\:\\:__construct\\(\\) has parameter \\$nombre_elements_par_page with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Pagination.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Pagination\\:\\:__construct\\(\\) has parameter \\$nombre_elements_total with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Pagination.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Pagination\\:\\:__construct\\(\\) has parameter \\$page_courante with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Pagination.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between \' \' and mixed results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between \'\\:\' and mixed results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between mixed and \'\\-\' results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Binary operation "\\." between non\\-falsy\\-string and mixed results in an error\\.$#', - 'identifier' => 'binaryOp.invalid', - 'count' => 3, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot access offset 0 on mixed\\.$#', - 'identifier' => 'offsetAccess.nonOffsetAccessible', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot cast mixed to int\\.$#', - 'identifier' => 'cast.int', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Cannot cast mixed to string\\.$#', - 'identifier' => 'cast.string', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:__construct\\(\\) has parameter \\$port with no type specified\\.$#', - 'identifier' => 'missingType.parameter', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:echapperSqlDateFromQuickForm\\(\\) has parameter \\$date with no value type specified in iterable type array\\.$#', - 'identifier' => 'missingType.iterableValue', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:echapperSqlDateFromQuickForm\\(\\) should return int\\|string but returns int\\|false\\.$#', - 'identifier' => 'return.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:executer\\(\\) should return bool but returns mysqli_result\\|true\\.$#', - 'identifier' => 'return.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:getDbLink\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:obtenirAssociatif\\(\\) return type has no value type specified in iterable type array\\.$#', - 'identifier' => 'missingType.iterableValue', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:obtenirDernierId\\(\\) has no return type specified\\.$#', - 'identifier' => 'missingType.return', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:obtenirTous\\(\\) return type has no value type specified in iterable type array\\.$#', - 'identifier' => 'missingType.iterableValue', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$hostname of function mysqli_connect expects string\\|null, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$mysql of function mysqli_error expects mysqli, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 2, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$mysql of function mysqli_insert_id expects mysqli, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$mysql of function mysqli_query expects mysqli, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 5, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$mysql of function mysqli_real_escape_string expects mysqli, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$mysql of function mysqli_select_db expects mysqli, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$nom of method Afup\\\\Site\\\\Utils\\\\Base_De_Donnees\\:\\:selectionnerBase\\(\\) expects string, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$result of function mysqli_fetch_array expects mysqli_result, mysqli_result\\|true given\\.$#', - 'identifier' => 'argument.type', - 'count' => 5, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$result of function mysqli_fetch_fields expects mysqli_result, mysqli_result\\|true given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$result of function mysqli_free_result expects mysqli_result, mysqli_result\\|true given\\.$#', - 'identifier' => 'argument.type', - 'count' => 4, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#1 \\$result of function mysqli_num_fields expects mysqli_result, bool\\|mysqli_result given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$username of function mysqli_connect expects string\\|null, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/Afup/Utils/Base_De_Donnees.php', -]; -…
1 parent e8108b4 commit d724e18

29 files changed

Lines changed: 5 additions & 1421 deletions

app/config/routing/admin.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ admin_relances:
66
path: /association/relances/{page}
77
defaults: {_controller: AppBundle\Controller\Admin\Membership\ReminderLogAction}
88

9-
admin_void:
10-
path: /void
11-
defaults: {_controller: AppBundle\Controller\LegacyController::backOffice}
12-
139
admin_members:
1410
resource: "admin_members.yml"
1511
prefix: /members

app/config/services.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -60,28 +60,6 @@ services:
6060
autoconfigure: true
6161
public: false
6262

63-
### Pages legacy - DEBUT
64-
# Les anciennes pages ont besoin que certains services soient publics,
65-
# car récupérés via `$container->get()`. Ils sont listés ici :
66-
67-
AppBundle\Event\Ticket\TicketTypeAvailability:
68-
autowire: true
69-
70-
AppBundle\Event\Invoice\InvoiceService:
71-
autowire: true
72-
73-
AppBundle\Event\Model\Repository\EventStatsRepository:
74-
autowire: true
75-
76-
### Pages legacy - FIN
77-
78-
AppBundle\Controller\LegacyController:
79-
autowire: true
80-
autoconfigure: true
81-
public: false
82-
arguments:
83-
$backOfficePages: '%app.pages_backoffice%'
84-
8563
AppBundle\Payment\PayboxFactory:
8664
autowire: true
8765
arguments: ["@router", "%paybox_domain_server%", "%paybox_secret_key%", "%paybox_site%", "%paybox_rang%", "%paybox_identifiant%"]

composer.json

Lines changed: 2 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"robmorgan/phinx": "0.16.*",
4343
"sabre/vobject": "^4.6",
4444
"setasign/tfpdf": "^1.33",
45-
"smarty/smarty": "^5.8",
4645
"symfony/asset": "7.4.*",
4746
"symfony/asset-mapper": "7.4.*",
4847
"symfony/clock": "7.4.*",
@@ -72,9 +71,7 @@
7271
"twig/intl-extra": "^3.26",
7372
"twig/string-extra": "^3.24",
7473
"twig/twig": "^3.27",
75-
"webmozart/assert": "^2.4",
76-
"znk3r/html_common": "*",
77-
"znk3r/html_quickform": "4.0.2"
74+
"webmozart/assert": "^2.4"
7875
},
7976
"scripts": {
8077
"post-install-cmd": [
@@ -103,10 +100,6 @@
103100
"patches": {
104101
"setasign/tfpdf": [
105102
"patches/setasign-tfpdf-tfpdf-php.patch"
106-
],
107-
"znk3r/html_quickform": [
108-
"patches/znk3r-html-quickform-html-quickform-date-php.patch",
109-
"patches/znk3r-html-quickform-html-quickform-php.patch"
110103
]
111104
},
112105
"symfony-app-dir": "app",
@@ -123,11 +116,7 @@
123116
"Afup\\Site\\": "sources/Afup/",
124117
"AppBundle\\": "sources/AppBundle/",
125118
"PlanetePHP\\": "sources/PlanetePHP/"
126-
},
127-
"files": [
128-
"sources/Afup/Bootstrap/_Common.php",
129-
"sources/Afup/Bootstrap/commonStart.php"
130-
]
119+
}
131120
},
132121
"autoload-dev": {
133122
"psr-4": {
@@ -175,38 +164,6 @@
175164
"tomasvotruba/type-coverage": "^2.2"
176165
},
177166
"repositories": [
178-
{
179-
"type": "package",
180-
"package": {
181-
"name": "znk3r/html_quickform",
182-
"version": "4.0.2",
183-
"dist": {
184-
"url": "https://github.com/macintoshplus/HTML_QuickForm/archive/v4.0.2.zip",
185-
"type": "zip"
186-
},
187-
"autoload": {
188-
"classmap": [
189-
"HTML/"
190-
]
191-
}
192-
}
193-
},
194-
{
195-
"type": "package",
196-
"package": {
197-
"name": "znk3r/html_common",
198-
"version": "v2.0.1",
199-
"dist": {
200-
"url": "https://github.com/znk3r/HTML_Common/archive/v2.0.1.zip",
201-
"type": "zip"
202-
},
203-
"autoload": {
204-
"classmap": [
205-
"HTML/"
206-
]
207-
}
208-
}
209-
},
210167
{
211168
"type": "package",
212169
"package": {

composer.lock

Lines changed: 1 addition & 105 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

htdocs/pages/administration/index.php

Lines changed: 0 additions & 46 deletions
This file was deleted.

htdocs/pages/administration/message.php

Lines changed: 0 additions & 25 deletions
This file was deleted.

htdocs/templates/administration/entete.html

Lines changed: 0 additions & 17 deletions
This file was deleted.

htdocs/templates/administration/head.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

htdocs/templates/administration/message.html

Lines changed: 0 additions & 14 deletions
This file was deleted.

htdocs/templates/administration/pagination.html

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)