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.