Skip to content

Commit

Permalink
php-cs-fixer (#85)
Browse files Browse the repository at this point in the history
Remove obsolete php-cs-fixer.sh script
Update contributing guidelines
  • Loading branch information
marmichalski authored and akondas committed May 13, 2017
1 parent 5b373fa commit 7eee674
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
5 changes: 3 additions & 2 deletions .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ return PhpCsFixer\Config::create()
PhpCsFixer\Finder::create()
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
)->setRiskyAllowed(true)
->setUsingCache(false);
)
->setRiskyAllowed(true)
->setUsingCache(false);
10 changes: 2 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ code base clean, unified and future proof.

## Branch

You should only open pull requests against the develop branch.
You should only open pull requests against the master branch.

## Unit-Tests

Expand All @@ -28,13 +28,7 @@ Please allow me time to review your pull requests. I will give my best to review

## Coding Standards

When contributing code to PHP-ML, you must follow its coding standards. To make a long story short, here is the golden tool:

```
tools/php-cs-fixer.sh
```

This script run PHP Coding Standards Fixer with `--level=symfony` param.
When contributing code to PHP-ML, you must follow its coding standards. It's as easy as executing `php-cs-fixer` (v2) in root directory.

More about PHP-CS-Fixer: [http://cs.sensiolabs.org/](http://cs.sensiolabs.org/)

Expand Down
6 changes: 0 additions & 6 deletions tools/php-cs-fixer.sh

This file was deleted.

0 comments on commit 7eee674

Please sign in to comment.