drmovi / phpstan-package-boundaries-plugin
PhpStan rule to set boundaries between packages
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:phpstan-plugin
Requires
- php: >=8.1
- phpstan/phpstan: >=1.9
This package is not auto-updated.
Last update: 2024-06-12 01:40:43 UTC
README
PHPSTAN Package Boundaries Plugin
This package provides a simple way to define boundaries between packages phpstan.
Installation
composer require --dev drmovi/phpstan-package-boundaries-plugin
Usage
in config file of PHPSTAN, add the following line:
rules:
- Drmovi\PackageBoundaries\PackageBoundaries
in root composer file add the following to extra:
"phpstan-package-boundaries-plugin": {
"packages_path": "packages",
"whitelist_packages": [
"shared"
]
}