backdrop / coder
Coder is a library to review Backdrop code.
Installs: 2 422
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 7
Open Issues: 2
Type:backdrop-module
Requires
- php: >=5.2.0
- squizlabs/php_codesniffer: >=1.4.6,<2.0.0
Requires (Dev)
- phpunit/phpunit: ~3.7
This package is auto-updated.
Last update: 2025-01-07 08:54:48 UTC
README
This is a developer library that assists with code review so Backdrop code can maintain standards defined on https://api.backdropcms.org
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
Installation
User composer to install:
composer require backdrop/coder
Running phpcs Code Checks
./vendor/bin/phpcs --standard=./vendor/backdrop/coder/coder_sniffer/Backdrop path/to/code
Automated Testing (PHPUnit)
To execute the phpunit tests:
./vendor/bin/phpunit
License
This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.
Current Maintainers
- Geoff St. Pierre serundeputy
Credits
Doug Green douggreen@douggreenconsulting.com
Solotandem - https://www.drupal.org/u/solotandem