This is a developer Module that assists with code review so contributed modules
can define additional review standards.
Built-in support for:
- Backdrop Coding Standards - https://api.backdropcms.org/php-standards
- Handle text in a secure fashion - https://api.backdropcms.org/securing-user-input
See the README.txt file in the coder_sniffer directory.
Copy coder.module to your module directory and then enable on the admin
modules page. Enable the modules that admin/config/development/coder/settings
works on, then view the coder results page at coder.
Automated Testing (PHPUnit)
Coder Sniffer comes with a PHPUnit test suite to make sure the sniffs work
Use Composer to install the dependencies:
Then execute the tests:
This project is GPL v2 software. See the LICENSE.txt file in this directory for
Solotandem - https://www.drupal.org/u/solotandem