Commit e09aa57a authored by catch's avatar catch
Browse files

Issue #3336586 by Spokje: Fix failing "updated deps" test-runs by upping...

Issue #3336586 by Spokje: Fix failing "updated deps" test-runs by upping mglaman/phpstan-drupal to latest
parent aec39c8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
        "composer/composer": "^2.4",
        "drupal/coder": "^8.3.10",
        "instaclick/php-webdriver": "^1.4.1",
        "mglaman/phpstan-drupal": "^1.1.26",
        "mglaman/phpstan-drupal": "^1.1.27",
        "mikey179/vfsstream": "^1.6.11",
        "phpunit/phpunit": "^9.5",
        "phpspec/prophecy-phpunit": "^2",
+7 −7
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
        "This file is @generated automatically"
    ],
    "content-hash": "85fce9014bf3bc99add14de1104ac465",
    "content-hash": "61986bc4b700962253cbe622402cdaa9",
    "packages": [
        {
            "name": "asm89/stack-cors",
@@ -5106,16 +5106,16 @@
        },
        {
            "name": "mglaman/phpstan-drupal",
            "version": "1.1.26",
            "version": "1.1.27",
            "source": {
                "type": "git",
                "url": "https://github.com/mglaman/phpstan-drupal.git",
                "reference": "5e8b527e4d9b9f23f37eac727b31aeff278bbe43"
                "reference": "61daa574664fa138f42dc7e883de9a12a7703462"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/5e8b527e4d9b9f23f37eac727b31aeff278bbe43",
                "reference": "5e8b527e4d9b9f23f37eac727b31aeff278bbe43",
                "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/61daa574664fa138f42dc7e883de9a12a7703462",
                "reference": "61daa574664fa138f42dc7e883de9a12a7703462",
                "shasum": ""
            },
            "require": {
@@ -5190,7 +5190,7 @@
            "description": "Drupal extension and rules for PHPStan",
            "support": {
                "issues": "https://github.com/mglaman/phpstan-drupal/issues",
                "source": "https://github.com/mglaman/phpstan-drupal/tree/1.1.26"
                "source": "https://github.com/mglaman/phpstan-drupal/tree/1.1.27"
            },
            "funding": [
                {
@@ -5206,7 +5206,7 @@
                    "type": "tidelift"
                }
            ],
            "time": "2022-12-22T14:42:15+00:00"
            "time": "2023-01-25T22:02:09+00:00"
        },
        {
            "name": "mikey179/vfsstream",
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
        "drupal/coder": "^8.3.10",
        "instaclick/php-webdriver": "^1.4.1",
        "justinrainbow/json-schema": "^5.2",
        "mglaman/phpstan-drupal": "^1.1.26",
        "mglaman/phpstan-drupal": "^1.1.27",
        "mikey179/vfsstream": "^1.6.11",
        "phpspec/prophecy-phpunit": "^2",
        "phpstan/extension-installer": "^1.1",
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
        "drupal/coder": "8.3.16",
        "instaclick/php-webdriver": "1.4.16",
        "justinrainbow/json-schema": "5.2.12",
        "mglaman/phpstan-drupal": "1.1.26",
        "mglaman/phpstan-drupal": "1.1.27",
        "mikey179/vfsstream": "v1.6.11",
        "myclabs/deep-copy": "1.11.0",
        "nikic/php-parser": "v4.15.2",
+56 −16
Original line number Diff line number Diff line
@@ -290,6 +290,16 @@ parameters:
			count: 1
			path: lib/Drupal/Core/Condition/ConditionManager.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: lib/Drupal/Core/Config/Entity/ConfigEntityBase.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: lib/Drupal/Core/Config/Entity/ConfigEntityBundleBase.php

		-
			message: "#^Variable \\$value in isset\\(\\) always exists and is not nullable\\.$#"
			count: 2
@@ -810,6 +820,16 @@ parameters:
			count: 1
			path: modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: modules/block/src/BlockForm.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: modules/block/src/BlockListBuilder.php

		-
			message: "#^Method Drupal\\\\Component\\\\Plugin\\\\PluginBase\\:\\:__construct\\(\\) invoked with 4 parameters, 3 required\\.$#"
			count: 1
@@ -1010,6 +1030,11 @@ parameters:
			count: 2
			path: modules/config/src/Form/ConfigSingleImportForm.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: modules/config/tests/config_test/src/ConfigTestForm.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
@@ -1050,6 +1075,11 @@ parameters:
			count: 3
			path: modules/content_moderation/src/Form/ContentModerationStateForm.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: modules/content_moderation/src/ModeratedNodeListBuilder.php

		-
			message: "#^Method Drupal\\\\content_moderation\\\\ModerationInformation\\:\\:getAffectedRevisionTranslation\\(\\) should return Drupal\\\\Core\\\\Entity\\\\ContentEntityInterface but return statement is missing\\.$#"
			count: 1
@@ -1245,6 +1275,11 @@ parameters:
			count: 1
			path: modules/field_ui/src/Form/EntityDisplayModeFormBase.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: modules/field_ui/src/Form/EntityDisplayModeFormBase.php

		-
			message: "#^Method Drupal\\\\field_ui\\\\Form\\\\FieldConfigEditForm\\:\\:save\\(\\) should return int but return statement is missing\\.$#"
			count: 1
@@ -1260,11 +1295,6 @@ parameters:
			count: 1
			path: modules/field_ui/src/Form/FieldStorageConfigEditForm.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: modules/field_ui/src/Form/FieldStorageConfigEditForm.php

		-
			message: "#^Variable \\$value might not be defined\\.$#"
			count: 1
@@ -1800,11 +1830,6 @@ parameters:
			count: 1
			path: modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php

		-
			message: "#^Variable \\$patterns might not be defined\\.$#"
			count: 1
@@ -2060,6 +2085,16 @@ parameters:
			count: 1
			path: modules/serialization/src/Normalizer/EntityNormalizer.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: modules/serialization/src/Normalizer/EntityNormalizer.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: modules/serialization/src/Normalizer/FieldItemNormalizer.php

		-
			message: "#^Class Drupal\\\\block\\\\Entity\\\\Block referenced with incorrect case\\: Drupal\\\\block\\\\entity\\\\Block\\.$#"
			count: 2
@@ -2405,6 +2440,11 @@ parameters:
			count: 1
			path: modules/user/src/RoleForm.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: modules/user/src/UserListBuilder.php

		-
			message: "#^Call to deprecated constant REQUEST_TIME\\: Deprecated in drupal\\:8\\.3\\.0 and is removed from drupal\\:11\\.0\\.0\\. Use \\\\Drupal\\:\\:time\\(\\)\\-\\>getRequestTime\\(\\); $#"
			count: 2
@@ -2955,11 +2995,6 @@ parameters:
			count: 1
			path: modules/workspaces/src/WorkspacePublisher.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
@@ -3007,7 +3042,7 @@ parameters:

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 2
			count: 75
			path: tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php

		-
@@ -3035,6 +3070,11 @@ parameters:
			count: 3
			path: tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php

		-
			message: "#^Relying on entity queries to check access by default is deprecated in drupal\\:9\\.2\\.0 and an error will be thrown from drupal\\:10\\.0\\.0\\. Call \\\\Drupal\\\\Core\\\\Entity\\\\Query\\\\QueryInterface\\:\\:accessCheck\\(\\) with TRUE or FALSE to specify whether access should be checked\\.$#"
			count: 1
			path: tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php

		-
			message: "#^Variable \\$field might not be defined\\.$#"
			count: 9