phpstan: ok at level 1
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
parameters:
|
||||
level: 0
|
||||
level: 1
|
||||
paths:
|
||||
- src
|
||||
excludePaths:
|
||||
|
||||
@ -10,8 +10,8 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var \yii\web\View
|
||||
* @var yii\mail\BaseMessage $content
|
||||
* @var \yii\web\View $this
|
||||
* @var string $content
|
||||
*/
|
||||
?>
|
||||
<?php $this->beginPage() ?>
|
||||
|
||||
@ -10,7 +10,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var string main view render result
|
||||
/**
|
||||
* @var \yii\web\View $this
|
||||
* @var string $content
|
||||
*/
|
||||
?>
|
||||
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var \Da\User\Model\User
|
||||
* @var \Da\User\Model\Token $token
|
||||
*/
|
||||
?>
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var \Da\User\Model\Token
|
||||
* @var \Da\User\Model\Token $token
|
||||
*/
|
||||
?>
|
||||
<?= Yii::t('usuario', 'Hello') ?>,
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var \Da\User\Model\User
|
||||
* @var \Da\User\Model\Token $token
|
||||
*/
|
||||
?>
|
||||
|
||||
@ -15,9 +15,9 @@ use yii\helpers\Html;
|
||||
use yii\widgets\ActiveForm;
|
||||
|
||||
/**
|
||||
* @var $this yii\web\View
|
||||
* @var $model Da\User\Model\Permission
|
||||
* @var $unassignedItems string[]
|
||||
* @var yii\web\View $this
|
||||
* @var Da\User\Model\Permission $model
|
||||
* @var string[] $unassignedItems
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var \Da\User\Model\Permission
|
||||
* @var $this yii\web\View
|
||||
* @var $unassignedItems string[]
|
||||
* @var yii\web\View $this
|
||||
* @var Da\User\Model\Permission $model
|
||||
* @var string[] $unassignedItems
|
||||
*/
|
||||
|
||||
$this->title = Yii::t('usuario', 'Create new permission');
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var $dataProvider \yii\data\ActiveDataProvider
|
||||
* @var $this yii\web\View
|
||||
* @var $searchModel \Da\User\Search\PermissionSearch
|
||||
* @var \yii\data\ActiveDataProvider $dataProvider
|
||||
* @var yii\web\View $this
|
||||
* @var \Da\User\Search\PermissionSearch $searchModel
|
||||
*/
|
||||
use yii\grid\ActionColumn;
|
||||
use yii\grid\GridView;
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var \Da\User\Model\Permission
|
||||
* @var $this yii\web\View
|
||||
* @var $unassignedItems string[]
|
||||
* @var yii\web\View $this
|
||||
* @var Da\User\Model\Permission $model
|
||||
* @var string[] $unassignedItems
|
||||
*/
|
||||
|
||||
$this->title = Yii::t('usuario', 'Update permission');
|
||||
|
||||
@ -10,8 +10,8 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var $this yii\web\View
|
||||
* @var $model \Da\User\Model\Role
|
||||
* @var yii\web\View $this
|
||||
* @var \Da\User\Model\Role $model
|
||||
*/
|
||||
|
||||
use Da\User\Helper\AuthHelper;
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var \Da\User\Model\Role
|
||||
* @var $this yii\web\View
|
||||
* @var $unassignedItems string[]
|
||||
* @var yii\web\View $this
|
||||
* @var \Da\User\Model\Role $model
|
||||
* @var string[] $unassignedItems
|
||||
*/
|
||||
$this->title = Yii::t('usuario', 'Create new role');
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
|
||||
@ -14,9 +14,9 @@ use yii\grid\GridView;
|
||||
use yii\helpers\Url;
|
||||
|
||||
/**
|
||||
* @var $dataProvider array
|
||||
* @var $searchModel \Da\User\Search\RoleSearch
|
||||
* @var $this yii\web\View
|
||||
* @var \yii\data\DataProviderInterface $dataProvider
|
||||
* @var \Da\User\Search\RoleSearch $searchModel
|
||||
* @var yii\web\View $this
|
||||
*/
|
||||
|
||||
$this->title = Yii::t('usuario', 'Roles');
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var yii\web\View $this
|
||||
* @var \Da\User\Model\Role $model
|
||||
* @var $this yii\web\View
|
||||
* @var $unassignedItems string[]
|
||||
* @var string[] $unassignedItems
|
||||
*/
|
||||
$this->title = Yii::t('usuario', 'Update role');
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @var $this yii\web\View
|
||||
* @var $model \Da\User\Model\Rule
|
||||
* @var yii\web\View $this
|
||||
* @var \Da\User\Model\Rule $model
|
||||
*/
|
||||
|
||||
use yii\helpers\Html;
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var yii\web\View $this
|
||||
* @var \Da\User\Model\Rule $model
|
||||
* @var $this yii\web\View
|
||||
* @var $unassignedItems string[]
|
||||
* @var string[] $unassignedItems
|
||||
*/
|
||||
$this->title = Yii::t('usuario', 'Create new rule');
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
|
||||
@ -6,9 +6,9 @@ use yii\helpers\Url;
|
||||
use yii\rbac\Rule;
|
||||
|
||||
/**
|
||||
* @var $dataProvider \yii\data\ActiveDataProvider
|
||||
* @var $searchModel \Da\User\Search\RuleSearch
|
||||
* @var $this yii\web\View
|
||||
* @var \yii\data\ActiveDataProvider $dataProvider
|
||||
* @var \Da\User\Search\RuleSearch $searchModel
|
||||
* @var yii\web\View $this
|
||||
*/
|
||||
|
||||
$this->title = Yii::t('usuario', 'Rules');
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var yii\web\View $this
|
||||
* @var \Da\User\Model\Rule $model
|
||||
* @var $this yii\web\View
|
||||
* @var $unassignedItems string[]
|
||||
* @var string[] $unassignedItems
|
||||
*/
|
||||
$this->title = Yii::t('usuario', 'Update rule');
|
||||
$this->params['breadcrumbs'][] = ['label' => Yii::t('usuario', 'Rules'), 'url' => ['index']];
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
use yii\widgets\ActiveForm;
|
||||
use yii\helpers\Html;
|
||||
|
||||
/** @var $model \Da\User\Form\GdprDeleteForm */
|
||||
/** @var \Da\User\Form\GdprDeleteForm $model */
|
||||
?>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
|
||||
use yii\helpers\Html;
|
||||
|
||||
/** @var $module \Da\User\Module */
|
||||
/** @var \yii\web\View $this */
|
||||
/** @var \Da\User\Module $module */
|
||||
|
||||
$this->title = Yii::t('usuario', 'Privacy settings');
|
||||
|
||||
|
||||
@ -11,9 +11,8 @@
|
||||
|
||||
use yii\bootstrap\Alert;
|
||||
|
||||
/**
|
||||
* @var $module Da\User\Module
|
||||
*/
|
||||
/** @var \Da\User\Module $module */
|
||||
|
||||
?>
|
||||
|
||||
<?php if ($module->enableFlashMessages): ?>
|
||||
|
||||
@ -11,9 +11,8 @@
|
||||
|
||||
use yii\helpers\Html;
|
||||
|
||||
/**
|
||||
* @var $content string
|
||||
*/
|
||||
/** @var \yii\web\View $this */
|
||||
/** @var string $content */
|
||||
|
||||
?>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
@ -9,11 +9,11 @@
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var yii\web\View
|
||||
* @var \Da\User\Module $module
|
||||
* @var string $title
|
||||
*/
|
||||
/** @var \yii\web\View $this */
|
||||
/** @var string $content */
|
||||
/** @var string $title */
|
||||
/** @var \Da\User\Module $module */
|
||||
|
||||
|
||||
$this->title = $title;
|
||||
|
||||
|
||||
@ -14,11 +14,10 @@ use yii\bootstrap\Alert;
|
||||
use yii\helpers\Html;
|
||||
use yii\widgets\ActiveForm;
|
||||
|
||||
/**
|
||||
* @var $this yii\web\View
|
||||
* @var $model Da\User\Model\Assignment
|
||||
* @var $availableItems string[]
|
||||
*/
|
||||
/** @var \yii\web\View $this */
|
||||
/** @var string[] $availableItems */
|
||||
/** @var Da\User\Model\Assignment $model */
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user