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
catch 2022-01-24 10:28:44 +00:00
parent ddd02d344b
commit be061dc5d3
1 changed files with 4 additions and 1 deletions

View File

@ -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.
*/