← Tilbage til værktøjer
PHPStan
Static analysis tool der finder bugs uden at køre koden
Version: 1.x
Foto: Jorge Rosal / Unsplash
Features
- +Static type checking
- +Null safety
- +Dead code detection
- +Undefined variables
- +Type inference
- +Customizable rules
- +PHPDoc validation
Installation
composer require --dev phpstan/phpstanAlmindelige Kommandoer
phpstan analyse src - Analyser kodephpstan analyse --level 5 src - Med specific levelphpstan analyse --generate-baseline - Generer baseline