mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
cs: Enable more risky rules.
This commit is contained in:
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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()
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user