Issue #2937882 by Spokje, RoSk0, longwave, quietone: Fix 'Drupal.Classes.PropertyDeclaration' coding standard
parent
fd565007ee
commit
e7fadb0559
|
@ -91,6 +91,7 @@ abstract class ConfigEntityBase extends EntityBase implements ConfigEntityInterf
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
// phpcs:ignore Drupal.Classes.PropertyDeclaration
|
||||
protected $_core = [];
|
||||
|
||||
/**
|
||||
|
|
|
@ -15,6 +15,7 @@ trait DependencySerializationTrait {
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
// phpcs:ignore Drupal.Classes.PropertyDeclaration
|
||||
protected $_serviceIds = [];
|
||||
|
||||
/**
|
||||
|
@ -22,6 +23,7 @@ trait DependencySerializationTrait {
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
// phpcs:ignore Drupal.Classes.PropertyDeclaration
|
||||
protected $_entityStorages = [];
|
||||
|
||||
/**
|
||||
|
|
|
@ -12,6 +12,7 @@ class ResultRow {
|
|||
*
|
||||
* @var \Drupal\Core\Entity\EntityInterface
|
||||
*/
|
||||
// phpcs:ignore Drupal.Classes.PropertyDeclaration
|
||||
public $_entity = NULL;
|
||||
|
||||
/**
|
||||
|
@ -19,6 +20,7 @@ class ResultRow {
|
|||
*
|
||||
* @var \Drupal\Core\Entity\EntityInterface[]
|
||||
*/
|
||||
// phpcs:ignore Drupal.Classes.PropertyDeclaration
|
||||
public $_relationship_entities = [];
|
||||
|
||||
/**
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
<rule ref="Drupal.Classes.ClassFileName"/>
|
||||
<rule ref="Drupal.Classes.FullyQualifiedNamespace"/>
|
||||
<rule ref="Drupal.Classes.InterfaceName"/>
|
||||
<rule ref="Drupal.Classes.PropertyDeclaration"/>
|
||||
<rule ref="Drupal.Classes.UnusedUseStatement"/>
|
||||
<rule ref="Drupal.Classes.UseGlobalClass"/>
|
||||
<rule ref="Drupal.Classes.UseLeadingBackslash"/>
|
||||
|
|
Loading…
Reference in New Issue