mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 01:11:28 +02:00
Fix for deprecation notices when running tests on PHP 8.2. Upgraded Conception to 4.2.2
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"twig/twig": ">=1.28",
|
"twig/twig": ">=1.28",
|
||||||
"codeception/codeception": "^4.1",
|
"codeception/codeception": "^4.2",
|
||||||
"codeception/module-asserts": "^1.1",
|
"codeception/module-asserts": "^1.1",
|
||||||
"codeception/module-db": "^1.0",
|
"codeception/module-db": "^1.0",
|
||||||
"codeception/module-phpbrowser": "^1.0"
|
"codeception/module-phpbrowser": "^1.0"
|
||||||
|
678
e107_tests/composer.lock
generated
678
e107_tests/composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@ $app_path = $params['app_path'] ?: codecept_root_dir()."/e107";
|
|||||||
|
|
||||||
// Relative path
|
// Relative path
|
||||||
if (substr($app_path, 0, 1) !== '/')
|
if (substr($app_path, 0, 1) !== '/')
|
||||||
$app_path = codecept_root_dir() . "/${app_path}";
|
$app_path = codecept_root_dir() . "/{$app_path}";
|
||||||
|
|
||||||
define('APP_PATH', realpath($app_path));
|
define('APP_PATH', realpath($app_path));
|
||||||
define('PARAMS_SERIALIZED', serialize($params));
|
define('PARAMS_SERIALIZED', serialize($params));
|
||||||
|
@@ -49,7 +49,7 @@ abstract class Base extends \Codeception\Module
|
|||||||
{
|
{
|
||||||
foreach ($this->deployer_components as $component)
|
foreach ($this->deployer_components as $component)
|
||||||
{
|
{
|
||||||
$method = "reconfigure_${component}";
|
$method = "reconfigure_{$component}";
|
||||||
if (method_exists($this->deployer, $method))
|
if (method_exists($this->deployer, $method))
|
||||||
{
|
{
|
||||||
$this->deployer->$method($this);
|
$this->deployer->$method($this);
|
||||||
|
Reference in New Issue
Block a user