Upgrade PHP to 7.3 and fix some related code errors. Disable self_accessor fixer for PHP-CS-Fixer

This commit is contained in:
ErickSkrauch
2019-04-06 04:15:23 +02:00
parent 07546bc7e9
commit e13b6f0d94
10 changed files with 38 additions and 219 deletions

View File

@@ -1,16 +1,9 @@
<?php
return [
'bootstrap' => ['debug'],
'components' => [
'reCaptcha' => [
'public' => '6LfwqCYTAAAAAJlaJpqCdzESCjAXUC81Ca6jBHR7',
'secret' => '6LfwqCYTAAAAAFPjHmgwmnjSMFeAOJh7Lk5xxDMC',
],
],
'modules' => [
'debug' => [
'class' => yii\debug\Module::class,
'allowedIPs' => ['*'],
],
],
];

View File

@@ -1,9 +0,0 @@
<?php
return [
'components' => [
'reCaptcha' => [
'public' => getenv('RECAPTCHA_PUBLIC'),
'secret' => getenv('RECAPTCHA_SECRET'),
],
],
];

View File

@@ -67,6 +67,8 @@ return [
],
'reCaptcha' => [
'class' => api\components\ReCaptcha\Component::class,
'public' => getenv('RECAPTCHA_PUBLIC'),
'secret' => getenv('RECAPTCHA_SECRET'),
],
'response' => [
'format' => yii\web\Response::FORMAT_JSON,