Issue #3295157 by mondrake: Fix 'Access to an undefined property' PHPStan L0 errors - public properties

(cherry picked from commit f76cebd189)
merge-requests/2357/merge
Alex Pott 2022-07-11 12:09:54 +01:00
parent 14c41316c4
commit 7fe5869f20
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
36 changed files with 244 additions and 383 deletions

View File

@ -118,6 +118,16 @@ class Select extends Query implements SelectInterface {
*/
protected $forUpdate = FALSE;
/**
* The query metadata for alter purposes.
*/
public array $alterMetaData;
/**
* The query tags.
*/
public array $alterTags;
/**
* Constructs a Select object.
*

View File

@ -49,6 +49,11 @@ class Extension {
*/
protected $root;
/**
* The extension info array.
*/
public array $info;
/**
* Constructs a new Extension object.
*

View File

@ -49,6 +49,11 @@ class BaseFieldOverride extends FieldConfigBase {
*/
protected $baseFieldDefinition;
/**
* The original override.
*/
public BaseFieldOverride $original;
/**
* Creates a base field override object.
*

View File

@ -15,6 +15,11 @@ use Drupal\views\ResultRow;
*/
class StatisticsLastCommentName extends FieldPluginBase {
/**
* The user id.
*/
public string $uid;
/**
* {@inheritdoc}
*/

View File

@ -27,7 +27,12 @@ class Rss extends RssPluginBase {
/**
* {@inheritdoc}
*/
protected $base_field = 'cid';
public string $base_field = 'cid';
/**
* The field alias.
*/
public string $field_alias;
/**
* @var \Drupal\comment\CommentInterface[]

View File

@ -71,6 +71,11 @@ class FieldConfig extends FieldConfigBase implements FieldConfigInterface {
*/
protected $fieldStorage;
/**
* The original FieldConfig entity.
*/
public FieldConfig $original;
/**
* Constructs a FieldConfig object.
*

View File

@ -229,6 +229,11 @@ class FieldStorageConfig extends ConfigEntityBase implements FieldStorageConfigI
*/
protected static $inDeletion = FALSE;
/**
* Copy of the field before changes.
*/
public FieldStorageConfigInterface $original;
/**
* Constructs a FieldStorageConfig object.
*

View File

@ -29,10 +29,8 @@ class Rss extends RssPluginBase {
/**
* The base field for this row plugin.
*
* @var string
*/
public $base_field = 'nid';
public string $base_field = 'nid';
/**
* Stores the nodes loaded with preRender.

View File

@ -31,6 +31,11 @@ class Search extends ArgumentPluginBase {
*/
protected $searchType;
/**
* The search score.
*/
public string $search_score;
/**
* {@inheritdoc}
*/

View File

@ -46,6 +46,11 @@ class Search extends FilterPluginBase {
*/
protected $searchType;
/**
* The search score.
*/
public string $search_score;
/**
* {@inheritdoc}
*/

View File

@ -4,6 +4,7 @@ namespace Drupal\views;
use Drupal\Core\Form\FormStateInterface;
use Drupal\views\Plugin\views\HandlerBase;
use Drupal\views\Plugin\views\ViewsHandlerInterface;
/**
* This many to one helper object is used on both arguments and filters.
@ -20,6 +21,11 @@ use Drupal\views\Plugin\views\HandlerBase;
*/
class ManyToOneHelper {
/**
* The handler.
*/
public ViewsHandlerInterface $handler;
public function __construct($handler) {
$this->handler = $handler;
}
@ -140,7 +146,7 @@ class ManyToOneHelper {
'field' => $this->handler->realField,
'operator' => '!=',
'value' => $value,
'numeric' => !empty($this->definition['numeric']),
'numeric' => !empty($this->handler->definition['numeric']),
],
];
}

View File

@ -80,6 +80,11 @@ abstract class HandlerBase extends PluginBase implements ViewsHandlerInterface {
*/
protected $viewsData;
/**
* Tracks whether the plugin is a handler.
*/
public bool $is_handler;
/**
* Constructs a Handler object.
*

View File

@ -65,6 +65,11 @@ abstract class ArgumentPluginBase extends HandlerBase implements CacheableDepend
*/
public $name_table;
/**
* The name table alias.
*/
public string $name_table_alias;
/**
* The field to use for the name to use in the summary, which is
* the displayed output. For example, for the node: nid argument,
@ -73,6 +78,41 @@ abstract class ArgumentPluginBase extends HandlerBase implements CacheableDepend
*/
public $name_field;
/**
* The alias for the field.
*/
public string $name_alias;
/**
* The base table alias.
*/
public string $base_alias;
/**
* The alias count.
*/
public string $count_alias;
/**
* Is argument validated.
*/
public ?bool $argument_validated;
/**
* Is argument a default.
*/
public bool $is_default;
/**
* The operator used for the query: or|and.
*/
public string $operator;
/**
* The argument position.
*/
public int $position;
/**
* Overrides Drupal\views\Plugin\views\HandlerBase:init().
*/

View File

@ -24,6 +24,11 @@ use Drupal\views\ManyToOneHelper;
*/
class ManyToOne extends ArgumentPluginBase {
/**
* The many-to-one helper.
*/
public ManyToOneHelper $helper;
/**
* {@inheritdoc}
*/

View File

@ -15,12 +15,6 @@ use Drupal\Core\Plugin\Context\ContextDefinition;
*/
class NumericArgument extends ArgumentPluginBase {
/**
* The operator used for the query: or|and.
* @var string
*/
public $operator;
/**
* The actual value which is used for querying.
* @var array

View File

@ -19,6 +19,11 @@ use Drupal\views\ManyToOneHelper;
*/
class StringArgument extends ArgumentPluginBase {
/**
* The many-to-one helper.
*/
public ManyToOneHelper $helper;
/**
* {@inheritdoc}
*/

View File

@ -37,6 +37,11 @@ abstract class ArgumentDefaultPluginBase extends PluginBase {
*/
protected $argument;
/**
* The option name.
*/
public string $option_name;
/**
* Return the default argument.
*

View File

@ -40,6 +40,11 @@ abstract class ArgumentValidatorPluginBase extends PluginBase {
*/
protected $argument;
/**
* The option name.
*/
public string $option_name;
/**
* Sets the parent argument this plugin is associated with.
*

View File

@ -122,6 +122,16 @@ abstract class DisplayPluginBase extends PluginBase implements DisplayPluginInte
*/
public $display;
/**
* Keeps track whether the display uses exposed filters.
*/
public bool $has_exposed;
/**
* The default display.
*/
public DisplayPluginInterface $default_display;
/**
* Constructs a new DisplayPluginBase object.
*

View File

@ -49,6 +49,11 @@ class EntityReference extends DisplayPluginBase {
*/
protected $connection;
/**
* The id field alias.
*/
public string $id_field_alias;
/**
* Constructs a new EntityReference object.
*

View File

@ -29,6 +29,11 @@ use Drupal\views\Plugin\views\display\DisplayPluginBase;
*/
class Boolean extends FieldPluginBase {
/**
* The allowed formats.
*/
public array $formats;
/**
* {@inheritdoc}
*/

View File

@ -126,6 +126,11 @@ class EntityField extends FieldPluginBase implements CacheableDependencyInterfac
*/
protected $entityFieldRenderer;
/**
* The fields that we are actually grouping on.
*/
public array $group_fields;
/**
* Constructs a \Drupal\field\Plugin\views\field\Field object.
*

View File

@ -106,6 +106,21 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
*/
protected $renderer;
/**
* The last rendered value.
*/
public string|MarkupInterface|NULL $last_render;
/**
* The last rendered text.
*/
public string|MarkupInterface|NULL $last_render_text;
/**
* The last rendered tokens.
*/
public array $last_tokens;
/**
* Keeps track of the last render index.
*

View File

@ -21,6 +21,11 @@ use Drupal\views\ViewExecutable;
*/
class Markup extends FieldPluginBase {
/**
* The format to use for this field.
*/
public string $format;
/**
* {@inheritdoc}
*/

View File

@ -54,6 +54,16 @@ class BooleanOperator extends FilterPluginBase {
*/
public $accept_null = FALSE;
/**
* The value title.
*/
public string $value_value;
/**
* The value options.
*/
public ?array $valueOptions;
/**
* {@inheritdoc}
*/

View File

@ -45,6 +45,11 @@ class Bundle extends InOperator {
*/
protected $bundleInfoService;
/**
* The bundle key.
*/
public string $real_field;
/**
* Constructs a Bundle object.
*

View File

@ -19,6 +19,11 @@ namespace Drupal\views\Plugin\views\join;
*/
class Subquery extends JoinPluginBase {
/**
* The left join query.
*/
public string $left_query;
/**
* Constructs a Subquery object.
*/

View File

@ -47,6 +47,11 @@ abstract class QueryPluginBase extends PluginBase implements CacheableDependency
*/
protected $limit;
/**
* The OFFSET on the query.
*/
public int $offset;
/**
* Generate a query and a countquery from all of the information supplied
* to the object.

View File

@ -137,6 +137,11 @@ class Sql extends QueryPluginBase {
*/
protected $messenger;
/**
* The count field definition.
*/
public array $count_field;
/**
* Constructs a Sql object.
*

View File

@ -15,6 +15,16 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
*/
class EntityReverse extends RelationshipPluginBase {
/**
* The views plugin join manager.
*/
public ViewsHandlerManager $joinManager;
/**
* The alias for the left table.
*/
public string $first_alias;
/**
* Constructs an EntityReverse object.
*

View File

@ -59,6 +59,11 @@ use Drupal\views\Entity\View;
*/
class GroupwiseMax extends RelationshipPluginBase {
/**
* The namespace of the subquery.
*/
public string $subquery_namespace;
/**
* {@inheritdoc}
*/

View File

@ -30,13 +30,6 @@ class EntityRow extends RowPluginBase {
*/
public $base_table;
/**
* The actual field which is used for the entity id.
*
* @var string
*/
public $base_field;
/**
* Stores the entity type ID of the result entities.
*

View File

@ -49,6 +49,16 @@ abstract class RowPluginBase extends PluginBase {
*/
protected $usesFields = FALSE;
/**
* The actual field used.
*/
public string $base_field;
/**
* The field alias.
*/
public string $field_alias;
/**
* Returns the usesFields property.
*

View File

@ -20,6 +20,16 @@ use Drupal\Core\Url;
*/
class Rss extends StylePluginBase {
/**
* The RSS namespaces.
*/
public array $namespaces;
/**
* The channel elements.
*/
public array $channel_elements;
/**
* {@inheritdoc}
*/

View File

@ -72,6 +72,16 @@ class ViewExecutable {
*/
protected $ajaxEnabled = FALSE;
/**
* The plugin name.
*/
public ?string $plugin_name;
/**
* The build execution time.
*/
public string|float $build_time;
/**
* Where the results of a query will go.
*

View File

@ -195,16 +195,6 @@ parameters:
count: 1
path: lib/Drupal/Core/Database/Query/Merge.php
-
message: "#^Access to an undefined property Drupal\\\\Core\\\\Database\\\\Query\\\\Select\\:\\:\\$alterMetaData\\.$#"
count: 1
path: lib/Drupal/Core/Database/Query/Select.php
-
message: "#^Access to an undefined property Drupal\\\\Core\\\\Database\\\\Query\\\\Select\\:\\:\\$alterTags\\.$#"
count: 3
path: lib/Drupal/Core/Database/Query/Select.php
-
message: "#^Access to an undefined property Drupal\\\\Core\\\\Database\\\\Query\\\\Truncate\\:\\:\\$condition\\.$#"
count: 2
@ -335,11 +325,6 @@ parameters:
count: 1
path: lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php
-
message: "#^Access to an undefined property Drupal\\\\Core\\\\Field\\\\Entity\\\\BaseFieldOverride\\:\\:\\$original\\.$#"
count: 5
path: lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
-
message: "#^Method Drupal\\\\Core\\\\Field\\\\FieldItemBase\\:\\:generateSampleValue\\(\\) should return array but return statement is missing\\.$#"
count: 1
@ -770,11 +755,6 @@ parameters:
count: 1
path: modules/comment/src/Plugin/views/field/NodeNewComments.php
-
message: "#^Access to an undefined property Drupal\\\\comment\\\\Plugin\\\\views\\\\field\\\\StatisticsLastCommentName\\:\\:\\$uid\\.$#"
count: 2
path: modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php
-
message: "#^Access to an undefined property Drupal\\\\comment\\\\Plugin\\\\views\\\\field\\\\StatisticsLastCommentName\\:\\:\\$user_field\\.$#"
count: 1
@ -795,11 +775,6 @@ parameters:
count: 1
path: modules/comment/src/Plugin/views/filter/StatisticsLastUpdated.php
-
message: "#^Access to an undefined property Drupal\\\\comment\\\\Plugin\\\\views\\\\row\\\\Rss\\:\\:\\$field_alias\\.$#"
count: 1
path: modules/comment/src/Plugin/views/row/Rss.php
-
message: "#^Access to an undefined property Drupal\\\\comment\\\\Plugin\\\\views\\\\sort\\\\StatisticsLastCommentName\\:\\:\\$user_field\\.$#"
count: 1
@ -930,16 +905,6 @@ parameters:
count: 1
path: modules/dblog/tests/src/Kernel/DbLogTest.php
-
message: "#^Access to an undefined property Drupal\\\\field\\\\Entity\\\\FieldConfig\\:\\:\\$original\\.$#"
count: 4
path: modules/field/src/Entity/FieldConfig.php
-
message: "#^Access to an undefined property Drupal\\\\field\\\\Entity\\\\FieldStorageConfig\\:\\:\\$original\\.$#"
count: 6
path: modules/field/src/Entity/FieldStorageConfig.php
-
message: "#^Call to deprecated constant REQUEST_TIME\\: Deprecated in drupal\\:8\\.3\\.0 and is removed from drupal\\:10\\.0\\.0\\. Use \\\\Drupal\\:\\:time\\(\\)\\-\\>getRequestTime\\(\\); $#"
count: 2
@ -1323,16 +1288,6 @@ parameters:
count: 1
path: modules/node/src/NodeViewBuilder.php
-
message: "#^Access to an undefined property Drupal\\\\node\\\\Plugin\\\\views\\\\argument\\\\Type\\:\\:\\$name_alias\\.$#"
count: 1
path: modules/node/src/Plugin/views/argument/Type.php
-
message: "#^Access to an undefined property Drupal\\\\node\\\\Plugin\\\\views\\\\row\\\\Rss\\:\\:\\$field_alias\\.$#"
count: 2
path: modules/node/src/Plugin/views/row/Rss.php
-
message: "#^Call to deprecated constant REQUEST_TIME\\: Deprecated in drupal\\:8\\.3\\.0 and is removed from drupal\\:10\\.0\\.0\\. Use \\\\Drupal\\:\\:time\\(\\)\\-\\>getRequestTime\\(\\); $#"
count: 1
@ -1398,16 +1353,6 @@ parameters:
count: 1
path: modules/options/src/Plugin/Field/FieldType/ListStringItem.php
-
message: "#^Access to an undefined property Drupal\\\\options\\\\Plugin\\\\views\\\\argument\\\\NumberListField\\:\\:\\$name_alias\\.$#"
count: 1
path: modules/options/src/Plugin/views/argument/NumberListField.php
-
message: "#^Access to an undefined property Drupal\\\\options\\\\Plugin\\\\views\\\\argument\\\\StringListField\\:\\:\\$name_alias\\.$#"
count: 1
path: modules/options/src/Plugin/views/argument/StringListField.php
-
message: "#^Method Drupal\\\\path\\\\PathAliasForm\\:\\:save\\(\\) should return int but return statement is missing\\.$#"
count: 1
@ -1463,21 +1408,6 @@ parameters:
count: 1
path: modules/search/src/Form/SearchPageFormBase.php
-
message: "#^Access to an undefined property Drupal\\\\search\\\\Plugin\\\\views\\\\argument\\\\Search\\:\\:\\$operator\\.$#"
count: 1
path: modules/search/src/Plugin/views/argument/Search.php
-
message: "#^Access to an undefined property Drupal\\\\search\\\\Plugin\\\\views\\\\argument\\\\Search\\:\\:\\$search_score\\.$#"
count: 1
path: modules/search/src/Plugin/views/argument/Search.php
-
message: "#^Access to an undefined property Drupal\\\\search\\\\Plugin\\\\views\\\\filter\\\\Search\\:\\:\\$search_score\\.$#"
count: 1
path: modules/search/src/Plugin/views/filter/Search.php
-
message: "#^Call to deprecated constant REQUEST_TIME\\: Deprecated in drupal\\:8\\.3\\.0 and is removed from drupal\\:10\\.0\\.0\\. Use \\\\Drupal\\:\\:time\\(\\)\\-\\>getRequestTime\\(\\); $#"
count: 1
@ -1653,11 +1583,6 @@ parameters:
count: 1
path: modules/taxonomy/src/Plugin/migrate/source/d7/TermTranslation.php
-
message: "#^Access to an undefined property Drupal\\\\taxonomy\\\\Plugin\\\\views\\\\argument\\\\IndexTidDepthModifier\\:\\:\\$position\\.$#"
count: 1
path: modules/taxonomy/src/Plugin/views/argument/IndexTidDepthModifier.php
-
message: "#^Call to function unset\\(\\) contains undefined variable \\$handler\\.$#"
count: 1
@ -1743,11 +1668,6 @@ parameters:
count: 1
path: modules/user/src/Plugin/views/field/UserData.php
-
message: "#^Access to an undefined property Drupal\\\\user\\\\Plugin\\\\views\\\\filter\\\\Current\\:\\:\\$value_value\\.$#"
count: 1
path: modules/user/src/Plugin/views/filter/Current.php
-
message: "#^Access to an undefined property Drupal\\\\user\\\\Plugin\\\\views\\\\filter\\\\Name\\:\\:\\$validated_exposed_input\\.$#"
count: 1
@ -1813,21 +1733,6 @@ parameters:
count: 1
path: modules/views/src/Form/ViewsFormMainForm.php
-
message: "#^Access to an undefined property \\$this\\(Drupal\\\\views\\\\ManyToOneHelper\\)\\:\\:\\$handler\\.$#"
count: 1
path: modules/views/src/ManyToOneHelper.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\ManyToOneHelper\\:\\:\\$handler\\.$#"
count: 58
path: modules/views/src/ManyToOneHelper.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\HandlerBase\\:\\:\\$is_handler\\.$#"
count: 1
path: modules/views/src/Plugin/views/HandlerBase.php
-
message: "#^Call to an undefined method \\$this\\(Drupal\\\\views\\\\Plugin\\\\views\\\\HandlerBase\\)\\:\\:getFormula\\(\\)\\.$#"
count: 1
@ -1843,141 +1748,11 @@ parameters:
count: 1
path: modules/views/src/Plugin/views/area/HTTPStatusCode.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\ArgumentPluginBase\\:\\:\\$argument_validated\\.$#"
count: 2
path: modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\ArgumentPluginBase\\:\\:\\$base_alias\\.$#"
count: 3
path: modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\ArgumentPluginBase\\:\\:\\$count_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\ArgumentPluginBase\\:\\:\\$is_default\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\ArgumentPluginBase\\:\\:\\$name_alias\\.$#"
count: 5
path: modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\ArgumentPluginBase\\:\\:\\$name_table_alias\\.$#"
count: 3
path: modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\ArgumentPluginBase\\:\\:\\$operator\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\ArgumentPluginBase\\:\\:\\$position\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
-
message: "#^Call to deprecated constant REQUEST_TIME\\: Deprecated in drupal\\:8\\.3\\.0 and is removed from drupal\\:10\\.0\\.0\\. Use \\\\Drupal\\:\\:time\\(\\)\\-\\>getRequestTime\\(\\); $#"
count: 1
path: modules/views/src/Plugin/views/argument/Date.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\DayDate\\:\\:\\$base_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/DayDate.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\DayDate\\:\\:\\$name_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/DayDate.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\Formula\\:\\:\\$base_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/Formula.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\Formula\\:\\:\\$name_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/Formula.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\FullDate\\:\\:\\$name_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/FullDate.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\LanguageArgument\\:\\:\\$name_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/LanguageArgument.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\ManyToOne\\:\\:\\$base_alias\\.$#"
count: 2
path: modules/views/src/Plugin/views/argument/ManyToOne.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\ManyToOne\\:\\:\\$helper\\.$#"
count: 5
path: modules/views/src/Plugin/views/argument/ManyToOne.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\ManyToOne\\:\\:\\$operator\\.$#"
count: 4
path: modules/views/src/Plugin/views/argument/ManyToOne.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\MonthDate\\:\\:\\$base_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/MonthDate.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\MonthDate\\:\\:\\$name_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/MonthDate.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\StringArgument\\:\\:\\$base_alias\\.$#"
count: 3
path: modules/views/src/Plugin/views/argument/StringArgument.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\StringArgument\\:\\:\\$helper\\.$#"
count: 5
path: modules/views/src/Plugin/views/argument/StringArgument.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\StringArgument\\:\\:\\$operator\\.$#"
count: 4
path: modules/views/src/Plugin/views/argument/StringArgument.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\WeekDate\\:\\:\\$name_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/WeekDate.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument\\\\YearMonthDate\\:\\:\\$name_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument/YearMonthDate.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument_default\\\\ArgumentDefaultPluginBase\\:\\:\\$option_name\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\argument_validator\\\\ArgumentValidatorPluginBase\\:\\:\\$option_name\\.$#"
count: 1
path: modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php
-
message: "#^Undefined variable\\: \\$arg$#"
count: 1
@ -1993,41 +1768,11 @@ parameters:
count: 1
path: modules/views/src/Plugin/views/cache/Time.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\display\\\\DisplayPluginBase\\:\\:\\$default_display\\.$#"
count: 2
path: modules/views/src/Plugin/views/display/DisplayPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\display\\\\DisplayPluginBase\\:\\:\\$has_exposed\\.$#"
count: 3
path: modules/views/src/Plugin/views/display/DisplayPluginBase.php
-
message: "#^Cannot unset offset 'items_per_page' on array\\{access\\: array\\{'access'\\}, cache\\: array\\{'cache'\\}, title\\: array\\{'title'\\}, css_class\\: array\\{'css_class'\\}, use_ajax\\: array\\{'use_ajax'\\}, hide_attachment_summary\\: array\\{'hide_attachment…'\\}, show_admin_links\\: array\\{'show_admin_links'\\}, group_by\\: array\\{'group_by'\\}, \\.\\.\\.\\}\\.$#"
count: 1
path: modules/views/src/Plugin/views/display/DisplayPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\display\\\\EntityReference\\:\\:\\$id_field_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/display/EntityReference.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\Boolean\\:\\:\\$formats\\.$#"
count: 4
path: modules/views/src/Plugin/views/field/Boolean.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\BulkForm\\:\\:\\$last_render\\.$#"
count: 1
path: modules/views/src/Plugin/views/field/BulkForm.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\Counter\\:\\:\\$last_render\\.$#"
count: 1
path: modules/views/src/Plugin/views/field/Counter.php
-
message: "#^Call to deprecated constant REQUEST_TIME\\: Deprecated in drupal\\:8\\.3\\.0 and is removed from drupal\\:10\\.0\\.0\\. Use \\\\Drupal\\:\\:time\\(\\)\\-\\>getRequestTime\\(\\); $#"
count: 2
@ -2038,11 +1783,6 @@ parameters:
count: 1
path: modules/views/src/Plugin/views/field/Date.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\EntityField\\:\\:\\$group_fields\\.$#"
count: 1
path: modules/views/src/Plugin/views/field/EntityField.php
-
message: "#^Method Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\EntityField\\:\\:getFieldStorageDefinition\\(\\) should return Drupal\\\\Core\\\\Field\\\\FieldStorageDefinitionInterface but return statement is missing\\.$#"
count: 1
@ -2053,31 +1793,6 @@ parameters:
count: 1
path: modules/views/src/Plugin/views/field/EntityField.php
-
message: "#^Access to an undefined property \\$this\\(Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\FieldPluginBase\\)&Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\MultiItemsFieldHandlerInterface\\:\\:\\$last_render\\.$#"
count: 1
path: modules/views/src/Plugin/views/field/FieldPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\FieldPluginBase\\:\\:\\$last_render\\.$#"
count: 10
path: modules/views/src/Plugin/views/field/FieldPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\FieldPluginBase\\:\\:\\$last_render_text\\.$#"
count: 2
path: modules/views/src/Plugin/views/field/FieldPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\FieldPluginBase\\:\\:\\$last_tokens\\.$#"
count: 1
path: modules/views/src/Plugin/views/field/FieldPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\Markup\\:\\:\\$format\\.$#"
count: 2
path: modules/views/src/Plugin/views/field/Markup.php
-
message: "#^Method Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\Markup\\:\\:render\\(\\) should return Drupal\\\\Component\\\\Render\\\\MarkupInterface\\|string but return statement is missing\\.$#"
count: 1
@ -2088,101 +1803,26 @@ parameters:
count: 1
path: modules/views/src/Plugin/views/field/PrerenderList.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\filter\\\\BooleanOperator\\:\\:\\$valueOptions\\.$#"
count: 7
path: modules/views/src/Plugin/views/filter/BooleanOperator.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\filter\\\\BooleanOperator\\:\\:\\$value_value\\.$#"
count: 3
path: modules/views/src/Plugin/views/filter/BooleanOperator.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\filter\\\\Bundle\\:\\:\\$real_field\\.$#"
count: 1
path: modules/views/src/Plugin/views/filter/Bundle.php
-
message: "#^Call to an undefined method Drupal\\\\views\\\\Plugin\\\\views\\\\filter\\\\FilterPluginBase\\:\\:operators\\(\\)\\.$#"
count: 2
path: modules/views/src/Plugin/views/filter/FilterPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\join\\\\Subquery\\:\\:\\$left_query\\.$#"
count: 2
path: modules/views/src/Plugin/views/join/Subquery.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\query\\\\QueryPluginBase\\:\\:\\$groupOperator\\.$#"
count: 1
path: modules/views/src/Plugin/views/query/QueryPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\query\\\\QueryPluginBase\\:\\:\\$offset\\.$#"
count: 1
path: modules/views/src/Plugin/views/query/QueryPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\query\\\\Sql\\:\\:\\$count_field\\.$#"
count: 2
path: modules/views/src/Plugin/views/query/Sql.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\relationship\\\\EntityReverse\\:\\:\\$first_alias\\.$#"
count: 1
path: modules/views/src/Plugin/views/relationship/EntityReverse.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\relationship\\\\EntityReverse\\:\\:\\$joinManager\\.$#"
count: 3
path: modules/views/src/Plugin/views/relationship/EntityReverse.php
-
message: "#^Undefined variable\\: \\$def$#"
count: 2
path: modules/views/src/Plugin/views/relationship/EntityReverse.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\relationship\\\\GroupwiseMax\\:\\:\\$subquery_namespace\\.$#"
count: 2
path: modules/views/src/Plugin/views/relationship/GroupwiseMax.php
-
message: "#^Access to an undefined property \\$this\\(Drupal\\\\views\\\\Plugin\\\\views\\\\row\\\\RowPluginBase\\)\\:\\:\\$base_field\\.$#"
count: 2
path: modules/views/src/Plugin/views/row/RowPluginBase.php
-
message: "#^Access to an undefined property \\$this\\(Drupal\\\\views\\\\Plugin\\\\views\\\\row\\\\RowPluginBase\\)\\:\\:\\$field_alias\\.$#"
count: 2
path: modules/views/src/Plugin/views/row/RowPluginBase.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\sort\\\\GroupByNumeric\\:\\:\\$handler\\.$#"
count: 1
path: modules/views/src/Plugin/views/sort/GroupByNumeric.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\style\\\\Rss\\:\\:\\$channel_elements\\.$#"
count: 1
path: modules/views/src/Plugin/views/style/Rss.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\style\\\\Rss\\:\\:\\$namespaces\\.$#"
count: 1
path: modules/views/src/Plugin/views/style/Rss.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\ViewExecutable\\:\\:\\$build_time\\.$#"
count: 2
path: modules/views/src/ViewExecutable.php
-
message: "#^Access to an undefined property Drupal\\\\views\\\\ViewExecutable\\:\\:\\$plugin_name\\.$#"
count: 1
path: modules/views/src/ViewExecutable.php
-
message: "#^Call to deprecated constant REQUEST_TIME\\: Deprecated in drupal\\:8\\.3\\.0 and is removed from drupal\\:10\\.0\\.0\\. Use \\\\Drupal\\:\\:time\\(\\)\\-\\>getRequestTime\\(\\); $#"
count: 1
@ -2193,11 +1833,6 @@ parameters:
count: 1
path: modules/views/tests/modules/views_config_entity_test/src/Entity/ViewsConfigEntityTest.php
-
message: "#^Access to an undefined property Drupal\\\\views_test_data\\\\Plugin\\\\views\\\\field\\\\FieldFormButtonTest\\:\\:\\$last_render\\.$#"
count: 1
path: modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldFormButtonTest.php
-
message: "#^Method Drupal\\\\views_test_data\\\\Plugin\\\\views\\\\filter\\\\FilterTest\\:\\:buildOptionsForm\\(\\) should return array but return statement is missing\\.$#"
count: 1