Issue #2572633 by vprocessor, andypost, attiks, andriyun: Fix 'Drupal.Commenting.ClassComment' coding standard
parent
331cff9878
commit
94c628a9ca
|
@ -19,7 +19,6 @@ namespace Drupal\Core\Cache;
|
||||||
*
|
*
|
||||||
* @ingroup cache
|
* @ingroup cache
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class BackendChain implements CacheBackendInterface, CacheTagsInvalidatorInterface {
|
class BackendChain implements CacheBackendInterface, CacheTagsInvalidatorInterface {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -21,7 +21,6 @@ use Drupal\Core\Field\FieldDefinitionInterface;
|
||||||
* }
|
* }
|
||||||
* )
|
* )
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class TestItemWithDependencies extends TestItem {
|
class TestItemWithDependencies extends TestItem {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue