Skip to content

Commit 0d4e52f

Browse files
committed
update phpstan configuration
1 parent fe1c462 commit 0d4e52f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Service/OpenSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct(
4747
* Return full engine name.
4848
*
4949
* @return string
50-
* @throws ServiceException // @phpstan-ignore-line
50+
* @throws ServiceException
5151
*/
5252
public function getFullEngineName(): string
5353
{

tests/static/phpstan.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ parameters:
66
- ../../src/Test/*
77
reportUnmatchedIgnoredErrors: false
88
treatPhpDocTypesAsCertain: false
9+
exceptions:
10+
check:
11+
tooWideThrowType: false
912
ignoreErrors:
1013
- message: "#.*ComponentRegistrar.*#"
1114
path: ../../src/StaticContent/ThemeResolver.php

0 commit comments

Comments
 (0)