-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raise phpstan level = 5 and fix all related issues
- Loading branch information
1 parent
4c6252f
commit 8b65036
Showing
18 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
parameters: | ||
level: 4 | ||
level: 5 | ||
paths: | ||
- src | ||
excludePaths: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,9 @@ public function bootstrap($app) | |
$this->initAuthCollection($app); | ||
$this->initAuthManager($app); | ||
} else { | ||
/* @var $app ConsoleApplication */ | ||
if(!($app instanceof ConsoleApplication)) { | ||
throw new InvalidConfigException(); | ||
} | ||
$this->initConsoleCommands($app); | ||
$this->initAuthManager($app); | ||
} | ||
|
@@ -310,11 +312,11 @@ protected function initMailServiceConfiguration(Application $app, Module $module | |
{ | ||
$defaults = [ | ||
'fromEmail' => '[email protected]', | ||
'welcomeMailSubject' => Yii::t('usuario', 'Welcome to {0}', $app->name), | ||
'confirmationMailSubject' => Yii::t('usuario', 'Confirm account on {0}', $app->name), | ||
'reconfirmationMailSubject' => Yii::t('usuario', 'Confirm email change on {0}', $app->name), | ||
'recoveryMailSubject' => Yii::t('usuario', 'Complete password reset on {0}', $app->name), | ||
'twoFactorMailSubject' => Yii::t('usuario', 'Code for two factor authentication on {0}', $app->name), | ||
'welcomeMailSubject' => Yii::t('usuario', 'Welcome to {0}', [$app->name]), | ||
'confirmationMailSubject' => Yii::t('usuario', 'Confirm account on {0}', [$app->name]), | ||
'reconfirmationMailSubject' => Yii::t('usuario', 'Confirm email change on {0}', [$app->name]), | ||
'recoveryMailSubject' => Yii::t('usuario', 'Complete password reset on {0}', [$app->name]), | ||
'twoFactorMailSubject' => Yii::t('usuario', 'Code for two factor authentication on {0}', [$app->name]), | ||
]; | ||
|
||
$module->mailParams = array_merge($defaults, $module->mailParams); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters