Loading coder_sniffer/Drupal/Sniffs/Commenting/VariableCommentSniff.php +1 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ class VariableCommentSniff extends AbstractVariableSniff T_STRING, T_NS_SEPARATOR, T_NULLABLE, T_READONLY, T_TYPE_UNION, T_FALSE, T_NULL, Loading tests/Drupal/Commenting/VariableCommentUnitTest.inc +5 −0 Original line number Diff line number Diff line Loading @@ -58,4 +58,9 @@ class Test { */ public Foo|Bar|FALSE|NULL $fooBar; /** * Readonly property. */ protected readonly string $readOnly; } tests/Drupal/Commenting/VariableCommentUnitTest.inc.fixed +5 −0 Original line number Diff line number Diff line Loading @@ -62,4 +62,9 @@ class Test { */ public Foo|Bar|FALSE|NULL $fooBar; /** * Readonly property. */ protected readonly string $readOnly; } Loading
coder_sniffer/Drupal/Sniffs/Commenting/VariableCommentSniff.php +1 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ class VariableCommentSniff extends AbstractVariableSniff T_STRING, T_NS_SEPARATOR, T_NULLABLE, T_READONLY, T_TYPE_UNION, T_FALSE, T_NULL, Loading
tests/Drupal/Commenting/VariableCommentUnitTest.inc +5 −0 Original line number Diff line number Diff line Loading @@ -58,4 +58,9 @@ class Test { */ public Foo|Bar|FALSE|NULL $fooBar; /** * Readonly property. */ protected readonly string $readOnly; }
tests/Drupal/Commenting/VariableCommentUnitTest.inc.fixed +5 −0 Original line number Diff line number Diff line Loading @@ -62,4 +62,9 @@ class Test { */ public Foo|Bar|FALSE|NULL $fooBar; /** * Readonly property. */ protected readonly string $readOnly; }