cs: Enable more risky rules.

This commit is contained in:
Pol Dellaiera
2021-11-30 11:28:52 +01:00
parent 3631fd99fd
commit c8195e6df5
65 changed files with 155 additions and 139 deletions

View File

@@ -150,7 +150,7 @@ class ChillUserSendRenewPasswordCodeCommand extends Command
protected function getUser($row)
{
/* @var $userRepository \Chill\MainBundle\Repository\UserRepository */
/** @var \Chill\MainBundle\Repository\UserRepository $userRepository */
$userRepository = $this->em->getRepository(User::class);
try {

View File

@@ -52,8 +52,9 @@ class LoadAndUpdateLanguagesCommand extends Command
parent::__construct();
}
/*
* (non-PHPdoc)
/**
* (non-PHPdoc).
*
* @see \Symfony\Component\Console\Command\Command::configure()
*/
protected function configure()
@@ -78,8 +79,9 @@ class LoadAndUpdateLanguagesCommand extends Command
);
}
/*
* (non-PHPdoc)
/**
* (non-PHPdoc).
*
* @see \Symfony\Component\Console\Command\Command::execute()
*/
protected function execute(InputInterface $input, OutputInterface $output)

View File

@@ -62,8 +62,9 @@ class LoadCountriesCommand extends Command
return $countryEntities;
}
/*
* (non-PHPdoc)
/**
* (non-PHPdoc).
*
* @see \Symfony\Component\Console\Command\Command::configure()
*/
protected function configure()
@@ -73,8 +74,9 @@ class LoadCountriesCommand extends Command
'but will update names according to available languages');
}
/*
* (non-PHPdoc)
/**
* (non-PHPdoc).
*
* @see \Symfony\Component\Console\Command\Command::execute()
*/
protected function execute(InputInterface $input, OutputInterface $output)