mjacobus/bro-code

View on GitHub
README.md

Summary

Maintainability
Test Coverage
Bro Code
-----------------

The PHP Bro Code Standard preset for [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/master) specially made for Bros

![Bro High Five](https://github.com/mjacobus/bro-code/blob/master/img/bro-high-five.jpg)

Code information:

[![Build Status](https://travis-ci.org/mjacobus/bro-code.svg?branch=master)](https://travis-ci.org/mjacobus/bro-code)
[![Coverage Status](https://coveralls.io/repos/mjacobus/bro-code/badge.png?branch=master)](https://coveralls.io/r/mjacobus/bro-code?branch=master)
[![Code Coverage Scrutinizer](https://scrutinizer-ci.com/g/mjacobus/bro-code/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/mjacobus/bro-code/?branch=master)
[![Code Climate](https://codeclimate.com/github/mjacobus/bro-code.png)](https://codeclimate.com/github/mjacobus/bro-code)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/mjacobus/bro-code/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/mjacobus/bro-code/?branch=master)
[![StyleCI](https://styleci.io/repos/65389874/shield)](https://styleci.io/repos/65389874)

Package information:

[![Latest Stable Version](https://poser.pugx.org/bro/code/v/stable.svg)](https://packagist.org/packages/bro/code)
[![Total Downloads](https://poser.pugx.org/bro/code/downloads.svg)](https://packagist.org/packages/bro/code)
[![Latest Unstable Version](https://poser.pugx.org/bro/code/v/unstable.svg)](https://packagist.org/packages/bro/code)
[![License](https://poser.pugx.org/bro/code/license.svg)](https://packagist.org/packages/bro/code)
[![Dependency Status](https://gemnasium.com/mjacobus/bro-code.png)](https://gemnasium.com/mjacobus/bro-code)

## Usage

### Bro Code Standard

It behaves exactly as the original (hopefully) but it as a personal favorite preset (much like in [Style CI](https://styleci.readme.io/docs/presets))

```
./vendor/bin/bro-code fix {path}
```

## Installing

```bash
composer require --dev bro/code
```

## Issues/Features proposals

[Here](https://github.com/mjacobus/bro-code/issues) is the issue tracker.


## Lincense

[MIT](MIT-LICENSE)

## Authors

- [Marcelo Jacobus](https://github.com/mjacobus)