PHPackages                             cds-uwb/php-code-style - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cds-uwb/php-code-style

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cds-uwb/php-code-style
======================

CDS team PHP coding style for PHP-CS-Fixer

v1.0.0(3mo ago)0601↓85.4%2MITPHPCI passing

Since Mar 12Pushed 3mo agoCompare

[ Source](https://github.com/CDS-UWB/php-code-style)[ Packagist](https://packagist.org/packages/cds-uwb/php-code-style)[ RSS](/packages/cds-uwb-php-code-style/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (2)

[ ![](https://camo.githubusercontent.com/b004a33a75fe2a27a8432648d719202a59b2510855507e591e47f9d842158582/68747470733a2f2f6364732e7a63752e637a2f696d616765732f6c6f676f2e737667)](https://cds.zcu.cz)

PHP Code Style
==============

[](#php-code-style)

[![Tests](https://github.com/CDS-UWB/php-code-style/actions/workflows/tests.yml/badge.svg)](https://github.com/CDS-UWB/php-code-style/actions/workflows/tests.yml)

This repository contains the PHP CS Fixer coding style rules for CDS team PHP projects.

Use the `\Cds\PhpCodeStyle\rules()` function to get all rules as an array. You can pass additional rules to extend the set, or override existing ones as needed.

The rules are also available via the `\Cds\PhpCodeStyle\Rules` constant.

### Usage

[](#usage)

```
# .php-cs-fixer.dist.php
