1,988
edits
m (→From Eclipse) |
m (→Instal PHPUnit: -> Install & Update URLs) |
||
| Line 121: | Line 121: | ||
[[Image:Setup_phpcs.png]] | [[Image:Setup_phpcs.png]] | ||
<br /> | |||
===From Command Line=== | ===From Command Line=== | ||
==== | ====Install PHPUnit==== | ||
*Download a release archive from | *Project-page: https://phpunit.de/ | ||
*Download a release archive from https://github.com/sebastianbergmann/phpunit and extract it to a directory that is listed in the include_path of your php.ini configuration file. | |||
*Prepare the phpunit script: | *Prepare the phpunit script: | ||
**For Linux: Rename the phpunit.php script to phpunit and replace the @php_bin@ string in it with the path to your PHP command-line interpreter (usually /usr/bin/php). | **For Linux: Rename the phpunit.php script to phpunit and replace the @php_bin@ string in it with the path to your PHP command-line interpreter (usually /usr/bin/php). | ||
edits