Issue #3357114 by Spokje: Update mglaman/phpstan-drupal and help make daily "updated deps" QA jobs pass

merge-requests/3912/head
catch 2023-05-01 12:13:00 +01:00
parent 5915c70467
commit a707809993
5 changed files with 17 additions and 17 deletions

View File

@ -22,7 +22,7 @@
"drupal/coder": "^8.3.10",
"instaclick/php-webdriver": "^1.4.1",
"justinrainbow/json-schema": "^5.2",
"mglaman/phpstan-drupal": "^1.1.30",
"mglaman/phpstan-drupal": "^1.1.31",
"mikey179/vfsstream": "^1.6.11",
"phpspec/prophecy-phpunit": "^2",
"phpstan/extension-installer": "^1.1",

18
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": "57d04c089c6f7fc0c3f53136521d2f90",
"content-hash": "e2a3d9c74748e488e1a7617d3a6b0202",
"packages": [
{
"name": "asm89/stack-cors",
@ -5103,21 +5103,21 @@
},
{
"name": "mglaman/phpstan-drupal",
"version": "1.1.30",
"version": "1.1.31",
"source": {
"type": "git",
"url": "https://github.com/mglaman/phpstan-drupal.git",
"reference": "21b62499bb1233667f4d2bc6ce11db73500734fe"
"reference": "266474ca92b6cfe7443359c6a5972698781aef9f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/21b62499bb1233667f4d2bc6ce11db73500734fe",
"reference": "21b62499bb1233667f4d2bc6ce11db73500734fe",
"url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/266474ca92b6cfe7443359c6a5972698781aef9f",
"reference": "266474ca92b6cfe7443359c6a5972698781aef9f",
"shasum": ""
},
"require": {
"php": "^7.4 || ^8.0",
"phpstan/phpstan": "^1.9.0",
"phpstan/phpstan": "^1.10.1",
"symfony/finder": "~3.4.5 ||^4.2 || ^5.0 || ^6.0",
"symfony/yaml": "~3.4.5 || ^4.2|| ^5.0 || ^6.0",
"webflo/drupal-finder": "^1.2"
@ -5126,7 +5126,7 @@
"behat/mink": "^1.8",
"composer/installers": "^1.9",
"drupal/core-recommended": "^8.8@alpha || ^9.0",
"drush/drush": "^9.6 || ^10.0",
"drush/drush": "^9.6 || ^10.0 || ^11",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-strict-rules": "^1.0",
@ -5187,7 +5187,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.30"
"source": "https://github.com/mglaman/phpstan-drupal/tree/1.1.31"
},
"funding": [
{
@ -5203,7 +5203,7 @@
"type": "tidelift"
}
],
"time": "2023-04-07T13:36:19+00:00"
"time": "2023-04-27T17:33:01+00:00"
},
{
"name": "mikey179/vfsstream",

View File

@ -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.30",
"mglaman/phpstan-drupal": "^1.1.31",
"mikey179/vfsstream": "^1.6.11",
"phpspec/prophecy-phpunit": "^2",
"phpstan/extension-installer": "^1.1",

View File

@ -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.30",
"mglaman/phpstan-drupal": "1.1.31",
"mikey179/vfsstream": "v1.6.11",
"myclabs/deep-copy": "1.11.0",
"nikic/php-parser": "v4.15.2",

View File

@ -1600,11 +1600,6 @@ parameters:
count: 1
path: modules/menu_ui/src/MenuForm.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/menu_ui/src/MenuForm.php
-
message: "#^Constructor of class Drupal\\\\migrate\\\\MigrateException has an unused parameter \\$code\\.$#"
count: 1
@ -3150,6 +3145,11 @@ parameters:
count: 1
path: tests/Drupal/Tests/Core/Render/RendererCallbackTest.php
-
message: "#^\\#access_callback callback class 'Drupal\\\\\\\\Tests\\\\\\\\Core…' at key '0' does not implement Drupal\\\\Core\\\\Security\\\\TrustedCallbackInterface\\.$#"
count: 4
path: tests/Drupal/Tests/Core/Render/RendererTest.php
-
message: "#^Variable \\$value in isset\\(\\) always exists and is not nullable\\.$#"
count: 1