Benutzer:Elkuku/Proyektz/EasyCreator/EasyCodeEye
Aus Joomla! Dokumentation
Inhaltsverzeichnis |
Description
EasyCodeEye provides an interface to several PEAR packages:
- PHP_CodeSniffer checks your code according to several coding standards. You can create your own =;)
- phpcpd finds duplicated code.
- PhpUnit for executing unit tests and creating skeletons.
- PhpDocumentor documents your code.
Installation
PEAR
Linux
- Install PEAR (if not already installed)
Refer to the documentation of your distribution if you have any problems.
Do you need any additional information ? really ? ...See also
Time to install the Packages
Windows
The standard xampp installation for windows seems to come without PEAR. So you have to manually install PEAR:
Go to the ugly windows command line (execute -> cmd) - a 'black' window opens =;)
We assume your xampp installation on drive C in the standard folder
xampp.
cd xampp\php
execute
go-pear
choose to install a 'local' copy
For all the other stuff that will come up can accept the default values. Pay a little attention to the paths mentioned, and how to modify your php.ini and your PATH.
PEAR should now be installed.
Time to install the Packages
Done ?
NOTE : I am NOT a windoows user so - please verify the information and, pleaseplease, correct any errors - thx =;)
PEAR Packages
PHP_CodeSniffer
Installation
pear install PHP_CodeSniffer
phpcpd
Adding the channel and Installation
pear channel-discover pear.phpunit.de pear install phpunit/phpcpd
phpDocumentor
Installation
pear install PhpDocumentor
PHPUnit
Adding the channel and Installation
pear channel-discover pear.phpunit.de pear install phpunit/PHPUnit
See also
CodeSniffer
EasyCreator provides an interface to PEAR::CodeSniffer. This enables you to verify the formatting of your code against some predefined standards like PEAR or Zend. You can also define your own coding standards for your project.
See also
Copy/Paste Detector
- Duplicated code
