From ee68e373f4659eab04e7454fb8f583f82a76c4b1 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Sat, 2 Dec 2017 22:15:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D1=81=D0=BC=D0=BE?= =?UTF-8?q?=D1=82=D1=80=D0=B5=D0=BD=D1=8B=20=D0=B2=D0=B8=D1=81=D1=8F=D1=89?= =?UTF-8?q?=D0=B8=D0=B5=20TODO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config/ConfigLoader.php | 5 +---- tests/codeception/config/functional.php | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) 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