From 3f6581892f34c0327f73977536d5e8d6fa2a9199 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Wed, 15 May 2024 18:19:52 +0000
Subject: [PATCH] update phpstan/phpstan to 1.11.0, fixes #4169

Closes #4169

Merge request studip/studip!3007
---
 composer.json |  2 +-
 composer.lock | 16 ++++++----------
 2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/composer.json b/composer.json
index 0ac48de78ad..f9f110827c9 100644
--- a/composer.json
+++ b/composer.json
@@ -12,7 +12,7 @@
         "codeception/codeception": "5.1.2",
         "codeception/module-asserts": "3.0.0",
         "overtrue/phplint": "3.1.1",
-        "phpstan/phpstan": "^1.8",
+        "phpstan/phpstan": "1.11.0",
         "symfony/var-dumper": "6.4.7"
     },
     "require": {
diff --git a/composer.lock b/composer.lock
index 4ca9e9640a2..043fdac7d19 100644
--- a/composer.lock
+++ b/composer.lock
@@ -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": "37344117fe2a7e12104caa87e77be265",
+    "content-hash": "49f5ef7c1527f76326978188aad5f943",
     "packages": [
         {
             "name": "algo26-matthias/idna-convert",
@@ -6039,16 +6039,16 @@
         },
         {
             "name": "phpstan/phpstan",
-            "version": "1.10.8",
+            "version": "1.11.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/phpstan/phpstan.git",
-                "reference": "0166aef76e066f0dd2adc2799bdadfa1635711e9"
+                "reference": "666cb1703742cea9cc80fee631f0940e1592fa6e"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0166aef76e066f0dd2adc2799bdadfa1635711e9",
-                "reference": "0166aef76e066f0dd2adc2799bdadfa1635711e9",
+                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/666cb1703742cea9cc80fee631f0940e1592fa6e",
+                "reference": "666cb1703742cea9cc80fee631f0940e1592fa6e",
                 "shasum": ""
             },
             "require": {
@@ -6091,13 +6091,9 @@
                 {
                     "url": "https://github.com/phpstan",
                     "type": "github"
-                },
-                {
-                    "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan",
-                    "type": "tidelift"
                 }
             ],
-            "time": "2023-03-24T10:28:16+00:00"
+            "time": "2024-05-13T06:02:22+00:00"
         },
         {
             "name": "phpunit/php-code-coverage",
-- 
GitLab