An open API service indexing awesome lists of open source software.

https://github.com/slavcodev/php-cs-fixer-rules


https://github.com/slavcodev/php-cs-fixer-rules

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# php-cs-fixer-rules

[ico-tests-status]: https://github.com/slavcodev/php-cs-fixer-rules/workflows/phpunit/badge.svg
[link-github]: https://github.com/slavcodev/php-cs-fixer-rules

[ico-license]: https://img.shields.io/github/license/slavcodev/php-cs-fixer-rules
[link-license]: LICENSE

[ico-version]: https://img.shields.io/packagist/v/slavcodev/php-cs-fixer-rules.svg?label=Latest
[link-packagist]: https://packagist.org/packages/slavcodev/php-cs-fixer-rules

[![Tests status][ico-tests-status]][link-github]
[![Software License][ico-license]][link-license]
[![Latest Version on Packagist][ico-version]][link-packagist]

A set of rules that reflect personal preferences regarding programming standards.

## Install

Using [Composer](https://getcomposer.org)

```bash
composer require --dev slavcodev/php-cs-fixer-rules
```

## Usage

Add in our config file `.php-cs-fixer.php`:

~~~php
true,
], [
'cache_file' => 'var/php-cs-fixer/cache.json',
]);
~~~

## Testing

```bash
phpunit
```