Registry / testing / psalm-plugin-phpunit

psalm-plugin-phpunit

JSON →
library0.20.2phppackagistunverified

A Psalm plugin that provides PHPUnit-specific type checking and assertions.

composer require psalm/plugin-phpunit
INSTALL
IMPORT
SIG · PSALM-PLUGIN-PHPUN
P
psalm-plugin-phpunit
testingphpv0.20.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PluginEntryPointInterface
use Psalm\Plugin\PluginEntryPointInterface;

Implement a Psalm plugin entry point.

use Psalm\Plugin\PluginEntryPointInterface; use SimpleXMLElement; class MyPlugin implements PluginEntryPointInterface { public function __invoke(RegistrationInterface $registration, ?SimpleXMLElement $config = null): void { // Plugin registration logic } }
Debug
Known issues
breakingRequires Psalm 5.x or higher.
fix
Ensure Psalm version is compatible; use psalm/plugin-phpunit 0.20.x with Psalm 5.
affects: >=0.20.0
Upgrade
Version history
0.20.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
psalm-plugin-phpunit — pip install psalm-plugin-phpunit · libregistry