DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:coding_style

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
devel:coding_style [2019-01-06 10:21] – [Coding Style]: added remark about PSR2 LarsDW223devel:coding_style [2019-01-07 20:30] – [Checking for Coding Style Violations] Add 3.x standards path phy25
Line 73: Line 73:
 Link the DokuWiki coding standard to the CodeSniffer directory.  You may need to adjust the paths depending upon your operating system. Link the DokuWiki coding standard to the CodeSniffer directory.  You may need to adjust the paths depending upon your operating system.
  
 +    # PHP_CodeSniffer Version 2.x
     ln -s /path/to/dokuwiki/_cs/DokuWiki /usr/share/pear/PHP/CodeSniffer/Standards/DokuWiki     ln -s /path/to/dokuwiki/_cs/DokuWiki /usr/share/pear/PHP/CodeSniffer/Standards/DokuWiki
 +    
 +    # PHP_CodeSniffer Version 3.x
 +    ln -s /path/to/dokuwiki/_cs/DokuWiki /usr/share/pear/PHP/CodeSniffer/src/Standards/DokuWiki
  
 Set DokuWiki to be the default standard. Set DokuWiki to be the default standard.
devel/coding_style.txt · Last modified: 2023-11-13 21:13 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki