Registry / build-tool / phpstan-phpstan

phpstan-phpstan

JSON →
library2.2.2phppackagistunverified

PHPStan - PHP Static Analysis Tool

composer require phpstan/phpstan
INSTALL
IMPORT
SIG · PHPSTAN-PHPSTAN
P
phpstan-phpstan
build-toolphpv2.2.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.

Analyser
use PHPStan\Analyser\Analyser;

Running PHPStan analysis programmatically

use PHPStan\Analyser\Analyser; $analyser = new Analyser(...); $result = $analyser->analyse(['path/to/file.php']);
Debug
Known issues
breakingPHPStan 2.x requires PHP 8.1+ and has breaking changes in configuration
fix
Update your phpstan.neon to use new format and check for deprecated rules
affects: >=2.0.0
Upgrade
Version history
2.2.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources

No resource links recorded.

phpstan-phpstan — pip install phpstan-phpstan · libregistry