Julien Janvier
Julien Janvier
Default dir should be `.` ``` jjanvier:lambdas$ vendor/bin/php-coupling-detector detect PHP Fatal error: Uncaught TypeError: is_file() expects parameter 1 to be a valid path, null given in /home/jjanvier/workspaces/phpstorm/perso/c2p/lambdas/vendor/akeneo/php-coupling-detector/src/Console/Command/DetectCommand.php:92 Stack trace: #0...
Imagine a namespace `Acme\Domain`. I'd like to have something that tells I can use only `Acme\Domain` in `Acme\Domain`.
for example: - an empty php file - a procedural php script - a class without namespace ``` In NamespaceExtractor.php line 35: No way to parse the namespace of this...
How to do it manually (to understand): - http://php.net/manual/fr/book.phar.php - http://www.sitepoint.com/packaging-your-apps-with-phar/ How to do it automatically: - https://github.com/clue/phar-composer
in strict mode, discouraged rules are counted and displayed as violations in "cool" mode, they are not