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

Issue #3467405 by quietone, smustgrave: Missing @var annotation for properties...

Issue #3467405 by quietone, smustgrave: Missing @var annotation for properties that provide default values

(cherry picked from commit a7180bf1)
parent f09b60ae
Branches
Tags
4 merge requests!11958Issue #3490507 by alexpott, smustgrave: Fix bogus mocking in...,!11769Issue #3517987: Add option to contextual filters to encode slashes in query parameter.,!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...
Pipeline #269018 passed with warnings
Pipeline: drupal

#269059

    Pipeline: drupal

    #269049

      Pipeline: drupal

      #269037

        +1
        Showing
        with 58 additions and 0 deletions
        ......@@ -54,6 +54,8 @@ class DateTimePlus {
        /**
        * An array of possible date parts.
        *
        * @var string[]
        */
        protected static $dateParts = [
        'year',
        ......@@ -108,11 +110,15 @@ class DateTimePlus {
        /**
        * The value of the language code passed to the constructor.
        *
        * @var string|null
        */
        protected $langcode = NULL;
        /**
        * An array of errors encountered when creating this date.
        *
        * @var string[]
        */
        protected $errors = [];
        ......
        ......@@ -67,6 +67,8 @@ class PhpTransliteration implements TransliterationInterface {
        * transliterates to more than one ASCII character require special
        * treatment: we want to remove their accent and use the un-
        * transliterated base character.
        *
        * @var string[]
        */
        protected $fixTransliterateForRemoveDiacritics = [
        'AE' => 'Æ',
        ......
        ......@@ -35,6 +35,8 @@ class CheckProvider implements CheckProviderInterface {
        /**
        * Array of access checks which only will be run on the incoming request.
        *
        * @var string[]
        */
        protected $checksNeedsRequest = [];
        ......
        ......@@ -24,6 +24,8 @@ class MemoryBackend implements CacheBackendInterface, CacheTagsInvalidatorInterf
        /**
        * Array to store cache objects.
        *
        * @var object[]
        */
        protected $cache = [];
        ......
        ......@@ -35,6 +35,8 @@ class PhpBackend implements CacheBackendInterface {
        /**
        * Array to store cache objects.
        *
        * @var object[]
        */
        protected $cache = [];
        ......
        ......@@ -12,6 +12,8 @@ class Condition implements ConditionInterface, \Countable {
        /**
        * Provides a map of condition operators to condition operator options.
        *
        * @var string[][]
        */
        protected static $conditionOperatorMap = [
        'BETWEEN' => ['delimiter' => ' AND '],
        ......
        ......@@ -18,6 +18,8 @@ class MemoryBackend implements FloodInterface, PrefixFloodInterface {
        /**
        * An array holding flood events, keyed by event name and identifier.
        *
        * @var array
        */
        protected $events = [];
        ......
        ......@@ -78,6 +78,8 @@ class MenuLinkTreeElement {
        * This is merged (\Drupal\Component\Utility\NestedArray::mergeDeep()) with
        * \Drupal\Core\Menu\MenuLinkInterface::getOptions(), to allow menu link tree
        * manipulators to add or override link options.
        *
        * @var string[]
        */
        public $options = [];
        ......
        ......@@ -40,11 +40,15 @@ class HelpTest extends BrowserTestBase {
        /**
        * The admin user that will be created.
        *
        * @var \Drupal\user\Entity\User|false
        */
        protected $adminUser;
        /**
        * The anonymous user that will be created.
        *
        * @var \Drupal\user\Entity\User|false
        */
        protected $anyUser;
        ......
        ......@@ -29,6 +29,8 @@ class NoHelpTest extends BrowserTestBase {
        /**
        * The user who will be created.
        *
        * @var \Drupal\user\Entity\User|false
        */
        protected $adminUser;
        ......
        ......@@ -28,6 +28,8 @@ class LocaleExportTest extends BrowserTestBase {
        /**
        * A user able to create languages and export translations.
        *
        * @var \Drupal\user\Entity\User|false
        */
        protected $adminUser = NULL;
        ......
        ......@@ -39,6 +39,8 @@ class MigrateMessageTestBase extends BrowserTestBase {
        /**
        * Migration IDs.
        *
        * @var string[]
        */
        protected $migrationIds = ['custom_test'];
        ......
        ......@@ -17,6 +17,8 @@ class DrupalSqlBaseTest extends MigrateTestCase {
        /**
        * Define bare minimum migration configuration.
        *
        * @var string[]
        */
        protected $migrationConfiguration = [
        'id' => 'DrupalSqlBase',
        ......@@ -50,6 +52,8 @@ class DrupalSqlBaseTest extends MigrateTestCase {
        /**
        * Minimum database contents needed to test DrupalSqlBase.
        *
        * @var string[]
        */
        protected $databaseContents = [
        'system' => [
        ......
        ......@@ -17,6 +17,8 @@ class Drupal6SqlBaseTest extends MigrateTestCase {
        /**
        * Define bare minimum migration configuration.
        *
        * @var string[]
        */
        protected $migrationConfiguration = [
        'id' => 'Drupal6SqlBase',
        ......@@ -29,6 +31,8 @@ class Drupal6SqlBaseTest extends MigrateTestCase {
        /**
        * Minimum database contents needed to test Drupal6SqlBase.
        *
        * @var string[]
        */
        protected $databaseContents = [
        'system' => [
        ......
        ......@@ -57,6 +57,8 @@ class NodeAccessBaseTableTest extends NodeTestBase {
        /**
        * A web user.
        *
        * @var \Drupal\user\Entity\User|false
        */
        protected $webUser;
        ......
        ......@@ -27,11 +27,15 @@ class NodeAccessGrantsCacheContextTest extends NodeTestBase {
        /**
        * User with permission to view content.
        *
        * @var \Drupal\user\Entity\User|false
        */
        protected $accessUser;
        /**
        * User without permission to view content.
        *
        * @var \Drupal\user\Entity\User|false
        */
        protected $noAccessUser;
        ......@@ -44,6 +48,10 @@ class NodeAccessGrantsCacheContextTest extends NodeTestBase {
        /**
        * User with permission to bypass node access.
        *
        * @var \Drupal\user\Entity\User|false
        *
        * @see \Drupal\Tests\user\Traits\UserCreationTrait::createUser
        */
        protected $adminUser;
        ......
        ......@@ -18,6 +18,8 @@ class NodeEntityViewModeAlterTest extends NodeTestBase {
        /**
        * Enable dummy module that implements hook_ENTITY_TYPE_view() for nodes.
        *
        * @var string[]
        */
        protected static $modules = ['node_test'];
        ......
        ......@@ -27,11 +27,15 @@ class NodeQueryAlterTest extends NodeTestBase {
        /**
        * User with permission to view content.
        *
        * @var \Drupal\user\Entity\User|false
        */
        protected $accessUser;
        /**
        * User without permission to view content.
        *
        * @var \Drupal\user\Entity\User|false
        */
        protected $noAccessUser;
        ......
        ......@@ -53,6 +53,8 @@ class Connection extends DatabaseConnection implements SupportsTemporaryTablesIn
        *
        * In PostgreSQL, 'LIKE' is case-sensitive. ILIKE should be used for
        * case-insensitive statements.
        *
        * @var string[][]
        */
        protected static $postgresqlConditionOperatorMap = [
        'LIKE' => ['operator' => 'ILIKE'],
        ......
        ......@@ -43,6 +43,8 @@ class ViewsIntegrationTest extends ViewTestBase {
        /**
        * The test views to enable.
        *
        * @var string[]
        */
        public static $testViews = ['entity_test_row'];
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment