mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-20 01:21:20 +01:00
Use "{$var}" instead of "${var}" syntax
This commit is contained in:
@@ -113,7 +113,7 @@ class rcube_httpapi_password
|
||||
if ($response_code < 200 || $response_code > 299) {
|
||||
rcube::raise_error([
|
||||
'code' => 600, 'file' => __FILE__, 'line' => __LINE__,
|
||||
'message' => "Password plugin: Unexpected response code ${response_code}: "
|
||||
'message' => "Password plugin: Unexpected response code {$response_code}: "
|
||||
. substr($result, 0, 1024)
|
||||
],
|
||||
true, false
|
||||
|
||||
@@ -83,7 +83,7 @@ class Password_Plugin extends PHPUnit\Framework\TestCase
|
||||
function load_driver($driver)
|
||||
{
|
||||
include_once __DIR__ . "/../drivers/$driver.php";
|
||||
$driver_class = "rcube_${driver}_password";
|
||||
$driver_class = "rcube_{$driver}_password";
|
||||
$this->assertTrue(class_exists($driver_class));
|
||||
return $driver_class;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user