Issue #3431227 by Spokje, longwave: Update phpstan/phpstan-phpunit and make the updated-deps CI job pass again

merge-requests/7078/head
Alex Pott 2024-03-18 10:25:19 +00:00
parent 173217df7e
commit fcabbe1fae
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
5 changed files with 15 additions and 20 deletions

View File

@ -32,7 +32,7 @@
"phpspec/prophecy-phpunit": "^2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.10.47",
"phpstan/phpstan-phpunit": "^1.3.11",
"phpstan/phpstan-phpunit": "^1.3.16",
"phpunit/phpunit": "^9.6.13",
"symfony/browser-kit": "^6.4",
"symfony/css-selector": "^6.4",

14
composer.lock generated
View File

@ -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": "50678d888725975acfa1fb438696b593",
"content-hash": "47de865c46da1a0a556cf960c4dfc17f",
"packages": [
{
"name": "asm89/stack-cors",
@ -7198,16 +7198,16 @@
},
{
"name": "phpstan/phpstan-phpunit",
"version": "1.3.15",
"version": "1.3.16",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-phpunit.git",
"reference": "70ecacc64fe8090d8d2a33db5a51fe8e88acd93a"
"reference": "d5242a59d035e46774f2e634b374bc39ff62cb95"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/70ecacc64fe8090d8d2a33db5a51fe8e88acd93a",
"reference": "70ecacc64fe8090d8d2a33db5a51fe8e88acd93a",
"url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/d5242a59d035e46774f2e634b374bc39ff62cb95",
"reference": "d5242a59d035e46774f2e634b374bc39ff62cb95",
"shasum": ""
},
"require": {
@ -7244,9 +7244,9 @@
"description": "PHPUnit extensions and rules for PHPStan",
"support": {
"issues": "https://github.com/phpstan/phpstan-phpunit/issues",
"source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.15"
"source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.16"
},
"time": "2023-10-09T18:58:39+00:00"
"time": "2024-02-23T09:51:20+00:00"
},
{
"name": "phpunit/php-code-coverage",

View File

@ -24,7 +24,7 @@
"phpspec/prophecy-phpunit": "^2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.10.47",
"phpstan/phpstan-phpunit": "^1.3.11",
"phpstan/phpstan-phpunit": "^1.3.16",
"phpunit/phpunit": "^9.6.13",
"symfony/browser-kit": "^6.4",
"symfony/css-selector": "^6.4",

View File

@ -51,7 +51,7 @@
"phpstan/phpdoc-parser": "1.24.4",
"phpstan/phpstan": "1.10.62",
"phpstan/phpstan-deprecation-rules": "1.1.4",
"phpstan/phpstan-phpunit": "1.3.15",
"phpstan/phpstan-phpunit": "1.3.16",
"phpunit/php-code-coverage": "9.2.29",
"phpunit/php-file-iterator": "3.0.6",
"phpunit/php-invoker": "3.1.1",

View File

@ -1808,6 +1808,11 @@ $ignoreErrors[] = [
'count' => 3,
'path' => __DIR__ . '/modules/system/tests/src/Functional/Menu/BreadcrumbTest.php',
];
$ignoreErrors[] = [
'message' => '#^Variable \\$test_meta in empty\\(\\) always exists and is not falsy\\.$#',
'count' => 2,
'path' => __DIR__ . '/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php',
];
$ignoreErrors[] = [
'message' => '#^Variable \\$expected_required_list_items might not be defined\\.$#',
'count' => 2,
@ -1848,11 +1853,6 @@ $ignoreErrors[] = [
'count' => 1,
'path' => __DIR__ . '/modules/taxonomy/src/VocabularyForm.php',
];
$ignoreErrors[] = [
'message' => '#^Variable \\$depth_count might not be defined\\.$#',
'count' => 4,
'path' => __DIR__ . '/modules/taxonomy/tests/src/Kernel/TermKernelTest.php',
];
$ignoreErrors[] = [
'message' => '#^Method Drupal\\\\tour\\\\TipPluginBase\\:\\:get\\(\\) should return string but return statement is missing\\.$#',
'count' => 1,
@ -2407,11 +2407,6 @@ $ignoreErrors[] = [
'count' => 1,
'path' => __DIR__ . '/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php',
];
$ignoreErrors[] = [
'message' => '#^Variable \\$entity might not be defined\\.$#',
'count' => 1,
'path' => __DIR__ . '/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php',
];
$ignoreErrors[] = [
'message' => '#^Variable \\$new_field_schema_data might not be defined\\.$#',
'count' => 1,