psalm/plugin-phpunit
Psalm plugin that understands PHPUnit tests to improve static analysis accuracy. Adds PHPUnit-aware stubs and type inference so assertions, mocks, and test helpers are checked correctly. Requires Psalm v4+. Install via Composer and enable with psalm-plugin.
|
Package
|
Constraint
|
|---|---|
| psalm/psalm-plugin-api | ^0.1 |
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ^10.0 || ^11.0 || ^12.0 |
| squizlabs/php_codesniffer | ^3.3.1 |
| vimeo/psalm | dev-master || ^6.10.0 |
| weirdan/prophecy-shim | ^1.0 || ^2.0 |
How can I help you explore Laravel packages today?