[Fabbot] Do not run php-cs-fixer if there are no change in src/
This commit is contained in:
parent
b6a29a28db
commit
3eb79e5197
|
@ -1,5 +1,9 @@
|
|||
<?php
|
||||
|
||||
if (!file_exists(__DIR__.'/src')) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
return PhpCsFixer\Config::create()
|
||||
->setRules(array(
|
||||
'@Symfony' => true,
|
||||
|
|
Reference in New Issue