composer php - What is the best place for tools like phpcpd, phpmd, php_codesniffer -


what best place tools phpcpd, phpmd, php_codesniffer include them in composer require-dev section or install phar archive somewhere in system?

when included in require-dev not possible update newer version because of old components in project. if installed phar, harder track versions of tools , harder check if these tools installed.

the best composer! require-dev section, because ensures every uses has same version.

when download package, , use e.g. phpunit phar 4.9 , have phpunit phar 6.0, fail. , have long conversation, bug :).


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -