Skip to content

Commit 651492f

Browse files
authored
Readme: mention throws LSP checks (#323)
1 parent 5ff9975 commit 651492f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ parameters:
284284
check:
285285
missingCheckedExceptionInThrows: true # enforce checked exceptions to be stated in @throws
286286
tooWideThrowType: true # report invalid @throws (exceptions that are not actually thrown in annotated method)
287+
throwTypeCovariance: true # enable LSP checks
287288
implicitThrows: false # no @throws means nothing is thrown (otherwise Throwable is thrown)
288289
checkedExceptionClasses:
289290
- YourApp\TopLevelRuntimeException # track only your exceptions (children of some, typically RuntimeException)

0 commit comments

Comments
 (0)