[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
|
<?php
|
||||||
|
|
||||||
|
if (!file_exists(__DIR__.'/src')) {
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
return PhpCsFixer\Config::create()
|
return PhpCsFixer\Config::create()
|
||||||
->setRules(array(
|
->setRules(array(
|
||||||
'@Symfony' => true,
|
'@Symfony' => true,
|
||||||
|
Reference in New Issue
Block a user