Skip to content

Commit c0feaff

Browse files
renovate[bot]kukulich
authored andcommitted
Update dependency phpstan/phpstan to ^2.1.22
| datasource | package | from | to | | ---------- | --------------- | ------ | ------ | | packagist | phpstan/phpstan | 2.1.21 | 2.1.22 |
1 parent a0a3ffe commit c0feaff

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

test/unit/SourceLocator/Type/AutoloadSourceLocatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,6 @@ public function testBrokenAutoloader(): void
457457

458458
spl_autoload_register($brokenAutoloader);
459459

460-
/** @phpstan-ignore deadCode.unreachable */
461460
try {
462461
(new AutoloadSourceLocator($this->astLocator))
463462
->locateIdentifier(
@@ -472,6 +471,7 @@ public function testBrokenAutoloader(): void
472471
spl_autoload_unregister($brokenAutoloader);
473472
}
474473

474+
/** @phpstan-ignore deadCode.unreachable */
475475
self::assertSame($previousErrorHandler, $getErrorHandler());
476476
self::assertNotFalse(file_get_contents(__FILE__));
477477
}

tools/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"doctrine/coding-standard": "^13.0.1",
4-
"phpstan/phpstan": "^2.1.21",
4+
"phpstan/phpstan": "^2.1.22",
55
"phpstan/phpstan-phpunit": "^2.0.7",
66
"vimeo/psalm": "^6.13.0",
77
"roave/backward-compatibility-check": "^8.14.0",

tools/composer.lock

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

0 commit comments

Comments
 (0)