php-cs-fixer (#85)

Remove obsolete php-cs-fixer.sh script
Update contributing guidelines
This commit is contained in:
Marcin Michalski 2017-05-13 12:57:32 +02:00 committed by Arkadiusz Kondas
parent 5b373fa7c2
commit 7eee6748d2
3 changed files with 5 additions and 16 deletions

View File

@ -13,5 +13,6 @@ return PhpCsFixer\Config::create()
PhpCsFixer\Finder::create() PhpCsFixer\Finder::create()
->in(__DIR__ . '/src') ->in(__DIR__ . '/src')
->in(__DIR__ . '/tests') ->in(__DIR__ . '/tests')
)->setRiskyAllowed(true) )
->setRiskyAllowed(true)
->setUsingCache(false); ->setUsingCache(false);

View File

@ -6,7 +6,7 @@ code base clean, unified and future proof.
## Branch ## Branch
You should only open pull requests against the develop branch. You should only open pull requests against the master branch.
## Unit-Tests ## Unit-Tests
@ -28,13 +28,7 @@ Please allow me time to review your pull requests. I will give my best to review
## Coding Standards ## 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: 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.
```
tools/php-cs-fixer.sh
```
This script run PHP Coding Standards Fixer with `--level=symfony` param.
More about PHP-CS-Fixer: [http://cs.sensiolabs.org/](http://cs.sensiolabs.org/) More about PHP-CS-Fixer: [http://cs.sensiolabs.org/](http://cs.sensiolabs.org/)

View File

@ -1,6 +0,0 @@
#!/bin/bash
echo "Fixing src/ folder"
php-cs-fixer fix src/
echo "Fixing tests/ folder"
php-cs-fixer fix tests/