Your project files must be encoded in UTF-8

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

This file uses utf-16le text encoding. Prefer UTF-8 to avoid cross-encoding issues.
Time to fix: about 30 minutes
Read doc Open Issue Permalink Copy Prompt
Last edited by Luigi Gandemer

Your project must provide a favicon in its public directory

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

in public
No favicon found in the web root directory
Last edited by Luigi Gandemer
  • public
    • index.php

Your project error pages must be customised 2

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

You should customize the 404 error page.
Time to fix: about 4 hours
Read doc Open Issue Permalink Copy Prompt
Collective
You should customize the 500 error page.
Time to fix: about 4 hours
Read doc Open Issue Permalink Copy Prompt
Collective

Your project must not contain invalid instantiations

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

in public/index.php, line 8
  1. use App\Kernel;
  2. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  3. return function (array $context) {
  4. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
    Parameter #1 $environment of class App\Kernel constructor expects string, mixed given.
    Last edited by Luigi Gandemer
  5. };

Your project should contain a robots.txt file

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

in public
The web root doesn't contain a robots.txt file. Search engines will ask for it, so not providing it will affect Search Engine ranking, and add load to the server needlessly.
Last edited by Luigi Gandemer
  • public
    • index.php

Your project session configuration could expose your users data

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

The session cookie name is the default one, PHPSESSID. You should consider overwriting it thanks to session.name parameter (see the official documentation).
Collective

Web applications should contain a site.webmanifest file

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

in public
The web root doesn't contain a site.webmanifest file. The web app manifest provides information about a web application in a JSON text file, necessary for be presented to the user similarly to a native app
Last edited by Luigi Gandemer
  • public
    • index.php

Text files should end with a valid new line character.

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

in README.md, line 2
  1. ÿþ# portfolio-backend-api
  2. This file ends with no newline character, or with a different newline character than other files in your project. It won't render properly on a terminal, and it's considered a bad practice.
    Time to fix: about 15 minutes
    Read doc Open Issue Permalink Copy Prompt
    Last edited by Luigi Gandemer

Your project should not contain PHP files defining multiple classes

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
Read doc Open Issue Permalink Copy Prompt
Last edited by Luigi Gandemer