Skip to content
This repository
tree: 10544f7eec

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 DokuWiki
Octocat-spinner-32 README
This directory contains the Coding Standard tests to be used with PHP
CodeSniffer on DokuWiki's code.

1. Install PHP CodeSniffer:

  #> pear install PHP_CodeSniffer

2. Link the Coding Standard to the CodeSniffer directory:

  #> ln -s /path/to/dokuwiki/_cs/DokuWiki /usr/share/pear/PHP/CodeSniffer/Standards/DokuWiki

3. Set DokuWiki to be the default standard:

  #> phpcs --config-set default_standard DokuWiki

The coding standard is work in progress.
Something went wrong with that request. Please try again.