PHPStan
← 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/phpstan

Almindelige Kommandoer

  • phpstan analyse src - Analyser kode
  • phpstan analyse --level 5 src - Med specific level
  • phpstan analyse --generate-baseline - Generer baseline

Quick Info

Kategori
Static Analysis
Version
1.x
Sværhedsgrad
Mellem