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

@@ -48,7 +48,7 @@ class ChillCustomFieldsExtension extends Extension implements PrependExtensionIn
);
}
/* (non-PHPdoc)
/** (non-PHPdoc).
* @see \Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface::prepend()
*/
public function prepend(ContainerBuilder $container)

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()

View File

@@ -79,8 +79,9 @@ class CustomFieldProvider implements ContainerAwareInterface
. 'is not found');
}
/*
* (non-PHPdoc)
/**
* (non-PHPdoc).
*
* @see \Symfony\Component\DependencyInjection\ContainerAwareInterface::setContainer()
*/
public function setContainer(?ContainerInterface $container = null)

View File

@@ -46,8 +46,9 @@ class CustomFieldRenderingTwig extends AbstractExtension implements ContainerAwa
$this->customFieldsHelper = $customFieldsHelper;
}
/*
* (non-PHPdoc)
/**
* (non-PHPdoc).
*
* @see Twig_Extension::getFunctions()
*/
public function getFunctions()
@@ -76,7 +77,7 @@ class CustomFieldRenderingTwig extends AbstractExtension implements ContainerAwa
];
}
/* (non-PHPdoc)
/** (non-PHPdoc).
* @see Twig_ExtensionInterface::getName()
*/
public function getName()
@@ -123,8 +124,9 @@ class CustomFieldRenderingTwig extends AbstractExtension implements ContainerAwa
->renderCustomField($fields, $customField, $documentType);
}
/*
* (non-PHPdoc)
/**
* (non-PHPdoc).
*
* @see \Symfony\Component\DependencyInjection\ContainerAwareInterface::setContainer()
*/
public function setContainer(?ContainerInterface $container = null)

View File

@@ -43,8 +43,9 @@ class CustomFieldsGroupRenderingTwig extends AbstractExtension implements Contai
$this->defaultParams['show_empty'] = $showEmptyValues;
}
/*
* (non-PHPdoc)
/**
* (non-PHPdoc).
*
* @see Twig_Extension::getFunctions()
*/
public function getFunctions()
@@ -61,7 +62,7 @@ class CustomFieldsGroupRenderingTwig extends AbstractExtension implements Contai
];
}
/* (non-PHPdoc)
/** (non-PHPdoc).
* @see Twig_ExtensionInterface::getName()
*/
public function getName()
@@ -96,8 +97,9 @@ class CustomFieldsGroupRenderingTwig extends AbstractExtension implements Contai
'show_empty' => $resolvedParams['show_empty'], ]);
}
/*
* (non-PHPdoc)
/**
* (non-PHPdoc).
*
* @see \Symfony\Component\DependencyInjection\ContainerAwareInterface::setContainer()
*/
public function setContainer(?ContainerInterface $container = null)