PHPackages                             funivan/cs - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. funivan/cs

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

funivan/cs
==========

Perform code fix and review

010.9kPHP

Since May 11Pushed 9y ago2 watchersCompare

[ Source](https://github.com/funivan/cs)[ Packagist](https://packagist.org/packages/funivan/cs)[ RSS](/packages/funivan-cs/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Code Style fix and review
=========================

[](#code-style-fix-and-review)

[![Packagist](https://camo.githubusercontent.com/b25d6c3a101f094add5c61c32e53378adf1cd3375615fb800a34c747ae5ce6fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66756e6976616e2f63732e737667)](https://packagist.org/packages/funivan/cs)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/e7043101791ae51d4f6c70c172e1acd89e17e952e7f09e17aee42644868a6fa7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f66756e6976616e2f43732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/funivan/Cs)[![Coverage Status](https://camo.githubusercontent.com/c9374758c58fb42f09ec17a6d2dd4e330a50d2d000afaa5ff5c97d2ed3c26a1a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f46756e6976616e2f43732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/funivan/Cs/code-structure)[![Quality Score](https://camo.githubusercontent.com/6d0e626563ef8a0e8f3bf3dc4288257bb1ea33f91d598bb99930d4c237f4bdec/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f66756e6976616e2f43732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/funivan/Cs)[![Total Downloads](https://camo.githubusercontent.com/2c317e6589d9470b35409dd83203848c2b0613bb8bf152be316d44305855cf48/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66756e6976616e2f63732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/funivan/cs)

Perform code fix and review

Tools list
----------

[](#tools-list)

FixerReviewLink✔✔[Php open tags](src/Tools/Php/OpenTags/README.md)✔✔[Php line before class end](src/Tools/Php/LineBeforeClassEnd/README.md)✔[Php file start](src/Tools/Php/FileStartLine/README.md)✔[Php closing tags](src/Tools/Php/ClosingTags/README.md)✔[Php return type format](src/Tools/Php/ReturnTypeFormat/README.md)✔✔[Php redundant Null property value](src/Tools/Php/RedundantNullPropertyValue/README.md)✔✔[Spaces in empty lines](src/Tools/SpacesInEmptyLines/README.md)✔✔[Line ending](src/Tools/LineEnding/README.md)✔[Composer](src/Tools/Composer/README.md)Install
-------

[](#install)

Via Composer

```
composer require funivan/cs:dev-master
```

Usage
-----

[](#usage)

```
  # run review tool
  ./vendor/bin/cs.php review;

  # run fixer tool
  ./vendor/bin/cs.php fix;
```

Custom configuration
--------------------

[](#custom-configuration)

Create custom configuration file. For example `cs-fix.php`

```
