diff --git a/common/config/ConfigLoader.php b/common/config/ConfigLoader.php index d4683ec..eb88158 100644 --- a/common/config/ConfigLoader.php +++ b/common/config/ConfigLoader.php @@ -5,10 +5,7 @@ use yii\helpers\ArrayHelper; class ConfigLoader { - /* - * TODO: В PHP 7.1 следует сделать её protected - */ - const ROOT_PATH = __DIR__ . '/../..'; + private const ROOT_PATH = __DIR__ . '/../..'; private $application; diff --git a/tests/codeception/config/functional.php b/tests/codeception/config/functional.php index a53b592..6583b9c 100644 --- a/tests/codeception/config/functional.php +++ b/tests/codeception/config/functional.php @@ -3,7 +3,6 @@ return [ 'components' => [ 'request' => [ // it's not recommended to run functional tests with CSRF validation enabled - // TODO: у нас вроде и без того нет проверки csrf 'enableCsrfValidation' => false, 'enableCookieValidation' => false, // but if you absolutely need it set cookie domain to localhost