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.
Coder Sniffer comes with a PHPUnit test suite to make sure the sniffs work correctly. Use Composer to install the dependencies:
composer install
Then execute the tests:
./vendor/bin/phpunit
This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.
Doug Green douggreen@douggreenconsulting.com
Solotandem - https://www.drupal.org/u/solotandem