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