mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 00:30:09 +02:00
Fix for deprecation notices when running tests on PHP 8.2. Upgraded Conception to 4.2.2
This commit is contained in:
@@ -9,7 +9,7 @@ $app_path = $params['app_path'] ?: codecept_root_dir()."/e107";
|
||||
|
||||
// Relative path
|
||||
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('PARAMS_SERIALIZED', serialize($params));
|
||||
|
@@ -49,7 +49,7 @@ abstract class Base extends \Codeception\Module
|
||||
{
|
||||
foreach ($this->deployer_components as $component)
|
||||
{
|
||||
$method = "reconfigure_${component}";
|
||||
$method = "reconfigure_{$component}";
|
||||
if (method_exists($this->deployer, $method))
|
||||
{
|
||||
$this->deployer->$method($this);
|
||||
|
Reference in New Issue
Block a user