2018-04-17 23:47:25 +03:00
|
|
|
<?php
|
|
|
|
$finder = \PhpCsFixer\Finder::create()
|
|
|
|
->in(__DIR__)
|
|
|
|
->exclude('data')
|
|
|
|
->exclude('docker')
|
|
|
|
->exclude('frontend')
|
|
|
|
->notPath('common/emails/views')
|
2019-02-23 02:11:57 +03:00
|
|
|
->notPath('common/mail/layouts')
|
2018-04-17 23:47:25 +03:00
|
|
|
->notPath('/.*\/runtime/')
|
|
|
|
->notPath('autocompletion.php')
|
2019-02-26 02:26:02 +03:00
|
|
|
->notPath('/.*\/tests\/_output/')
|
|
|
|
->notPath('/.*\/tests\/_support\/_generated/')
|
2018-04-17 23:47:25 +03:00
|
|
|
->name('yii');
|
|
|
|
|
2019-04-06 04:15:23 +02:00
|
|
|
return \Ely\CS\Config::create([
|
|
|
|
'self_accessor' => false,
|
|
|
|
])->setFinder($finder);
|