Issue #2867871 by kyvour, neclimdul, ranjith_kumar_k_u: Use of Symfony Expression Language "Expression" in OptimizedPhpArrayDumperTest doesn't match library
(cherry picked from commit 3f8d0bd25c
)
merge-requests/1707/head
parent
ddd02d344b
commit
be061dc5d3
|
@ -559,7 +559,7 @@ namespace Drupal\Tests\Component\DependencyInjection\Dumper {
|
|||
* @covers ::dumpValue
|
||||
*/
|
||||
public function testGetServiceDefinitionForExpression() {
|
||||
$expression = new Expression();
|
||||
$expression = new Expression('');
|
||||
|
||||
$bar_definition = new Definition('\stdClass');
|
||||
$bar_definition->setPublic(TRUE);
|
||||
|
@ -713,6 +713,9 @@ namespace Symfony\Component\ExpressionLanguage {
|
|||
*/
|
||||
class Expression {
|
||||
|
||||
public function __construct($expression) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the string representation of the expression.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue