From 5d1b2667b0462dc15cb6f174e1892b1e27c4aa7e Mon Sep 17 00:00:00 2001 From: Christian Sciberras Date: Sat, 6 Jun 2026 01:45:14 +0200 Subject: [PATCH 1/2] Update phpstorm stubs --- composer.json | 2 +- composer.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 7219ef39d7..1636ea804d 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "hoa/compiler": "3.17.08.08", "hoa/exception": "^1.0", "hoa/file": "1.17.07.11", - "jetbrains/phpstorm-stubs": "dev-master#87940f228f9c3e6446e40d6cc3668f249fe871a5", + "jetbrains/phpstorm-stubs": "dev-master#ba8e203170c8e3b58082a895ca13213fd0324ddd", "nette/bootstrap": "^3.0", "nette/di": "^3.1.4", "nette/neon": "3.3.4", diff --git a/composer.lock b/composer.lock index d9f2158470..fa5261b70b 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": "018f18ace63a6268bd90ea37daca0d80", + "content-hash": "8d184fa42dda962c38eb71e7cd358776", "packages": [ { "name": "clue/ndjson-react", @@ -1632,12 +1632,12 @@ "source": { "type": "git", "url": "https://github.com/JetBrains/phpstorm-stubs", - "reference": "87940f228f9c3e6446e40d6cc3668f249fe871a5" + "reference": "ba8e203170c8e3b58082a895ca13213fd0324ddd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/87940f228f9c3e6446e40d6cc3668f249fe871a5", - "reference": "87940f228f9c3e6446e40d6cc3668f249fe871a5", + "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/ba8e203170c8e3b58082a895ca13213fd0324ddd", + "reference": "ba8e203170c8e3b58082a895ca13213fd0324ddd", "shasum": "" }, "require-dev": { @@ -1669,7 +1669,7 @@ "stubs", "type" ], - "time": "2026-05-16T11:58:25+00:00" + "time": "2026-06-05T12:22:13+00:00" }, { "name": "nette/bootstrap", From 1cc99d45351702b73ddf26954f0e2cb17b709e9a Mon Sep 17 00:00:00 2001 From: Christian Sciberras Date: Sun, 7 Jun 2026 09:56:39 +0200 Subject: [PATCH 2/2] Update pre-php8 baseline; fix renamed argument --- build/baseline-pre-8.0.neon | 2 +- resources/constantToFunctionParameterMap.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/baseline-pre-8.0.neon b/build/baseline-pre-8.0.neon index d170a8d4a9..6beae4c095 100644 --- a/build/baseline-pre-8.0.neon +++ b/build/baseline-pre-8.0.neon @@ -37,7 +37,7 @@ parameters: path: ../src/Reflection/ClassReflection.php - - rawMessage: 'Method PHPStan\Reflection\ClassReflection::findConstructor() should return PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod|null but returns ReflectionMethod.' + rawMessage: 'Method PHPStan\Reflection\ClassReflection::findConstructor() should return PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod|null but returns ReflectionMethod.' identifier: return.type count: 2 path: ../src/Reflection/ClassReflection.php diff --git a/resources/constantToFunctionParameterMap.php b/resources/constantToFunctionParameterMap.php index c38b9fbed3..aba98a8110 100644 --- a/resources/constantToFunctionParameterMap.php +++ b/resources/constantToFunctionParameterMap.php @@ -1810,7 +1810,7 @@ ], 'DOMDocument::schemaValidate' => [ - 'options' => [ + 'flags' => [ 'type' => 'bitmask', 'constants' => [ 'LIBXML_SCHEMA_CREATE',