Environment and development tools - Optional: Difference between revisions

Jump to navigation Jump to search
m
→‎Instal PHPUnit: -> Install & Update URLs
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===
====Instal PHPUnit====
====Install PHPUnit====


*Download a release archive from http://pear.phpunit.de/get/ and extract it to a directory that is listed in the include_path of your php.ini configuration file.
*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).
1,988

edits

Navigation menu