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

@@ -22,7 +22,7 @@ class ChoiceWithOtherType extends AbstractType
{
private $otherValueLabel = 'Other value';
/* (non-PHPdoc)
/** (non-PHPdoc).
* @see \Symfony\Component\Form\AbstractType::buildForm()
*/
public function buildForm(FormBuilderInterface $builder, array $options)
@@ -39,7 +39,7 @@ class ChoiceWithOtherType extends AbstractType
->add('_choices', ChoiceType::class, $options);
}
/* (non-PHPdoc)
/** (non-PHPdoc).
* @see \Symfony\Component\Form\AbstractType::configureOptions()
*/
public function configureOptions(OptionsResolver $resolver)

View File

@@ -20,7 +20,7 @@ use Symfony\Component\Form\FormEvents;
class ChoicesListType extends AbstractType
{
/* (non-PHPdoc)
/** (non-PHPdoc).
* @see \Symfony\Component\Form\AbstractType::buildForm()
*/
public function buildForm(FormBuilderInterface $builder, array $options)
@@ -48,8 +48,7 @@ class ChoicesListType extends AbstractType
});
}
/*
*
/**
* @see \Symfony\Component\Form\FormTypeInterface::getName()
*/
public function getBlockPrefix()