1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Update PHPStan (#11976)

* Update PHPStan

* Update inline ignores to `@phpstan-ignore` with error identifier
This commit is contained in:
Ondřej Mirtes 2024-05-22 09:09:04 +02:00 committed by GitHub
parent d4b071bd1e
commit 5bb30ca170
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 84 additions and 85 deletions

View file

@ -45,7 +45,7 @@ class ErrorHandlerTest extends TestCase
}
$array = ['foo' => 'bar'];
// @phpstan-ignore-next-line
// @phpstan-ignore offsetAccess.notFound, expr.resultUnused
$array['baz'];
}
@ -62,7 +62,7 @@ class ErrorHandlerTest extends TestCase
self::expectExceptionMessage('array_merge');
}
// @phpstan-ignore-next-line
// @phpstan-ignore function.resultUnused, argument.type
array_merge([], 'string');
}