https://github.com/slavcodev/php-cs-fixer-rules
https://github.com/slavcodev/php-cs-fixer-rules
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/slavcodev/php-cs-fixer-rules
- Owner: slavcodev
- License: mit
- Created: 2026-01-06T22:19:41.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-01-07T00:40:41.000Z (about 2 months ago)
- Last Synced: 2026-01-13T19:57:49.844Z (about 1 month ago)
- Language: PHP
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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
```