Issue #2572633 by vprocessor, andypost, attiks, andriyun: Fix 'Drupal.Commenting.ClassComment' coding standard

8.2.x
Alex Pott 2016-05-08 08:57:21 -05:00
parent 331cff9878
commit 94c628a9ca
6 changed files with 10 additions and 7 deletions

View File

@ -19,7 +19,6 @@ namespace Drupal\Core\Cache;
* *
* @ingroup cache * @ingroup cache
*/ */
class BackendChain implements CacheBackendInterface, CacheTagsInvalidatorInterface { class BackendChain implements CacheBackendInterface, CacheTagsInvalidatorInterface {
/** /**

View File

@ -21,7 +21,6 @@ use Drupal\Core\Field\FieldDefinitionInterface;
* } * }
* ) * )
*/ */
class TestItemWithDependencies extends TestItem { class TestItemWithDependencies extends TestItem {
/** /**

View File

@ -10,7 +10,7 @@ use Drupal\taxonomy\Form\OverviewTerms;
use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Extension\ModuleHandlerInterface;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
/* /**
* Provides forum overview form for the forum vocabulary. * Provides forum overview form for the forum vocabulary.
*/ */
class Overview extends OverviewTerms { class Overview extends OverviewTerms {

View File

@ -9,7 +9,7 @@ use Drupal\Core\Form\FormStateInterface;
use Drupal\taxonomy\VocabularyInterface; use Drupal\taxonomy\VocabularyInterface;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
/* /**
* Provides terms overview form for a taxonomy vocabulary. * Provides terms overview form for a taxonomy vocabulary.
*/ */
class OverviewTerms extends FormBase { class OverviewTerms extends FormBase {

View File

@ -249,7 +249,9 @@ class PagerPluginBaseTest extends UnitTestCase {
} }
// As StatementInterface extends \Traversable, which though always needs /**
// an additional interface. The Statement class itself can't be mocked because * As StatementInterface extends \Traversable, which though always needs
// of its __wakeup function. * an additional interface. The Statement class itself can't be mocked because
* of its __wakeup function.
*/
interface TestStatementInterface extends StatementInterface, \Iterator {} interface TestStatementInterface extends StatementInterface, \Iterator {}

View File

@ -17,6 +17,9 @@
<rule ref="Drupal.Classes.UnusedUseStatement"/> <rule ref="Drupal.Classes.UnusedUseStatement"/>
<rule ref="Drupal.CSS.ClassDefinitionNameSpacing"/> <rule ref="Drupal.CSS.ClassDefinitionNameSpacing"/>
<rule ref="Drupal.CSS.ColourDefinition"/> <rule ref="Drupal.CSS.ColourDefinition"/>
<rule ref="Drupal.Commenting.ClassComment">
<exclude name="Drupal.Commenting.ClassComment.Missing"/>
</rule>
<rule ref="Drupal.Commenting.DocComment"> <rule ref="Drupal.Commenting.DocComment">
<!-- Sniff for these errors: SpacingAfterTagGroup, WrongEnd, SpacingBetween, <!-- Sniff for these errors: SpacingAfterTagGroup, WrongEnd, SpacingBetween,
ContentAfterOpen, SpacingBeforeShort, TagValueIndent, ShortStartSpace, ContentAfterOpen, SpacingBeforeShort, TagValueIndent, ShortStartSpace,