Skip to content

Commit 9f2ce5a

Browse files
authored
Merge pull request #1595 from Roave/renovate/all-minor-patch
Update all non-major dependencies
2 parents f66e7be + 83d3a69 commit 9f2ce5a

5 files changed

Lines changed: 17 additions & 87 deletions

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"require": {
66
"php": "~8.4.1 || ~8.5.0 || ~8.6.0",
77
"ext-json": "*",
8-
"jetbrains/phpstorm-stubs": "2026.2",
8+
"jetbrains/phpstorm-stubs": "2026.3",
99
"nikic/php-parser": "^5.9.0"
1010
},
1111
"authors": [

‎composer.lock‎

Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test/unit/SourceLocator/SourceStubber/PhpStormStubsSourceStubberTest.php‎

Lines changed: 1 addition & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -133,38 +133,6 @@ static function (string $className): bool {
133133
return false;
134134
}
135135

136-
// Needs new release of JetBrains/phpstorm-stubs
137-
if (
138-
// @phpstan-ignore function.impossibleType
139-
in_array($className, [
140-
'Io\\IoException',
141-
'Io\\Poll\\BackendUnavailableException',
142-
'Io\\Poll\\FailedContextInitializationException',
143-
'Io\\Poll\\FailedPollOperationException',
144-
'Io\\Poll\\FailedPollWaitException',
145-
'Io\\Poll\\FailedHandleAddException',
146-
'Io\\Poll\\FailedWatcherModificationException',
147-
'Io\\Poll\\Handle',
148-
'Io\\Poll\\HandleAlreadyWatchedException',
149-
'Io\\Poll\\InactiveWatcherException',
150-
'Io\\Poll\\InvalidHandleException',
151-
'Io\\Poll\\Backend',
152-
'Io\\Poll\\Context',
153-
'Io\\Poll\\Event',
154-
'Io\\Poll\\PollException',
155-
'Io\\Poll\\Watcher',
156-
'SortDirection',
157-
'StreamError',
158-
'StreamErrorCode',
159-
'StreamErrorMode',
160-
'StreamErrorStore',
161-
'StreamException',
162-
'StreamPollHandle',
163-
], true)
164-
) {
165-
return false;
166-
}
167-
168136
// Check only always enabled extensions
169137
return in_array($reflection->getExtensionName(), self::EXTENSIONS, true);
170138
},
@@ -222,11 +190,6 @@ private function assertSameClassAttributes(CoreReflectionClass $original, Reflec
222190
foreach ($original->getMethods() as $method) {
223191
$methodName = $original->getName() . '#' . $method->getName();
224192

225-
// Needs new release of JetBrains/phpstorm-stubs
226-
if (in_array($methodName, ['php_user_filter#seek'], true)) {
227-
continue;
228-
}
229-
230193
$stubbedMethod = $stubbed->getMethod($method->getName());
231194
self::assertNotNull($stubbedMethod, $methodName);
232195

@@ -342,18 +305,6 @@ public static function internalFunctionsProvider(): array
342305
static function (string $functionName): bool {
343306
$reflection = new CoreReflectionFunction($functionName);
344307

345-
// Needs new release of JetBrains/phpstorm-stubs
346-
if (
347-
in_array($functionName, [
348-
'clamp',
349-
'stream_clear_errors',
350-
'stream_last_errors',
351-
'stream_socket_get_crypto_status',
352-
], true)
353-
) {
354-
return false;
355-
}
356-
357308
// Check only always enabled extensions
358309
return in_array($reflection->getExtensionName(), self::EXTENSIONS, true);
359310
},
@@ -374,18 +325,6 @@ public function testInternalFunctions(string $functionName): void
374325

375326
$stubbedReflectionParameters = $stubbedReflection->getParameters();
376327

377-
// Needs new release of JetBrains/phpstorm-stubs
378-
if (
379-
in_array($functionName, [
380-
'stream_copy_to_stream',
381-
'stream_is_local',
382-
'stream_select',
383-
'stream_socket_pair',
384-
], true)
385-
) {
386-
return;
387-
}
388-
389328
self::assertSame($originalReflection->getNumberOfParameters(), $stubbedReflection->getNumberOfParameters(), $functionName);
390329

391330
foreach ($originalReflection->getParameters() as $parameterNo => $originalReflectionParameter) {
@@ -421,18 +360,6 @@ public static function internalConstantsProvider(): array
421360
}
422361

423362
foreach ($extensionConstants as $constantName => $constantValue) {
424-
// Needs new release of JetBrains/phpstorm-stubs
425-
if (
426-
in_array($constantName, [
427-
'ARRAY_FILTER_USE_VALUE',
428-
'STREAM_CRYPTO_STATUS_NONE',
429-
'STREAM_CRYPTO_STATUS_WANT_READ',
430-
'STREAM_CRYPTO_STATUS_WANT_WRITE',
431-
], true)
432-
) {
433-
continue;
434-
}
435-
436363
$provider[] = [$constantName, $constantValue, $extensionName];
437364
}
438365
}
@@ -880,7 +807,7 @@ public static function dataMethodInPhpVersion(): array
880807
[DatePeriod::class, 'getRecurrences', 80100, true, null, 'int|null'],
881808
[DateTimeInterface::class, 'getOffset', 79999, true],
882809
[DateTimeInterface::class, 'getOffset', 80000, true],
883-
[DateTimeInterface::class, 'getOffset', 80100, true, null, 'int'],
810+
[DateTimeInterface::class, 'getOffset', 80100, true],
884811
[SplFileObject::class, 'fgetss', 79999, true],
885812
[SplFileObject::class, 'fgetss', 80000, false],
886813
[Throwable::class, 'getLine', 80000, true, 'int'],

‎tools/composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"infection/infection": "^0.35.10",
55
"phpstan/phpstan": "^2.3.5",
66
"phpstan/phpstan-phpunit": "^2.1.1",
7-
"vimeo/psalm": "^6.20.10",
7+
"vimeo/psalm": "^6.20.11",
88
"roave/backward-compatibility-check": "^8.27.0"
99
},
1010
"config": {

‎tools/composer.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)