Skip to content

Commit 3eb79e5

Browse files
committed
[Fabbot] Do not run php-cs-fixer if there are no change in src/
1 parent b6a29a2 commit 3eb79e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.php_cs.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<?php
22

3+
if (!file_exists(__DIR__.'/src')) {
4+
exit(0);
5+
}
6+
37
return PhpCsFixer\Config::create()
48
->setRules(array(
59
'@Symfony' => true,

0 commit comments

Comments
 (0)