Commit 9cb8e092 authored by catch's avatar catch
Browse files

task: #3629920 [12.0.x backport] Bump PHPStan to version 2.3.4

By: mondrake
By: catch
By: xjm
By: dcam
By: godotislate
By: mstrelan
parent d4b447b4
Loading
Loading
Loading
Loading
Loading
+3 −3
+24 −24
Changes for composer.lock: 24 added lines, 24 removed lines.
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": "656c5666d63d59c98e1a32836019f088",
    "content-hash": "59bab1aa91e77a7ec750fa0d6a40b679",
    "packages": [
        {
            "name": "asm89/stack-cors",
@@ -6186,16 +6186,16 @@
        },
        {
            "name": "mglaman/phpstan-drupal",
            "version": "2.2.1",
            "version": "2.2.2",
            "source": {
                "type": "git",
                "url": "https://github.com/mglaman/phpstan-drupal.git",
                "reference": "689728df42d62cf24ec60d5996babc0cef044654"
                "reference": "99d198489a50bf5a654187bf2e6acd55786157d7"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/689728df42d62cf24ec60d5996babc0cef044654",
                "reference": "689728df42d62cf24ec60d5996babc0cef044654",
                "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/99d198489a50bf5a654187bf2e6acd55786157d7",
                "reference": "99d198489a50bf5a654187bf2e6acd55786157d7",
                "shasum": ""
            },
            "require": {
@@ -6267,7 +6267,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/2.2.1"
                "source": "https://github.com/mglaman/phpstan-drupal/tree/2.2.2"
            },
            "funding": [
                {
@@ -6283,7 +6283,7 @@
                    "type": "tidelift"
                }
            ],
            "time": "2026-09-18T14:27:09+00:00"
            "time": "2026-09-18T16:07:28+00:00"
        },
        {
            "name": "micheh/phpcs-gitlab",
@@ -7582,11 +7582,11 @@
        },
        {
            "name": "phpstan/phpstan",
            "version": "2.2.14",
            "version": "2.3.4",
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9c672e7a8e791dfc3d30e55f683e73fc0b63a3ac",
                "reference": "9c672e7a8e791dfc3d30e55f683e73fc0b63a3ac",
                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f20ce6f3c82556cfcfc086b152445a12d1d64fff",
                "reference": "f20ce6f3c82556cfcfc086b152445a12d1d64fff",
                "shasum": ""
            },
            "require": {
@@ -7642,7 +7642,7 @@
                    "type": "github"
                }
            ],
            "time": "2026-09-12T21:39:33+00:00"
            "time": "2026-10-28T22:38:53+00:00"
        },
        {
            "name": "phpstan/phpstan-deprecation-rules",
@@ -7697,22 +7697,22 @@
        },
        {
            "name": "phpstan/phpstan-phpunit",
            "version": "2.0.18",
            "version": "2.1.1",
            "source": {
                "type": "git",
                "url": "https://github.com/phpstan/phpstan-phpunit.git",
                "reference": "f5dc20ff8082d02339b60cab68ec3eb0d859fb30"
                "reference": "8d16b8478e523a47f8c02e83bce8981b5b5a3b03"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/f5dc20ff8082d02339b60cab68ec3eb0d859fb30",
                "reference": "f5dc20ff8082d02339b60cab68ec3eb0d859fb30",
                "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/8d16b8478e523a47f8c02e83bce8981b5b5a3b03",
                "reference": "8d16b8478e523a47f8c02e83bce8981b5b5a3b03",
                "shasum": ""
            },
            "require": {
                "phar-io/version": "^3.2",
                "php": "^7.4 || ^8.0",
                "phpstan/phpstan": "^2.2.3"
                "phpstan/phpstan": "^2.3.0"
            },
            "conflict": {
                "phpunit/phpunit": "<7.0"
@@ -7749,9 +7749,9 @@
            ],
            "support": {
                "issues": "https://github.com/phpstan/phpstan-phpunit/issues",
                "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.18"
                "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.1.1"
            },
            "time": "2026-07-04T12:16:09+00:00"
            "time": "2026-10-06T18:12:32+00:00"
        },
        {
            "name": "phpunit/php-code-coverage",
@@ -9553,16 +9553,16 @@
        },
        {
            "name": "spaze/phpstan-disallowed-calls",
            "version": "v4.14.0",
            "version": "v4.15.0",
            "source": {
                "type": "git",
                "url": "https://github.com/spaze/phpstan-disallowed-calls.git",
                "reference": "90210a86e93e3a96f9a7fded9f5a8b3ee40925dd"
                "reference": "388075908225e22c46b9622177d1629203d41c1f"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/spaze/phpstan-disallowed-calls/zipball/90210a86e93e3a96f9a7fded9f5a8b3ee40925dd",
                "reference": "90210a86e93e3a96f9a7fded9f5a8b3ee40925dd",
                "url": "https://api.github.com/repos/spaze/phpstan-disallowed-calls/zipball/388075908225e22c46b9622177d1629203d41c1f",
                "reference": "388075908225e22c46b9622177d1629203d41c1f",
                "shasum": ""
            },
            "require": {
@@ -9608,7 +9608,7 @@
            ],
            "support": {
                "issues": "https://github.com/spaze/phpstan-disallowed-calls/issues",
                "source": "https://github.com/spaze/phpstan-disallowed-calls/tree/v4.14.0"
                "source": "https://github.com/spaze/phpstan-disallowed-calls/tree/v4.15.0"
            },
            "funding": [
                {
@@ -9616,7 +9616,7 @@
                    "type": "github"
                }
            ],
            "time": "2026-08-02T15:18:24+00:00"
            "time": "2026-10-13T00:31:30+00:00"
        },
        {
            "name": "squizlabs/php_codesniffer",
+3 −3
Changes for composer/Metapackage/DevDependencies/composer.json: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
        "drupal/coder": "^9.0",
        "lullabot/mink-selenium2-driver": "^1.7.3",
        "lullabot/php-webdriver": "^2.0.7",
        "mglaman/phpstan-drupal": "^2.2.1",
        "mglaman/phpstan-drupal": "^2.2.2",
        "micheh/phpcs-gitlab": "^2.0",
        "mikey179/vfsstream": "^1.6.11",
        "open-telemetry/exporter-otlp": "^1",
@@ -27,8 +27,8 @@
        "phpspec/prophecy": "^1.23",
        "phpspec/prophecy-phpunit": "^2.4",
        "phpstan/extension-installer": "^1.4.3",
        "phpstan/phpstan": "^2.2.14",
        "phpstan/phpstan-phpunit": "^2.0.16",
        "phpstan/phpstan": "^2.3.4",
        "phpstan/phpstan-phpunit": "^2.1.1",
        "phpunit/phpunit": "^12.5.22",
        "spaze/phpstan-disallowed-calls": "^4.12.0",
        "symfony/browser-kit": "^8.1",
+37 −325

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Changes for core/tests/PHPStan/composer.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
    "description": "Tests Drupal core's PHPStan rules",
    "require-dev": {
        "phpunit/phpunit": "^12.5.14",
        "phpstan/phpstan": "^2.2.14"
        "phpstan/phpstan": "^2.3.4"
    },
    "license": "GPL-2.0-or-later",
    "autoload": {