From 036957d5fa44079141175a4f5a76b017e2bb4fc0 Mon Sep 17 00:00:00 2001
From: Christian Kuhn <lolli@schwarzbu.ch>
Date: Thu, 13 Apr 2023 06:56:49 +0200
Subject: [PATCH] [TASK] Raise 'phpstan/phpstan' and regenerate baseline
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

A new patch level forces us to regenerate
baseline.

> composer req --dev phpstan/phpstan:^1.10.13
> Build/Scripts/runTests.sh -s phpstanGenerateBaseline

Change-Id: I7e616c60e448332ed10183665b772d892670480f
Resolves: #100573
Releases: main, 11.5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78612
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jasmina Ließmann <minapokhalo+typo3@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 Build/phpstan/phpstan-baseline.neon |  5 +++++
 composer.json                       |  2 +-
 composer.lock                       | 12 ++++++------
 3 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/Build/phpstan/phpstan-baseline.neon b/Build/phpstan/phpstan-baseline.neon
index b94a5c997a6e..ea5cb02faf2e 100644
--- a/Build/phpstan/phpstan-baseline.neon
+++ b/Build/phpstan/phpstan-baseline.neon
@@ -1130,6 +1130,11 @@ parameters:
 			count: 1
 			path: ../../typo3/sysext/core/Classes/Http/Response.php
 
+		-
+			message: "#^Access to an undefined property Psr\\\\Http\\\\Message\\\\StreamInterface\\:\\:\\$stream\\.$#"
+			count: 1
+			path: ../../typo3/sysext/core/Classes/Http/SelfEmittableLazyOpenStream.php
+
 		-
 			message: "#^Result of && is always false\\.$#"
 			count: 2
diff --git a/composer.json b/composer.json
index cfc36d6caebb..1fb2222af3d7 100644
--- a/composer.json
+++ b/composer.json
@@ -119,7 +119,7 @@
 		"php-webdriver/webdriver": "^1.12.0",
 		"phpspec/prophecy": "^1.15.0",
 		"phpspec/prophecy-phpunit": "^2.0.1",
-		"phpstan/phpstan": "^1.10.11",
+		"phpstan/phpstan": "^1.10.13",
 		"phpstan/phpstan-phpunit": "^1.3.11",
 		"phpunit/phpunit": "^9.6.1",
 		"typo3/cms-styleguide": "~11.5.4",
diff --git a/composer.lock b/composer.lock
index 4c93779aac87..fe822c8c20ab 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": "f381788b2a8af010dcedb09da8bf0bcd",
+    "content-hash": "9f7b57dd10a31c0accf5e0f23c27f529",
     "packages": [
         {
             "name": "bacon/bacon-qr-code",
@@ -7170,16 +7170,16 @@
         },
         {
             "name": "phpstan/phpstan",
-            "version": "1.10.11",
+            "version": "1.10.13",
             "source": {
                 "type": "git",
                 "url": "https://github.com/phpstan/phpstan.git",
-                "reference": "8aa62e6ea8b58ffb650e02940e55a788cbc3fe21"
+                "reference": "f07bf8c6980b81bf9e49d44bd0caf2e737614a70"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8aa62e6ea8b58ffb650e02940e55a788cbc3fe21",
-                "reference": "8aa62e6ea8b58ffb650e02940e55a788cbc3fe21",
+                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f07bf8c6980b81bf9e49d44bd0caf2e737614a70",
+                "reference": "f07bf8c6980b81bf9e49d44bd0caf2e737614a70",
                 "shasum": ""
             },
             "require": {
@@ -7228,7 +7228,7 @@
                     "type": "tidelift"
                 }
             ],
-            "time": "2023-04-04T19:17:42+00:00"
+            "time": "2023-04-12T19:29:52+00:00"
         },
         {
             "name": "phpstan/phpstan-phpunit",
-- 
GitLab