Skip to main contentNedix.io

Analysis

PHPStan

Configuration

phpstan.neon.dist
parameters:
level: 4
paths:
- src
phpstan.neon
includes:
- phpstan.neon.dist
parameters:
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'
.gitignore
phpstan.neon

Run analysis

vendor/bin/phpstan

PhpMetrics

Installation

composer require --dev phpmetrics/phpmetrics

Run analysis

vendor/bin/phpmetrics --report-html=phpmetrics --git=$(which git) src