Your project should contain a robots.txt file
- Read doc
- Reputation
- Major
More information: https://insight.symfony.com/what-we-analyse/web.missing_robots_txt
-
public
- css
- debugbar
- images
- js
- index.php
- robots.txt.dist
Your project should not contain duplicated code 2
- Read doc
- Productivity
- Minor
More information: https://insight.symfony.com/what-we-analyse/php.duplicated_code
- $identity = $this->authenticationService->getIdentity();
- $user = $this->userService->findByUuid($identity->getUuid());
- $form = new ProfileDetailsForm();
- $shouldRebind = $this->messenger->getData('shouldRebind') ?? true;
- if ($shouldRebind) {
- $this->forms->restoreState($form);
- }
- if (RequestMethodInterface::METHOD_POST === $this->request->getMethod()) {
- parent::__construct($name, $options);
- $this->init();
- $this->inputFilter = new ProfilePasswordInputFilter();
- $this->inputFilter->init();
- }
- public function init(): void
- {
- parent::init();