Web applications should contain a favicon

More information: https://insight.symfony.com/what-we-analyse/web.missing_favicon

in www

No favicon found in the web root directory

Time to fix: about 1 hour
Open Issue Permalink
Last edited by RebendaJiri
  • www
    • index.php
    • robots.txt
  • rebendajirijr

    located at www/assets/default/img/favicon.ico
  • rebendajirijr

    Ignored on Wed, 02 Mar 2016 14:51:19 GMT

Include statements should not be used 3

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

in src/Application.php, line 160
  1. header('HTTP/1.1 404 Not Found');
  2. }
  3. switch ($action) {
  4. case 'sitemap':
  5. require $config->getSitemapTemplateFile();

    Using include() or require() bypasses lazy-loading of third-party classes. Prefer using autoloading.

    Time to fix: about 3 hours
    Open Issue Permalink
    Last edited by RebendaJiri
  6. break;
  7. case 'frontend':
  8. require $config->getTemplateFile();
  9. break;
  10. case 'error':
  • rebendajirijr

    This is intentional behaviour.
in src/Application.php, line 163
  1. switch ($action) {
  2. case 'sitemap':
  3. require $config->getSitemapTemplateFile();
  4. break;
  5. case 'frontend':
  6. require $config->getTemplateFile();

    Using include() or require() bypasses lazy-loading of third-party classes. Prefer using autoloading.

    Time to fix: about 3 hours
    Open Issue Permalink
    Last edited by RebendaJiri
  7. break;
  8. case 'error':
  9. require $config->getErrorTemplateFile();
  10. break;
  11. }
  • rebendajirijr

    Ignored on Tue, 01 Mar 2016 21:57:16 GMT
  • rebendajirijr

    This is intentional behaviour.
in src/Application.php, line 166
  1. break;
  2. case 'frontend':
  3. require $config->getTemplateFile();
  4. break;
  5. case 'error':
  6. require $config->getErrorTemplateFile();

    Using include() or require() bypasses lazy-loading of third-party classes. Prefer using autoloading.

    Time to fix: about 3 hours
    Open Issue Permalink
    Last edited by RebendaJiri
  7. break;
  8. }
  9. }
  10. /**
  • rebendajirijr

    This is intentional behaviour.

Class should be unique per PHP file

More information: https://insight.symfony.com/what-we-analyse/php.file_contains_more_than_one_class

This file contains 2 classes. Keeping only one class per file is a standard in the PHP community, since it promotes interoperability and maintainability.

Time to fix: about 4 hours
Open Issue Permalink
Last edited by RebendaJiri
  • FileNotFoundException (defined at line 8)
  • MalformedConfigFileException (defined at line 16)
  • rebendajirijr

    Ignored on Tue, 01 Mar 2016 21:56:11 GMT

.htaccess should be avoided

More information: https://insight.symfony.com/what-we-analyse/web.apache_config

A .htaccess file has been spotted. You should consider moving it to the server configuration to improve global performances.

Time to fix: about 1 hour
Open Issue Permalink
Last edited by RebendaJiri
  • rebendajirijr

    Ignored on Tue, 01 Mar 2016 21:56:34 GMT