samwilson / piwigo-coding-standards
Piwigo coding standards ruleset for phpcs.
Installs: 89
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/samwilson/piwigo-coding-standards
Requires
This package is auto-updated.
Last update: 2025-09-23 15:11:22 UTC
README
This is a PHP Code Sniffer (phpcs) ruleset for enforcing the coding standards of Piwigo.
- Author: Sam Wilson
- Homepage: https://github.com/samwilson/piwigo-coding-standards
- Packagist: https://packagist.org/packages/samwilson/piwigo-coding-standards
- License: GPL 3.0 or later, first published 2019
Installation
composer require --dev samwilson/piwigo-coding-standards
Usage
Create a .phpcs.xml
file such as the following:
<?xml version="1.0"?> <ruleset> <rule ref="vendor/samwilson/piwigo-coding-standards/Piwigo/ruleset.xml" /> <file>.</file> <exclude-pattern>./vendor</exclude-pattern> </ruleset>
Then run:
./vendor/bin/phpcs