https://github.com/samwilson/piwigo-coding-standards
PHP Coding Sniffer (phpcs) rules for Piwigo.
https://github.com/samwilson/piwigo-coding-standards
phpcs-standard piwigo
Last synced: about 1 year ago
JSON representation
PHP Coding Sniffer (phpcs) rules for Piwigo.
- Host: GitHub
- URL: https://github.com/samwilson/piwigo-coding-standards
- Owner: samwilson
- Created: 2019-08-22T22:21:44.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-23T01:20:38.000Z (almost 7 years ago)
- Last Synced: 2025-02-12T18:52:19.608Z (over 1 year ago)
- Topics: phpcs-standard, piwigo
- Language: PHP
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Piwigo Coding Standards
=======================
This is a PHP Code Sniffer (phpcs) ruleset for enforcing
the [coding standards](https://piwigo.org/doc/doku.php?id=dev:coding_conventions)
of [Piwigo](https://piwigo.org/).
* 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
* [](https://packagist.org/packages/samwilson/piwigo-coding-standards)
## Installation
composer require --dev samwilson/piwigo-coding-standards
## Usage
Create a `.phpcs.xml` file such as the following:
```xml
.
./vendor
```
Then run:
./vendor/bin/phpcs