The bin/console security:check was recently shutted down by Symfony stakeholders. If you try to use it you will get an error:
The web service failed for an unknown reason (HTTP 404).
Now you must checking the project locally with utility written by Fabien Potencier.
My instructions are only suitable for those using docker or linux as a host system.
- That scripts allows to download latest version of security utility:
- Script generates “local-php-security-checker” file in project’s root folder. You may run downloaded file directly or add aliases to the composer.json file at “scripts” section:
Now you able to run security check with 1 line of code