diff --git a/config/routing/site.yml b/config/routing/site.yml index f2578b865..3f1a60aed 100644 --- a/config/routing/site.yml +++ b/config/routing/site.yml @@ -49,10 +49,6 @@ superapero: options: sitemap: true -void: - path: /void-route - defaults: { _controller: AppBundle\Controller\Website\Static\VoidAction } - newsletter_subscribe: path: /newsletter-subscribe defaults: { _controller: AppBundle\Controller\Website\NewsletterController::subscribe } diff --git a/htdocs/js/site/layout.js b/htdocs/js/site/layout.js deleted file mode 100644 index 2167af03c..000000000 --- a/htdocs/js/site/layout.js +++ /dev/null @@ -1,16 +0,0 @@ -$(document).ready(function() { - var $secondaryMenu = $('.secondary-menu__current-item'); - - if (!$secondaryMenu) { - return; - } - - var $list = $secondaryMenu.next(); - $list.addClass('hidden'); - - $secondaryMenu.on('click', function(event) { - event.preventDefault(); - - $list.toggleClass('hidden'); - }); -}); diff --git a/htdocs/templates/site/css/styles-without-compass.css b/htdocs/templates/site/css/styles-without-compass.css deleted file mode 100644 index 0779fed4a..000000000 --- a/htdocs/templates/site/css/styles-without-compass.css +++ /dev/null @@ -1,2 +0,0 @@ -#logo a { color: inherit; text-decoration: none; } -header #espace-membre {z-index:1000;} diff --git a/phpstan-baseline.php b/phpstan-baseline.php index 58076ad0d..708a4224f 100644 --- a/phpstan-baseline.php +++ b/phpstan-baseline.php @@ -4892,12 +4892,6 @@ 'count' => 1, 'path' => __DIR__ . '/sources/AppBundle/Controller/Website/SecondaryMenuController.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Parameter \\#2 \\$parameters of method AppBundle\\\\Twig\\\\ViewRenderer\\:\\:render\\(\\) expects array, mixed given\\.$#', - 'identifier' => 'argument.type', - 'count' => 1, - 'path' => __DIR__ . '/sources/AppBundle/Controller/Website/Static/VoidAction.php', -]; $ignoreErrors[] = [ 'message' => '#^Binary operation "\\." between \'https\\://joind\\.in…\' and mixed results in an error\\.$#', 'identifier' => 'binaryOp.invalid', diff --git a/sources/AppBundle/Controller/Website/Static/VoidAction.php b/sources/AppBundle/Controller/Website/Static/VoidAction.php deleted file mode 100644 index a2519028c..000000000 --- a/sources/AppBundle/Controller/Website/Static/VoidAction.php +++ /dev/null @@ -1,24 +0,0 @@ -attributes->has('legacyContent')) { - $params = $request->attributes->get('legacyContent'); - } - - return $this->view->render('site/base.html.twig', $params); - } -} diff --git a/templates/admin/association/membership/_base.html.twig b/templates/admin/association/membership/_base.html.twig deleted file mode 100644 index 3f32000da..000000000 --- a/templates/admin/association/membership/_base.html.twig +++ /dev/null @@ -1,35 +0,0 @@ -{% extends 'site/base.html.twig' %} - -{% block stylesheets %} - {{ parent() }} - -{% endblock %} - -{% block content %} - - {% block submenu %} - {% endblock %} - -