Created
August 7, 2012 17:20
-
-
Save wescleymatos/3287445 to your computer and use it in GitHub Desktop.
Minhas Ferramentas para Trabalhar com PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Inslatar Xdebug | |
sudo apt-get install xdebug | |
#Instalar o pear | |
sudo apt-get install php-pear | |
sudo pear channel-discover pear.phpunit.de | |
sudo pear channel-discover components.ez.no | |
sudo pear channel-discover pear.symfony-project.com | |
sudo pear channel-discover pear.cakephp.org | |
#ferramenta de TDD - PHPUnit | |
sudo pear install --alldeps phpunit/PHPunit | |
#Estilo de código – PHP_CodeSniffer | |
sudo pear install PHP_CodeSniffer | |
sudo pear install cakephp/CakePHP_CodeSniffer | |
#Código Duplicado (o famoso Ctrl+C, Ctrl+V – que pode criar pontos de evolução distintos para a mesma #funcionalidade) – PHPCPD | |
pear install pear.phpunit.de/phpcpd | |
#Medição e análise estrutural – PHPLoc | |
pear install pear.phpunit.de/phploc | |
#Diversas Métricas de Software, adicionais ao item anterior – PHP_Depend | |
pear channel-discover pear.pdepend. | |
pear install pdepend/PHP_Depend | |
#Bagunça no código (buscamos aqui pontos de refatoração) – PHPMD | |
pear channel-discover pear.phpmd.org | |
pear channel-discover pear.pdepend.org | |
pear install --alldeps phpmd/PHP_PMD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment