update php code standards fixer rules

This commit is contained in:
Antonio Ramirez
2017-07-15 16:45:25 +02:00
parent 8c4f7699df
commit f706ebb4fa
72 changed files with 389 additions and 508 deletions

View File

@ -59,7 +59,7 @@ class Bootstrap implements BootstrapInterface
* Initialize container with module classes.
*
* @param \yii\base\Application $app
* @param array $map the previously built class map list
* @param array $map the previously built class map list
*/
protected function initContainer($app, $map)
{
@ -214,7 +214,7 @@ class Bootstrap implements BootstrapInterface
/**
* Ensures required mail parameters needed for the mail service.
*
* @param Application $app
* @param Application $app
* @param Module|\yii\base\Module $module
*/
protected function initMailServiceConfiguration(Application $app, Module $module)
@ -331,12 +331,12 @@ class Bootstrap implements BootstrapInterface
/**
* Returns the parent class name route of a short class name.
*
* @param array $routes class name routes
* @param array $routes class name routes
* @param string $name
*
* @throws Exception
* @return int|string
*
* @throws Exception
*/
protected function getRoute(array $routes, $name)
{

View File

@ -18,8 +18,8 @@ use yii\rbac\DbManager;
class AuthDbManagerComponent extends DbManager implements AuthManagerInterface
{
/**
* @param int|null $type If null will return all auth items
* @param array $excludeItems Items that should be excluded from result array
* @param int|null $type If null will return all auth items
* @param array $excludeItems Items that should be excluded from result array
*
* @return array
*/

View File

@ -17,7 +17,7 @@ interface AuthManagerInterface extends ManagerInterface
{
/**
* @param int|null $type
* @param array $excludeItems
* @param array $excludeItems
*
* @return mixed
*/

View File

@ -33,10 +33,10 @@ abstract class AbstractAuthItemController extends Controller
/**
* AbstractAuthItemController constructor.
*
* @param string $id
* @param Module $module
* @param string $id
* @param Module $module
* @param AuthHelper $authHelper
* @param array $config
* @param array $config
*/
public function __construct($id, Module $module, AuthHelper $authHelper, array $config = [])
{

View File

@ -43,10 +43,10 @@ class AdminController extends Controller
/**
* AdminController constructor.
*
* @param string $id
* @param Module $module
* @param string $id
* @param Module $module
* @param UserQuery $userQuery
* @param array $config
* @param array $config
*/
public function __construct($id, Module $module, UserQuery $userQuery, array $config = [])
{
@ -282,7 +282,6 @@ class AdminController extends Controller
Yii::$app->getSession()->setFlash('success', Yii::t('usuario', 'User block status has been updated.'));
} else {
Yii::$app->getSession()->setFlash('danger', Yii::t('usuario', 'Unable to update block status.'));
}
}

View File

@ -38,11 +38,11 @@ class RecoveryController extends Controller
/**
* RecoveryController constructor.
*
* @param string $id
* @param Module $module
* @param UserQuery $userQuery
* @param string $id
* @param Module $module
* @param UserQuery $userQuery
* @param TokenQuery $tokenQuery
* @param array $config
* @param array $config
*/
public function __construct($id, Module $module, UserQuery $userQuery, TokenQuery $tokenQuery, array $config = [])
{
@ -73,9 +73,9 @@ class RecoveryController extends Controller
/**
* Displays / handles user password recovery request.
*
* @throws NotFoundHttpException
* @return string
*
* @throws NotFoundHttpException
*/
public function actionRequest()
{
@ -117,9 +117,9 @@ class RecoveryController extends Controller
* @param $id
* @param $code
*
* @throws NotFoundHttpException
* @return string
*
* @throws NotFoundHttpException
*/
public function actionReset($id, $code)
{

View File

@ -44,11 +44,11 @@ class RegistrationController extends Controller
/**
* RegistrationController constructor.
*
* @param string $id
* @param Module $module
* @param UserQuery $userQuery
* @param string $id
* @param Module $module
* @param UserQuery $userQuery
* @param SocialNetworkAccountQuery $socialNetworkAccountQuery
* @param array $config
* @param array $config
*/
public function __construct(
$id,
@ -106,7 +106,6 @@ class RegistrationController extends Controller
$mailService = MailFactory::makeWelcomeMailerService($user);
if ($this->make(UserRegisterService::class, [$user, $mailService])->run()) {
Yii::$app->session->setFlash(
'info',
Yii::t(

View File

@ -37,10 +37,10 @@ class SecurityController extends Controller
/**
* SecurityController constructor.
*
* @param string $id
* @param Module $module
* @param string $id
* @param Module $module
* @param SocialNetworkAccountQuery $socialNetworkAccountQuery
* @param array $config
* @param array $config
*/
public function __construct(
$id,

View File

@ -50,12 +50,12 @@ class SettingsController extends Controller
/**
* SettingsController constructor.
*
* @param string $id
* @param Module $module
* @param ProfileQuery $profileQuery
* @param UserQuery $userQuery
* @param string $id
* @param Module $module
* @param ProfileQuery $profileQuery
* @param UserQuery $userQuery
* @param SocialNetworkAccountQuery $socialNetworkAccountQuery
* @param array $config
* @param array $config
*/
public function __construct(
$id,

View File

@ -46,9 +46,9 @@ class AuthItemFactory
* @param $type
* @param $name
*
* @throws Exception
* @return \yii\rbac\Role|\yii\rbac\Permission
*
* @throws Exception
*/
public static function makeByType($type, $name)
{

View File

@ -31,9 +31,9 @@ class EmailChangeStrategyFactory
* @param $strategy
* @param SettingsForm $form
*
* @throws Exception
* @return MailChangeStrategyInterface
*
* @throws Exception
*/
public static function makeByStrategyType($strategy, SettingsForm $form)
{

View File

@ -43,7 +43,7 @@ class MailFactory
/**
* @param string $email
* @param Token $token
* @param Token $token
*
* @return MailService
*/
@ -63,7 +63,7 @@ class MailFactory
}
/**
* @param User $user
* @param User $user
* @param Token|null $token
*
* @return MailService
@ -84,7 +84,7 @@ class MailFactory
}
/**
* @param User $user
* @param User $user
* @param Token $token
*
* @return MailService
@ -114,7 +114,7 @@ class MailFactory
* @param string $to
* @param string $subject
* @param string $view
* @param array $params
* @param array $params
*
* @return MailService
*/

View File

@ -48,9 +48,9 @@ class LoginForm extends Model
protected $securityHelper;
/**
* @param UserQuery $query
* @param UserQuery $query
* @param SecurityHelper $securityHelper
* @param array $config
* @param array $config
*/
public function __construct(UserQuery $query, SecurityHelper $securityHelper, $config = [])
{

View File

@ -38,7 +38,7 @@ class RecoveryForm extends Model
/**
* @param UserQuery $query
* @param array $config
* @param array $config
*/
public function __construct(UserQuery $query, array $config = [])
{

View File

@ -28,7 +28,7 @@ class ResendForm extends Model
/**
* @param UserQuery $userQuery
* @param array $config
* @param array $config
*/
public function __construct(UserQuery $userQuery, $config = [])
{

View File

@ -45,9 +45,9 @@ class ClassMapHelper
/**
* @param $key
*
* @throws \Exception
* @return mixed
*
* @throws \Exception
*/
public function get($key)
{

View File

@ -28,7 +28,7 @@ class SecurityHelper
/**
* Generates a secure hash from a password and a random salt.
*
* @param string $password
* @param string $password
* @param null|int $cost
*
* @return string

View File

@ -43,7 +43,7 @@ class UserSearch extends Model
* UserSearch constructor.
*
* @param UserQuery $query
* @param array $config
* @param array $config
*/
public function __construct(UserQuery $query, $config = [])
{

View File

@ -1,5 +1,14 @@
<?php
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* (c) 2amigOS! <http://2amigos.us/>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Da\User\Service;
use Da\User\Contracts\ServiceInterface;

View File

@ -65,7 +65,6 @@ class AuthItemEditionService implements ServiceInterface
$this->model->item = $item;
$this->updateChildren();
} catch (Exception $e) {
return false;
}

View File

@ -1,5 +1,14 @@
<?php
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* (c) 2amigOS! <http://2amigos.us/>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Da\User\Service;
use Da\User\Contracts\MailChangeStrategyInterface;
@ -80,7 +89,6 @@ class EmailChangeService implements ServiceInterface
return $this->model->save(false);
}
return false;
}
}

View File

@ -1,5 +1,14 @@
<?php
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* (c) 2amigOS! <http://2amigos.us/>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Da\User\Service;
use Da\User\Contracts\ServiceInterface;
@ -21,11 +30,11 @@ class MailService implements ServiceInterface
/**
* MailService constructor.
*
* @param string $from
* @param string $to
* @param string $subject
* @param string $view
* @param array $params
* @param string $from
* @param string $to
* @param string $subject
* @param string $view
* @param array $params
* @param BaseMailer|MailerInterface $mailer
*/
public function __construct($from, $to, $subject, $view, array $params, MailerInterface $mailer)

View File

@ -1,5 +1,14 @@
<?php
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* (c) 2amigOS! <http://2amigos.us/>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Da\User\Service;
use Da\User\Contracts\ServiceInterface;

View File

@ -32,8 +32,8 @@ class SocialNetworkAccountConnectService implements ServiceInterface
/**
* SocialNetworkAccountUserLinkService constructor.
*
* @param SecurityController $controller
* @param AuthClientInterface $client
* @param SecurityController $controller
* @param AuthClientInterface $client
* @param SocialNetworkAccountQuery $socialNetworkAccountQuery
*/
public function __construct(
@ -68,7 +68,6 @@ class SocialNetworkAccountConnectService implements ServiceInterface
Yii::t('usuario', 'This account has already been connected to another user')
);
return false;
}

View File

@ -34,10 +34,10 @@ trait ContainerAwareTrait
/**
* Gets a class from the container.
*
* @param string $class he class name or an alias name (e.g. `foo`) that was previously registered via [[set()]]
* or [[setSingleton()]]
* @param array $params constructor parameters
* @param array $config attributes
* @param string $class he class name or an alias name (e.g. `foo`) that was previously registered via [[set()]]
* or [[setSingleton()]]
* @param array $params constructor parameters
* @param array $config attributes
*
* @return object
*/

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '(nicht gesetzt)',
'A confirmation message has been sent to your new email address' => 'Eine Bestätigungsnachricht wurde an Ihre neue E-Mail Adresse versandt',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '(sin establecer)',
'A confirmation message has been sent to your new email address' => 'Se ha enviado un mensaje de confirmación a tu nueva dirección de correo electrónico',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '(non impostato)',
'A confirmation message has been sent to your new email address' => 'È stato inviato un messaggio di conferma al tuo nuovo indirizzo email',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '(неустановлено)',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -1,21 +1,14 @@
<?php
/**
* Message translations.
/*
* This file is part of the 2amigos/yii2-usuario project.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
* (c) 2amigOS! <http://2amigos.us/>
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'(not set)' => '',
'A confirmation message has been sent to your new email address' => '',

View File

@ -13,8 +13,8 @@ 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
* @var \Da\User\Model\Profile $profile
*/

View File

@ -11,7 +11,7 @@
/**
* @var yii\widgets\ActiveForm
* @var \Da\User\Model\User $user
* @var \Da\User\Model\User $user
*/
?>

View File

@ -14,7 +14,7 @@ use yii\bootstrap\Nav;
use yii\helpers\Html;
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var \Da\User\Model\User $user
*/

View File

@ -15,8 +15,8 @@ use yii\helpers\Html;
use yii\web\View;
/**
* @var View $this
* @var User $user
* @var View $this
* @var User $user
* @var string $content
*/

View File

@ -12,7 +12,7 @@
use yii\helpers\Html;
/**
* @var \Da\User\Model\User $user
* @var \Da\User\Model\User $user
* @var \Da\User\Model\Token $token
*/
?>

View File

@ -12,7 +12,7 @@
/**
* @var \Da\User\Model\User
* @var \Da\User\Model\Token $token
* @var \Da\User\Module $module
* @var \Da\User\Module $module
*/
?>
<?= Yii::t('usuario', 'Hello') ?>,

View File

@ -12,10 +12,10 @@
use yii\helpers\Html;
/**
* @var \Da\User\Module $module
* @var \Da\User\Model\User $user
* @var \Da\User\Module $module
* @var \Da\User\Model\User $user
* @var \Da\User\Model\Token $token
* @var bool $showPassword
* @var bool $showPassword
*/
?>

View File

@ -11,8 +11,8 @@
/**
* @var $dataProvider \yii\data\ActiveDataProvider
* @var $this yii\web\View
* @var $searchModel \Da\User\Search\PermissionSearch
* @var $this yii\web\View
* @var $searchModel \Da\User\Search\PermissionSearch
*/
use yii\grid\ActionColumn;
use yii\grid\GridView;

View File

@ -12,7 +12,7 @@
use yii\helpers\Html;
/**
* @var \yii\web\View $this
* @var \yii\web\View $this
* @var \Da\User\Model\Profile $profile
*/

View File

@ -13,8 +13,8 @@ use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var \Da\User\Form\RecoveryForm $model
*/

View File

@ -13,8 +13,8 @@ use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var \Da\User\Form\RecoveryForm $model
*/

View File

@ -13,9 +13,9 @@ use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var \Da\User\Model\User $model
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var \Da\User\Model\User $model
* @var \Da\User\Model\SocialNetworkAccount $account
*/

View File

@ -13,10 +13,10 @@ use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var \Da\User\Form\RegistrationForm $model
* @var \Da\User\Model\User $user
* @var \Da\User\Module $module
* @var \Da\User\Model\User $user
* @var \Da\User\Module $module
*/
$this->title = Yii::t('usuario', 'Sign up');

View File

@ -13,7 +13,7 @@ use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var \Da\User\Form\ResendForm $model
*/

View File

@ -14,9 +14,9 @@ use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var \Da\User\Form\LoginForm $model
* @var \Da\User\Module $module
* @var \Da\User\Module $module
*/
$this->title = Yii::t('usuario', 'Sign in');

View File

@ -13,8 +13,8 @@ use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var \Da\User\Form\SettingsForm $model
*/

View File

@ -13,9 +13,9 @@ use Da\User\Widget\ConnectWidget;
use yii\helpers\Html;
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var \Da\User\Model\User $user
* @var \Da\User\Model\User $user
*/
$this->title = Yii::t('usuario', 'Networks');

View File

@ -15,10 +15,10 @@ use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var \Da\User\Model\Profile $model
* @var TimezoneHelper $timezoneHelper
* @var TimezoneHelper $timezoneHelper
*/
$this->title = Yii::t('usuario', 'Profile settings');

View File

@ -12,7 +12,7 @@
/**
* @var yii\web\View
* @var \Da\User\Module $module
* @var string $title
* @var string $title
*/
$this->title = $title;