Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kubawerlos/php-cs-fixer-config
Provides configuration for PHP CS Fixer
https://github.com/kubawerlos/php-cs-fixer-config
Last synced: 3 months ago
JSON representation
Provides configuration for PHP CS Fixer
- Host: GitHub
- URL: https://github.com/kubawerlos/php-cs-fixer-config
- Owner: kubawerlos
- License: mit
- Created: 2020-05-03T17:27:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T11:50:27.000Z (5 months ago)
- Last Synced: 2024-08-03T12:35:54.624Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubawerlos/php-cs-fixer-config
[![Latest stable version](https://img.shields.io/packagist/v/kubawerlos/php-cs-fixer-config.svg?label=current%20version)](https://packagist.org/packages/kubawerlos/php-cs-fixer-config)
[![PHP version](https://img.shields.io/packagist/php-v/kubawerlos/php-cs-fixer-config.svg)](https://php.net)
[![CI Status](https://github.com/kubawerlos/php-cs-fixer-config/workflows/CI/badge.svg?branch=main&event=push)](https://github.com/kubawerlos/php-cs-fixer-config/actions)
[![License](https://img.shields.io/github/license/kubawerlos/php-cs-fixer-config.svg)](LICENSE)Provides a configuration for PHP CS Fixer.
## Installation
```bash
composer require --dev kubawerlos/php-cs-fixer-config
```## Usage
Create `.php-cs-fixer.php` file and use `PhpCsFixerConfig\Factory`:
```php
setFinder(
PhpCsFixer\Finder::create()
->files()
->in(__DIR__ . '/src')
);```
for library or use method `createForProject` for project.