Issue #2803893 by mfernea: Fix 'Drupal.Commenting.FunctionComment.ParamTypeSpaces' coding standard
parent
c7c9a329ef
commit
92cbc4cfc8
|
@ -104,7 +104,7 @@ class PoItem {
|
|||
* Set the source string or the array of strings if the translation has
|
||||
* plurals.
|
||||
*
|
||||
* @param string or array $source
|
||||
* @param string|array $source
|
||||
*/
|
||||
public function setSource($source) {
|
||||
$this->_source = $source;
|
||||
|
@ -124,7 +124,7 @@ class PoItem {
|
|||
* Set the translation string or the array of strings if the translation has
|
||||
* plurals.
|
||||
*
|
||||
* @param string or array $translation
|
||||
* @param string|array $translation
|
||||
*/
|
||||
public function setTranslation($translation) {
|
||||
$this->_translation = $translation;
|
||||
|
|
|
@ -127,7 +127,7 @@ class MockBlockManager extends PluginManagerBase {
|
|||
*
|
||||
* @param string $data_type
|
||||
* The required data type.
|
||||
* @param mixed string|null $label
|
||||
* @param mixed|string|null $label
|
||||
* The label of this context definition for the UI.
|
||||
* @param bool $required
|
||||
* Whether the context definition is required.
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
<exclude name="Drupal.Commenting.FunctionComment.ParamCommentIndentation"/>
|
||||
<exclude name="Drupal.Commenting.FunctionComment.ParamMissingDefinition"/>
|
||||
<exclude name="Drupal.Commenting.FunctionComment.ParamNameNoMatch"/>
|
||||
<exclude name="Drupal.Commenting.FunctionComment.ParamTypeSpaces"/>
|
||||
<exclude name="Drupal.Commenting.FunctionComment.TypeHintMissing"/>
|
||||
</rule>
|
||||
<rule ref="../vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/ControlStructures/ElseIfSniff.php"/>
|
||||
|
|
Loading…
Reference in New Issue