php-coupling-detector
php-coupling-detector copied to clipboard
Can't define an only rule that defines nothing (except itself)
the conf
$builder->only([])->in('Jjanvier\C2P\Common'),
the error
jjanvier:lambdas$ vendor/bin/php-coupling-detector detect --config-file=.phpcd
In RuleBuilder.php line 56:
Can not create a rule without any requirement defined previously.
detect [-c|--config-file CONFIG-FILE] [-f|--format FORMAT] [--] [<path>]