Verified Commit 810334c7 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3278916 by mallezie, mondrake: Update phpstan/phpstan to latest version

parent 5c2b568c
Loading
Loading
Loading
Loading
+7 −12
Original line number Diff line number Diff line
@@ -5881,20 +5881,20 @@
        },
        {
            "name": "phpstan/phpstan",
            "version": "1.4.0",
            "version": "1.6.8",
            "source": {
                "type": "git",
                "url": "https://github.com/phpstan/phpstan.git",
                "reference": "72b04d97b5e6e60a081f17c416fef35bd521120b"
                "reference": "d76498c5531232cb8386ceb6004f7e013138d3ba"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/72b04d97b5e6e60a081f17c416fef35bd521120b",
                "reference": "72b04d97b5e6e60a081f17c416fef35bd521120b",
                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d76498c5531232cb8386ceb6004f7e013138d3ba",
                "reference": "d76498c5531232cb8386ceb6004f7e013138d3ba",
                "shasum": ""
            },
            "require": {
                "php": "^7.1|^8.0"
                "php": "^7.2|^8.0"
            },
            "conflict": {
                "phpstan/phpstan-shim": "*"
@@ -5904,11 +5904,6 @@
                "phpstan.phar"
            ],
            "type": "library",
            "extra": {
                "branch-alias": {
                    "dev-master": "1.4-dev"
                }
            },
            "autoload": {
                "files": [
                    "bootstrap.php"
@@ -5921,7 +5916,7 @@
            "description": "PHPStan - PHP Static Analysis Tool",
            "support": {
                "issues": "https://github.com/phpstan/phpstan/issues",
                "source": "https://github.com/phpstan/phpstan/tree/1.4.0"
                "source": "https://github.com/phpstan/phpstan/tree/1.6.8"
            },
            "funding": [
                {
@@ -5941,7 +5936,7 @@
                    "type": "tidelift"
                }
            ],
            "time": "2022-01-14T15:58:47+00:00"
            "time": "2022-05-10T06:54:21+00:00"
        },
        {
            "name": "phpunit/php-code-coverage",
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
        "phpspec/prophecy": "v1.15.0",
        "phpspec/prophecy-phpunit": "v2.0.1",
        "phpstan/extension-installer": "1.1.0",
        "phpstan/phpstan": "1.4.0",
        "phpstan/phpstan": "1.6.8",
        "phpunit/php-code-coverage": "9.2.15",
        "phpunit/php-file-iterator": "3.0.6",
        "phpunit/php-invoker": "3.1.1",
+6 −86
Original line number Diff line number Diff line
@@ -217,12 +217,12 @@ parameters:

		-
			message: "#^Access to an undefined property Drupal\\\\Core\\\\Database\\\\Query\\\\Select\\:\\:\\$alterMetaData\\.$#"
			count: 2
			count: 1
			path: lib/Drupal/Core/Database/Query/Select.php

		-
			message: "#^Access to an undefined property Drupal\\\\Core\\\\Database\\\\Query\\\\Select\\:\\:\\$alterTags\\.$#"
			count: 4
			count: 3
			path: lib/Drupal/Core/Database/Query/Select.php

		-
@@ -277,11 +277,6 @@ parameters:

		-
			message: "#^Access to an undefined property Drupal\\\\Core\\\\Entity\\\\EntityBase\\:\\:\\$id\\.$#"
			count: 2
			path: lib/Drupal/Core/Entity/EntityBase.php

		-
			message: "#^Access to an undefined property Drupal\\\\Core\\\\Entity\\\\EntityBase\\:\\:\\$uuid\\.$#"
			count: 1
			path: lib/Drupal/Core/Entity/EntityBase.php

@@ -360,21 +355,11 @@ parameters:
			count: 1
			path: lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php

		-
			message: "#^Access to an undefined property Drupal\\\\Core\\\\Extension\\\\Extension\\:\\:\\$info\\.$#"
			count: 3
			path: lib/Drupal/Core/Extension/Extension.php

		-
			message: "#^Access to an undefined property Drupal\\\\Core\\\\Field\\\\Entity\\\\BaseFieldOverride\\:\\:\\$original\\.$#"
			count: 5
			path: lib/Drupal/Core/Field/Entity/BaseFieldOverride.php

		-
			message: "#^Access to an undefined property Drupal\\\\Core\\\\Field\\\\FieldConfigBase\\:\\:\\$definition\\.$#"
			count: 1
			path: lib/Drupal/Core/Field/FieldConfigBase.php

		-
			message: "#^Method Drupal\\\\Core\\\\Field\\\\FieldItemBase\\:\\:generateSampleValue\\(\\) should return array but return statement is missing\\.$#"
			count: 1
@@ -707,7 +692,7 @@ parameters:

		-
			message: "#^Access to an undefined property Drupal\\\\block\\\\Plugin\\\\migrate\\\\process\\\\BlockTheme\\:\\:\\$themes\\.$#"
			count: 2
			count: 1
			path: modules/block/src/Plugin/migrate/process/BlockTheme.php

		-
@@ -1260,11 +1245,6 @@ parameters:
			count: 1
			path: modules/file/file.module

		-
			message: "#^Function uploadprogress_get_info not found\\.$#"
			count: 1
			path: modules/file/src/Controller/FileWidgetAjaxController.php

		-
			message: "#^Method Drupal\\\\file\\\\Plugin\\\\Field\\\\FieldType\\\\FileFieldItemList\\:\\:defaultValuesForm\\(\\) should return array but return statement is missing\\.$#"
			count: 1
@@ -2383,11 +2363,6 @@ parameters:
			count: 1
			path: modules/rest/src/Plugin/Deriver/EntityDeriver.php

		-
			message: "#^Method Drupal\\\\rest\\\\Plugin\\\\rest\\\\resource\\\\EntityResource\\:\\:calculateDependencies\\(\\) should return array but return statement is missing\\.$#"
			count: 1
			path: modules/rest/src/Plugin/rest/resource/EntityResource.php

		-
			message: "#^Method Drupal\\\\rest\\\\Routing\\\\ResourceRoutes\\:\\:onDynamicRouteEvent\\(\\) should return array but return statement is missing\\.$#"
			count: 1
@@ -2438,11 +2413,6 @@ parameters:
			count: 1
			path: modules/search/src/Plugin/views/argument/Search.php

		-
			message: "#^Method Drupal\\\\search\\\\Plugin\\\\views\\\\field\\\\Score\\:\\:render\\(\\) should return Drupal\\\\Component\\\\Render\\\\MarkupInterface\\|string but return statement is missing\\.$#"
			count: 1
			path: modules/search/src/Plugin/views/field/Score.php

		-
			message: "#^Access to an undefined property Drupal\\\\search\\\\Plugin\\\\views\\\\filter\\\\Search\\:\\:\\$search_score\\.$#"
			count: 1
@@ -2959,14 +2929,9 @@ parameters:
			count: 1
			path: modules/views/src/ManyToOneHelper.php

		-
			message: "#^Access to an undefined property Drupal\\\\views\\\\ManyToOneHelper\\:\\:\\$definition\\.$#"
			count: 1
			path: modules/views/src/ManyToOneHelper.php

		-
			message: "#^Access to an undefined property Drupal\\\\views\\\\ManyToOneHelper\\:\\:\\$handler\\.$#"
			count: 72
			count: 58
			path: modules/views/src/ManyToOneHelper.php

		-
@@ -3161,7 +3126,7 @@ parameters:

		-
			message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\field\\\\Boolean\\:\\:\\$formats\\.$#"
			count: 5
			count: 4
			path: modules/views/src/Plugin/views/field/Boolean.php

		-
@@ -3294,11 +3259,6 @@ parameters:
			count: 2
			path: modules/views/src/Plugin/views/relationship/GroupwiseMax.php

		-
			message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\row\\\\OpmlFields\\:\\:\\$field_alias\\.$#"
			count: 1
			path: modules/views/src/Plugin/views/row/OpmlFields.php

		-
			message: "#^Access to an undefined property \\$this\\(Drupal\\\\views\\\\Plugin\\\\views\\\\row\\\\RowPluginBase\\)\\:\\:\\$base_field\\.$#"
			count: 2
@@ -3309,16 +3269,6 @@ parameters:
			count: 2
			path: modules/views/src/Plugin/views/row/RowPluginBase.php

		-
			message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\row\\\\RowPluginBase\\:\\:\\$field_alias\\.$#"
			count: 1
			path: modules/views/src/Plugin/views/row/RowPluginBase.php

		-
			message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\row\\\\RssFields\\:\\:\\$field_alias\\.$#"
			count: 1
			path: modules/views/src/Plugin/views/row/RssFields.php

		-
			message: "#^Access to an undefined property Drupal\\\\views\\\\Plugin\\\\views\\\\sort\\\\GroupByNumeric\\:\\:\\$handler\\.$#"
			count: 1
@@ -3349,26 +3299,6 @@ parameters:
			count: 1
			path: modules/views/src/ViewExecutable.php

		-
			message: "#^Method Drupal\\\\views\\\\ViewExecutable\\:\\:getCurrentPage\\(\\) should return int but return statement is missing\\.$#"
			count: 1
			path: modules/views/src/ViewExecutable.php

		-
			message: "#^Method Drupal\\\\views\\\\ViewExecutable\\:\\:getItemsPerPage\\(\\) should return int but return statement is missing\\.$#"
			count: 1
			path: modules/views/src/ViewExecutable.php

		-
			message: "#^Method Drupal\\\\views\\\\ViewExecutable\\:\\:getOffset\\(\\) should return int but return statement is missing\\.$#"
			count: 1
			path: modules/views/src/ViewExecutable.php

		-
			message: "#^Method Drupal\\\\views\\\\ViewExecutable\\:\\:usePager\\(\\) should return bool but return statement is missing\\.$#"
			count: 1
			path: modules/views/src/ViewExecutable.php

		-
			message: "#^Configuration entity must define a `config_export` key\\. See https\\://www\\.drupal\\.org/node/2481909$#"
			count: 1
@@ -3760,11 +3690,6 @@ parameters:
			count: 1
			path: tests/Drupal/KernelTests/KernelTestBase.php

		-
			message: "#^Access to an undefined property Drupal\\\\KernelTests\\\\KernelTestBase\\:\\:\\$url\\.$#"
			count: 1
			path: tests/Drupal/KernelTests/KernelTestBase.php

		-
			message: "#^Method Drupal\\\\KernelTests\\\\KernelTestBase\\:\\:assertEscaped\\(\\) should return bool but return statement is missing\\.$#"
			count: 1
@@ -4036,7 +3961,7 @@ parameters:
			path: tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php

		-
			message: "#^\\#access_callback value 'literal\\-string&non\\-empty\\-string' at key '0' is invalid\\.$#"
			message: "#^\\#access_callback value ''Drupal\\\\\\\\Tests\\\\\\\\Core…'\\|'Drupal\\\\\\\\Tests\\\\\\\\Core…'\\|'Drupal\\\\\\\\Tests\\\\\\\\Core…'\\|'Drupal\\\\\\\\Tests\\\\\\\\Core…'' at key '0' is invalid\\.$#"
			count: 1
			path: tests/Drupal/Tests/Core/Render/RendererTest.php

@@ -4065,11 +3990,6 @@ parameters:
			count: 2
			path: tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php

		-
			message: "#^Access to an undefined property Drupal\\\\Tests\\\\Core\\\\Test\\\\TestClass\\:\\:\\$url\\.$#"
			count: 1
			path: tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php

		-
			message: "#^Call to an undefined method Drupal\\\\Tests\\\\Core\\\\Test\\\\TestClass\\:\\:assertArrayHasKey\\(\\)\\.$#"
			count: 3