nusje2000 / phpstan-monolith
PHPStan extension that can validate usages of namespaces based on the composer dependencies in internal packages
Installs: 26 702
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 0
Type:phpstan-extension
Requires
- nusje2000/dependency-graph: ^1.0|^2.0
- phpstan/phpstan: ^0.12.3|^1.0
README
PHPStan extension that can validate usages of namespaces based on the composer dependencies in internal packages
Installation
Using composer:
composer require nusje2000/phpstan-monolith --dev
Add the following include to your phpstan.neon:
includes: - vendor/nusje2000/phpstan-monolith/extension.neon
Known issue
- Due to recent updates within phpstan, when an error occours which can be solved by adding a package to the composer.json, the cache must be manually removed because the php files which had the error will still show the cached result because the file itself was not changed.