Your project controllers should only contains actions as public methods 2

More information: https://insight.symfony.com/what-we-analyse/symfony.controller.non_action_public_method_in_controller_class

  1. use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
  2. #[Route(path: '/favicon', name: 'enabel_layout_favicon_')]
  3. class FaviconController extends AbstractController
  4. {
  5. #[Route(

    Non-action public method found in controller class

    Time to fix: about 1 hour
    Read doc Open Issue Permalink
    Last edited by Damien Lagae
  6. path: '/site.webmanifest',
  7. name: 'webmanifest',
  8. methods: 'GET',
  9. defaults: [
  10. '_format' => 'json',
  • damienlagae

    ok for now
  • damienlagae

    Unignored on Wed, 24 Jan 2024 17:17:49 GMT
  • damienlagae

    ok for now
  1. 'url' => $this->generateUrl('homepage', [], UrlGeneratorInterface::ABSOLUTE_URL),
  2. ],
  3. ]);
  4. }
  5. #[Route(

    Non-action public method found in controller class

    Time to fix: about 1 hour
    Read doc Open Issue Permalink
    Last edited by Damien Lagae
  6. path: '/browserconfig.xml',
  7. name: 'browserconfig',
  8. methods: 'GET',
  9. defaults: [
  10. '_format' => 'xml',
  • damienlagae

    ok for now
  • damienlagae

    ok for now