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

@ -1,4 +1,12 @@
<?php
$header = <<<'EOF'
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.
EOF;
$finder = PhpCsFixer\Finder::create()
->exclude([
@ -14,6 +22,7 @@ $finder = PhpCsFixer\Finder::create()
->setRules(array(
'@PSR1' => true,
'@PSR2' => true,
'header_comment' => ['header' => $header],
'array_syntax' => array('syntax' => 'short'),
'combine_consecutive_unsets' => true,
'no_extra_consecutive_blank_lines' => array(
@ -31,6 +40,9 @@ $finder = PhpCsFixer\Finder::create()
'no_useless_return' => true,
'ordered_class_elements' => true,
'ordered_imports' => true,
'phpdoc_add_missing_param_annotation' => true
'phpdoc_add_missing_param_annotation' => true,
'phpdoc_order' => true,
'phpdoc_align' => true
))
->setFinder($finder);

View File

@ -49,4 +49,7 @@ This module is highly inspired by the excellent work of [Dektrium](https://dektr
In fact, we have used some of its processes, commands, views, and some of its attribute names to somehow standardize the
modules and make it easier for our developers to swap from [Dektrium's](https://dektrium.com) modules to our own.
[![2amigOS!](https://s.gravatar.com/avatar/55363394d72945ff7ed312556ec041e0?s=80)](http://www.2amigos.us)
> [![2amigOS!](https://s.gravatar.com/avatar/55363394d72945ff7ed312556ec041e0?s=80)](http://www.2amigos.us)
<i>Custom Software | Web & Mobile Software Development</i>
[www.2amigos.us](http://www.2amigos.us)

View File

@ -54,7 +54,7 @@
},
"require-dev": {
"cebe/assetfree-yii2": "~2.0.0",
"friendsofphp/php-cs-fixer": "^2.0",
"friendsofphp/php-cs-fixer": "^2.3",
"squizlabs/php_codesniffer": "*",
"phpmd/phpmd": "@stable",
"yiisoft/yii2-codeception": "^2.0.0",

151
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "be6349bedeb687dd3dfde5aef1b0a773",
"content-hash": "f56bcec678e47fb82f7e5bf0e54b7ce0",
"packages": [
{
"name": "2amigos/yii2-selectize-widget",
@ -1008,16 +1008,16 @@
},
{
"name": "codeception/codeception",
"version": "2.3.3",
"version": "2.3.4",
"source": {
"type": "git",
"url": "https://github.com/Codeception/Codeception.git",
"reference": "67cd520b4f20cdfc3a52d1a0022924125822a8e6"
"reference": "b5391497f9a3c9d0a9c02ae39b53441e413e35a8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Codeception/Codeception/zipball/67cd520b4f20cdfc3a52d1a0022924125822a8e6",
"reference": "67cd520b4f20cdfc3a52d1a0022924125822a8e6",
"url": "https://api.github.com/repos/Codeception/Codeception/zipball/b5391497f9a3c9d0a9c02ae39b53441e413e35a8",
"reference": "b5391497f9a3c9d0a9c02ae39b53441e413e35a8",
"shasum": ""
},
"require": {
@ -1054,6 +1054,7 @@
"php-amqplib/php-amqplib": "~2.4",
"predis/predis": "^1.0",
"squizlabs/php_codesniffer": "~2.0",
"symfony/process": ">=2.7 <4.0",
"vlucas/phpdotenv": "^2.4.0"
},
"suggest": {
@ -1098,7 +1099,7 @@
"functional testing",
"unit testing"
],
"time": "2017-06-02T00:22:30+00:00"
"time": "2017-07-10T19:45:09+00:00"
},
{
"name": "codeception/specify",
@ -1889,22 +1890,22 @@
},
{
"name": "phpdocumentor/reflection-docblock",
"version": "3.1.1",
"version": "3.2.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
"reference": "46f7e8bb075036c92695b15a1ddb6971c751e585"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
"reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/46f7e8bb075036c92695b15a1ddb6971c751e585",
"reference": "46f7e8bb075036c92695b15a1ddb6971c751e585",
"shasum": ""
},
"require": {
"php": ">=5.5",
"phpdocumentor/reflection-common": "^1.0@dev",
"phpdocumentor/type-resolver": "^0.2.0",
"phpdocumentor/type-resolver": "^0.4.0",
"webmozart/assert": "^1.0"
},
"require-dev": {
@ -1930,24 +1931,24 @@
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2016-09-30T07:12:33+00:00"
"time": "2017-07-15T11:38:20+00:00"
},
{
"name": "phpdocumentor/type-resolver",
"version": "0.2.1",
"version": "0.4.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
"reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
"shasum": ""
},
"require": {
"php": ">=5.5",
"php": "^5.5 || ^7.0",
"phpdocumentor/reflection-common": "^1.0"
},
"require-dev": {
@ -1977,7 +1978,7 @@
"email": "me@mikevanriel.com"
}
],
"time": "2016-11-25T06:54:22+00:00"
"time": "2017-07-14T14:27:02+00:00"
},
{
"name": "phpmd/phpmd",
@ -2441,16 +2442,16 @@
},
{
"name": "phpunit/phpunit-mock-objects",
"version": "3.4.3",
"version": "3.4.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
"reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24"
"reference": "a23b761686d50a560cc56233b9ecf49597cc9118"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3ab72b65b39b491e0c011e2e09bb2206c2aa8e24",
"reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118",
"reference": "a23b761686d50a560cc56233b9ecf49597cc9118",
"shasum": ""
},
"require": {
@ -2496,7 +2497,7 @@
"mock",
"xunit"
],
"time": "2016-12-08T20:27:08+00:00"
"time": "2017-06-30T09:13:00+00:00"
},
{
"name": "psr/container",
@ -3255,16 +3256,16 @@
},
{
"name": "symfony/browser-kit",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/browser-kit.git",
"reference": "c2c8ceb1aa9dab9eae54e9150e6a588ce3e53be1"
"reference": "3a4435e79a8401746e8525e98039199d0924b4e5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/browser-kit/zipball/c2c8ceb1aa9dab9eae54e9150e6a588ce3e53be1",
"reference": "c2c8ceb1aa9dab9eae54e9150e6a588ce3e53be1",
"url": "https://api.github.com/repos/symfony/browser-kit/zipball/3a4435e79a8401746e8525e98039199d0924b4e5",
"reference": "3a4435e79a8401746e8525e98039199d0924b4e5",
"shasum": ""
},
"require": {
@ -3308,20 +3309,20 @@
],
"description": "Symfony BrowserKit Component",
"homepage": "https://symfony.com",
"time": "2017-04-12T14:14:56+00:00"
"time": "2017-06-24T09:29:48+00:00"
},
{
"name": "symfony/config",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/config.git",
"reference": "35716d4904e0506a7a5a9bcf23f854aeb5719bca"
"reference": "a094618deb9a3fe1c3cf500a796e167d0495a274"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/config/zipball/35716d4904e0506a7a5a9bcf23f854aeb5719bca",
"reference": "35716d4904e0506a7a5a9bcf23f854aeb5719bca",
"url": "https://api.github.com/repos/symfony/config/zipball/a094618deb9a3fe1c3cf500a796e167d0495a274",
"reference": "a094618deb9a3fe1c3cf500a796e167d0495a274",
"shasum": ""
},
"require": {
@ -3329,10 +3330,12 @@
"symfony/filesystem": "~2.8|~3.0"
},
"conflict": {
"symfony/dependency-injection": "<3.3"
"symfony/dependency-injection": "<3.3",
"symfony/finder": "<3.3"
},
"require-dev": {
"symfony/dependency-injection": "~3.3",
"symfony/finder": "~3.3",
"symfony/yaml": "~3.0"
},
"suggest": {
@ -3368,20 +3371,20 @@
],
"description": "Symfony Config Component",
"homepage": "https://symfony.com",
"time": "2017-06-02T18:07:20+00:00"
"time": "2017-06-16T12:40:34+00:00"
},
{
"name": "symfony/console",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "70d2a29b2911cbdc91a7e268046c395278238b2e"
"reference": "a97e45d98c59510f085fa05225a1acb74dfe0546"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/70d2a29b2911cbdc91a7e268046c395278238b2e",
"reference": "70d2a29b2911cbdc91a7e268046c395278238b2e",
"url": "https://api.github.com/repos/symfony/console/zipball/a97e45d98c59510f085fa05225a1acb74dfe0546",
"reference": "a97e45d98c59510f085fa05225a1acb74dfe0546",
"shasum": ""
},
"require": {
@ -3437,11 +3440,11 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
"time": "2017-06-02T19:24:58+00:00"
"time": "2017-07-03T13:19:36+00:00"
},
{
"name": "symfony/css-selector",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
@ -3494,16 +3497,16 @@
},
{
"name": "symfony/debug",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
"reference": "e9c50482841ef696e8fa1470d950a79c8921f45d"
"reference": "63b85a968486d95ff9542228dc2e4247f16f9743"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/debug/zipball/e9c50482841ef696e8fa1470d950a79c8921f45d",
"reference": "e9c50482841ef696e8fa1470d950a79c8921f45d",
"url": "https://api.github.com/repos/symfony/debug/zipball/63b85a968486d95ff9542228dc2e4247f16f9743",
"reference": "63b85a968486d95ff9542228dc2e4247f16f9743",
"shasum": ""
},
"require": {
@ -3546,20 +3549,20 @@
],
"description": "Symfony Debug Component",
"homepage": "https://symfony.com",
"time": "2017-06-01T21:01:25+00:00"
"time": "2017-07-05T13:02:37+00:00"
},
{
"name": "symfony/dependency-injection",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/dependency-injection.git",
"reference": "4cec19ec1d25f22e1ec8ab14635d3879a1287053"
"reference": "986a633c92220ecb22ad06820a1df126c7a4f9eb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/4cec19ec1d25f22e1ec8ab14635d3879a1287053",
"reference": "4cec19ec1d25f22e1ec8ab14635d3879a1287053",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/986a633c92220ecb22ad06820a1df126c7a4f9eb",
"reference": "986a633c92220ecb22ad06820a1df126c7a4f9eb",
"shasum": ""
},
"require": {
@ -3616,11 +3619,11 @@
],
"description": "Symfony DependencyInjection Component",
"homepage": "https://symfony.com",
"time": "2017-06-06T03:13:52+00:00"
"time": "2017-06-20T14:01:46+00:00"
},
{
"name": "symfony/dom-crawler",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/dom-crawler.git",
@ -3676,16 +3679,16 @@
},
{
"name": "symfony/event-dispatcher",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "4054a102470665451108f9b59305c79176ef98f0"
"reference": "67535f1e3fd662bdc68d7ba317c93eecd973617e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/4054a102470665451108f9b59305c79176ef98f0",
"reference": "4054a102470665451108f9b59305c79176ef98f0",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/67535f1e3fd662bdc68d7ba317c93eecd973617e",
"reference": "67535f1e3fd662bdc68d7ba317c93eecd973617e",
"shasum": ""
},
"require": {
@ -3735,20 +3738,20 @@
],
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com",
"time": "2017-06-04T18:15:29+00:00"
"time": "2017-06-09T14:53:08+00:00"
},
{
"name": "symfony/filesystem",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
"reference": "c709670bf64721202ddbe4162846f250735842c0"
"reference": "311fa718389efbd8b627c272b9324a62437018cc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/c709670bf64721202ddbe4162846f250735842c0",
"reference": "c709670bf64721202ddbe4162846f250735842c0",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/311fa718389efbd8b627c272b9324a62437018cc",
"reference": "311fa718389efbd8b627c272b9324a62437018cc",
"shasum": ""
},
"require": {
@ -3784,11 +3787,11 @@
],
"description": "Symfony Filesystem Component",
"homepage": "https://symfony.com",
"time": "2017-05-28T14:08:56+00:00"
"time": "2017-06-24T09:29:48+00:00"
},
{
"name": "symfony/finder",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
@ -3837,7 +3840,7 @@
},
{
"name": "symfony/options-resolver",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/options-resolver.git",
@ -4112,16 +4115,16 @@
},
{
"name": "symfony/process",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "8e30690c67aafb6c7992d6d8eb0d707807dd3eaf"
"reference": "5ab8949b682b1bf9d4511a228b5e045c96758c30"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/8e30690c67aafb6c7992d6d8eb0d707807dd3eaf",
"reference": "8e30690c67aafb6c7992d6d8eb0d707807dd3eaf",
"url": "https://api.github.com/repos/symfony/process/zipball/5ab8949b682b1bf9d4511a228b5e045c96758c30",
"reference": "5ab8949b682b1bf9d4511a228b5e045c96758c30",
"shasum": ""
},
"require": {
@ -4157,11 +4160,11 @@
],
"description": "Symfony Process Component",
"homepage": "https://symfony.com",
"time": "2017-05-22T12:32:03+00:00"
"time": "2017-07-03T08:12:02+00:00"
},
{
"name": "symfony/stopwatch",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/stopwatch.git",
@ -4210,16 +4213,16 @@
},
{
"name": "symfony/yaml",
"version": "v3.3.2",
"version": "v3.3.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063"
"reference": "1f93a8d19b8241617f5074a123e282575b821df8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063",
"reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063",
"url": "https://api.github.com/repos/symfony/yaml/zipball/1f93a8d19b8241617f5074a123e282575b821df8",
"reference": "1f93a8d19b8241617f5074a123e282575b821df8",
"shasum": ""
},
"require": {
@ -4261,7 +4264,7 @@
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
"time": "2017-06-02T22:05:06+00:00"
"time": "2017-06-15T12:58:50+00:00"
},
{
"name": "webmozart/assert",

View File

@ -334,9 +334,9 @@ class Bootstrap implements BootstrapInterface
* @param array $routes class name routes
* @param string $name
*
* @throws Exception
* @return int|string
*
* @throws Exception
*/
protected function getRoute(array $routes, $name)
{

View File

@ -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

@ -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

@ -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

@ -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

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

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;

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

@ -68,7 +68,6 @@ class SocialNetworkAccountConnectService implements ServiceInterface
Yii::t('usuario', 'This account has already been connected to another user')
);
return false;
}

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' => '',