Merge pull request #1753 from dokuwiki-translate/lang_update_185
[dokuwiki.git] / _cs / README
blob7aac73161baa7d08aefe58789aad8e0bc33ac597
1 This directory contains the Coding Standard tests to be used with PHP
2 CodeSniffer on DokuWiki's code.
4 1. Install PHP CodeSniffer:
6   #> pear install PHP_CodeSniffer
8 2. Link the Coding Standard to the CodeSniffer directory:
10   #> ln -s /path/to/dokuwiki/_cs/DokuWiki /usr/share/pear/PHP/CodeSniffer/Standards/DokuWiki
12 3. Set DokuWiki to be the default standard:
14   #> phpcs --config-set default_standard DokuWiki
18 The coding standard is work in progress.