Skip to content
Snippets Groups Projects
Commit e7fadb05 authored by catch's avatar catch
Browse files

Issue #2937882 by Spokje, RoSk0, longwave, quietone: Fix...

Issue #2937882 by Spokje, RoSk0, longwave, quietone: Fix 'Drupal.Classes.PropertyDeclaration' coding standard
parent fd565007
No related branches found
No related tags found
4 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1012Issue #3226887: Hreflang on non-canonical content pages,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10,!596Issue #3046532: deleting an entity reference field, used in a contextual view, makes the whole site unrecoverable
...@@ -91,6 +91,7 @@ abstract class ConfigEntityBase extends EntityBase implements ConfigEntityInterf ...@@ -91,6 +91,7 @@ abstract class ConfigEntityBase extends EntityBase implements ConfigEntityInterf
* *
* @var array * @var array
*/ */
// phpcs:ignore Drupal.Classes.PropertyDeclaration
protected $_core = []; protected $_core = [];
/** /**
......
...@@ -15,6 +15,7 @@ trait DependencySerializationTrait { ...@@ -15,6 +15,7 @@ trait DependencySerializationTrait {
* *
* @var array * @var array
*/ */
// phpcs:ignore Drupal.Classes.PropertyDeclaration
protected $_serviceIds = []; protected $_serviceIds = [];
/** /**
...@@ -22,6 +23,7 @@ trait DependencySerializationTrait { ...@@ -22,6 +23,7 @@ trait DependencySerializationTrait {
* *
* @var array * @var array
*/ */
// phpcs:ignore Drupal.Classes.PropertyDeclaration
protected $_entityStorages = []; protected $_entityStorages = [];
/** /**
......
...@@ -12,6 +12,7 @@ class ResultRow { ...@@ -12,6 +12,7 @@ class ResultRow {
* *
* @var \Drupal\Core\Entity\EntityInterface * @var \Drupal\Core\Entity\EntityInterface
*/ */
// phpcs:ignore Drupal.Classes.PropertyDeclaration
public $_entity = NULL; public $_entity = NULL;
/** /**
...@@ -19,6 +20,7 @@ class ResultRow { ...@@ -19,6 +20,7 @@ class ResultRow {
* *
* @var \Drupal\Core\Entity\EntityInterface[] * @var \Drupal\Core\Entity\EntityInterface[]
*/ */
// phpcs:ignore Drupal.Classes.PropertyDeclaration
public $_relationship_entities = []; public $_relationship_entities = [];
/** /**
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
<rule ref="Drupal.Classes.ClassFileName"/> <rule ref="Drupal.Classes.ClassFileName"/>
<rule ref="Drupal.Classes.FullyQualifiedNamespace"/> <rule ref="Drupal.Classes.FullyQualifiedNamespace"/>
<rule ref="Drupal.Classes.InterfaceName"/> <rule ref="Drupal.Classes.InterfaceName"/>
<rule ref="Drupal.Classes.PropertyDeclaration"/>
<rule ref="Drupal.Classes.UnusedUseStatement"/> <rule ref="Drupal.Classes.UnusedUseStatement"/>
<rule ref="Drupal.Classes.UseGlobalClass"/> <rule ref="Drupal.Classes.UseGlobalClass"/>
<rule ref="Drupal.Classes.UseLeadingBackslash"/> <rule ref="Drupal.Classes.UseLeadingBackslash"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment