This commit is contained in:
resurtm
2017-01-12 00:48:25 +06:00
parent 66ded8cc22
commit e221e723f0
3 changed files with 27 additions and 9 deletions

21
.php_cs.dist Normal file
View File

@ -0,0 +1,21 @@
<?php
$finder = PhpCsFixer\Finder::create()
->exclude([
'.github',
'docs',
'temp',
'tests',
'vendor',
])
->in(__DIR__);
return PhpCsFixer\Config::create()
->setRules([
'@PSR1' => true,
'@PSR2' => true,
'@Symfony' => true,
'concat_space' => ['spacing' => 'one'],
'phpdoc_no_alias_tag' => [],
])
->setFinder($finder);

View File

@ -12,10 +12,9 @@
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
/*
* @var yii\web\View $this
* @var \Da\User\Model\User $user
*/
/* @var yii\web\View $this */
/* @var Da\User\Model\User $user */
?>
<?php $this->beginContent('@Da/User/resources/views/admin/update.php', ['user' => $user]) ?>

View File

@ -11,11 +11,9 @@
use Da\User\Widget\AssignmentsWidget;
/*
* @var yii\web\View $this
* @var \Da\User\Model\User $user
* @var string[] $params
*/
/* @var yii\web\View $this */
/* @var Da\User\Model\User $user */
/* @var string[] $params */
?>