Skip to content

Commit f716d4d

Browse files
committed
Add link to simPod/phpstan-brick-math
1 parent 7845488 commit f716d4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,3 +257,7 @@ even if these machines do not share the same set of PHP extensions.
257257

258258
For example, serializing on a machine with GMP support and unserializing on a machine that does not have this extension
259259
installed will still work as expected.
260+
261+
#### PHPStan extension
262+
263+
A third-party [PHPStan extension](https://github.com/simPod/phpstan-brick-math) is available for this library. It provides more specific throw type narrowing for brick/math methods, so that PHPStan can infer the exact exception classes thrown. Note that this extension is not maintained by the author of brick/math.

0 commit comments

Comments
 (0)