https://github.com/owncloud/coding-standard
📚Provides the ownCloud coding standard
https://github.com/owncloud/coding-standard
Last synced: 4 months ago
JSON representation
📚Provides the ownCloud coding standard
- Host: GitHub
- URL: https://github.com/owncloud/coding-standard
- Owner: owncloud
- License: agpl-3.0
- Created: 2018-04-23T12:52:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-08-13T08:25:49.000Z (10 months ago)
- Last Synced: 2025-12-10T15:51:16.389Z (6 months ago)
- Language: PHP
- Size: 85.9 KB
- Stars: 4
- Watchers: 20
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 📚 coding-standard
This repository provides a configuration for [friendsofphp/php-cs-fixer](http://github.com/FriendsOfPHP/PHP-CS-Fixer) to check that repositories are following the standards defined by the ownCloud team.
## Installation
```
composer require --dev owncloud/coding-standard
```
## Usage
Create a configuration file `.php-cs-fixer.dist.php` in the root of your project:
```
setUsingCache(true)
->getFinder()
->in(__DIR__);
return $config;
```
## Versioning
This library follows semantic versioning, additions to the code checks that are "risky" will only be done in major versions
## License
AGPL-3.0