Your project must not use features which can be used to extract data from your users 2
- Read doc
- Legal
- Data leak
- Critical
More information: https://insight.symfony.com/what-we-analyse/twig.xss_vulnerability
- <p>{{ 'error.description'|trans|format(path('index'))|raw }}</p>
- {% if exception is defined %}
- <hr>
- <div class="d-flex align-items-baseline gap-2">
- <div class="text-nowrap">{{ 'error.message'|trans }}</div>
- <div>{{ exception.message|raw }}</div>
- </div>
- {% endif %}
- </div>
- </div>
- {% endblock body %}
- {{- _self.output_level(levels, levels.ERROR, 'result.error'|trans) -}}
- </a>
- <div id="details" class="collapse">
- <hr>
- <ul class="list-unstyled ms-3 mb-0">
- <li>{{- _self.output_level(levels, levels.ERROR, result.message|raw) -}}</li>
- </ul>
- </div>
- </div>
- {% elseif result and result.success %}
- <div class="alert alert-light" role="alert">
Your project must not contain invalid instantiations
- Read doc
- Reliability
- Major
More information: https://insight.symfony.com/what-we-analyse/php.invalid_instantiation
- use App\Kernel;
- require_once \dirname(__DIR__) . '/vendor/autoload_runtime.php';
- return fn (array $context) => new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);