simpod / phpstan-brick-math
PHPStan dynamic throw type extensions for brick/math
Package info
github.com/simPod/phpstan-brick-math
Type:phpstan-extension
pkg:composer/simpod/phpstan-brick-math
dev-main
2026-03-10 13:58 UTC
Requires
- php: ^8.4
- brick/math: ^0.15 || ^0.16
- phpstan/phpstan: ^2.1
Requires (Dev)
- cdn77/coding-standard: ^7.4
- phpunit/phpunit: ^13.0
This package is auto-updated.
Last update: 2026-03-10 14:06:51 UTC
README
PHPStan extensions that narrow throw types for brick/math.
Installation
composer require --dev simpod/phpstan-brick-math
If you use phpstan/extension-installer, you're all set.
Otherwise, include in your phpstan.neon:
includes: - vendor/simpod/phpstan-brick-math/extension.neon
Contributing
This is a read-only repository, automatically split from simPod/phpstan-brick. Please submit pull requests and issues there.