From 33529c100e8176546c9bda6cee3afe494d730477 Mon Sep 17 00:00:00 2001 From: ondrejmirtes <104888+ondrejmirtes@users.noreply.github.com> Date: Tue, 20 Oct 2026 00:05:57 +0000 Subject: [PATCH] Update PhpStorm stubs --- composer.json | 2 +- composer.lock | 15 +++++++++------ resources/functionMetadata.php | 4 ++++ 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 2cacebaac07..1b2a2611c08 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#e4f5f6c3de39f3bab3e9f3fca4b8cdb8b061e681", + "jetbrains/phpstorm-stubs": "dev-master#912ae721089fc48534d3a5795997ee8a2802b8cd", "nette/bootstrap": "^3.0", "nette/di": "^3.1.10", "nette/neon": "3.3.4", diff --git a/composer.lock b/composer.lock index 1e1c8034f47..1aa489f72b3 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": "11369100d2f311b85c9afd000980a96c", + "content-hash": "395478cbdf93a3eda97e5bd006803b41", "packages": [ { "name": "clue/ndjson-react", @@ -1636,13 +1636,13 @@ "version": "dev-master", "source": { "type": "git", - "url": "https://github.com/JetBrains/phpstorm-stubs", - "reference": "e4f5f6c3de39f3bab3e9f3fca4b8cdb8b061e681" + "url": "https://github.com/JetBrains/phpstorm-stubs.git", + "reference": "912ae721089fc48534d3a5795997ee8a2802b8cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/e4f5f6c3de39f3bab3e9f3fca4b8cdb8b061e681", - "reference": "e4f5f6c3de39f3bab3e9f3fca4b8cdb8b061e681", + "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/912ae721089fc48534d3a5795997ee8a2802b8cd", + "reference": "912ae721089fc48534d3a5795997ee8a2802b8cd", "shasum": "" }, "require-dev": { @@ -1674,7 +1674,10 @@ "stubs", "type" ], - "time": "2026-09-07T18:07:02+00:00" + "support": { + "source": "https://github.com/JetBrains/phpstorm-stubs/tree/master" + }, + "time": "2026-10-19T10:54:17+00:00" }, { "name": "nette/bootstrap", diff --git a/resources/functionMetadata.php b/resources/functionMetadata.php index adde45e0f7d..28f8bf70d2a 100644 --- a/resources/functionMetadata.php +++ b/resources/functionMetadata.php @@ -465,7 +465,10 @@ 'NumberFormatter::getTextAttribute' => ['hasSideEffects' => false], 'ReflectionAttribute::getArguments' => ['hasSideEffects' => false], 'ReflectionAttribute::getName' => ['hasSideEffects' => false], + 'ReflectionAttribute::getNamespaceName' => ['hasSideEffects' => false], + 'ReflectionAttribute::getShortName' => ['hasSideEffects' => false], 'ReflectionAttribute::getTarget' => ['hasSideEffects' => false], + 'ReflectionAttribute::inNamespace' => ['hasSideEffects' => false], 'ReflectionAttribute::isRepeated' => ['hasSideEffects' => false], 'ReflectionClass::getAttributes' => ['hasSideEffects' => false], 'ReflectionClass::getConstant' => ['hasSideEffects' => false], @@ -1092,6 +1095,7 @@ 'gmp_popcount' => ['hasSideEffects' => false], 'gmp_pow' => ['hasSideEffects' => false], 'gmp_powm' => ['hasSideEffects' => false], + 'gmp_powm_sec' => ['hasSideEffects' => false], 'gmp_prob_prime' => ['hasSideEffects' => false], 'gmp_root' => ['hasSideEffects' => false], 'gmp_rootrem' => ['hasSideEffects' => false],