@@ -424,6 +424,12 @@ public function testProcessWithCustomParser(): void
424424 . '/Parser/Descriptor/fixtures/php-parser-04.php on line 40 ' ,
425425 'Descriptor argument must be present in ' . __DIR__
426426 . '/Parser/Descriptor/fixtures/php-parser-09.phtml on line 18 ' ,
427+ 'The descriptor must not contain values other than string literals; '
428+ . 'encountered Expr_Variable in ' . __DIR__
429+ . '/Parser/Descriptor/fixtures/php-parser-10.php on line 6 ' ,
430+ 'The descriptor must not contain values other than string literals; '
431+ . 'encountered Scalar_Encapsed in ' . __DIR__
432+ . '/Parser/Descriptor/fixtures/php-parser-10.php on line 12 ' ,
427433 'Missing "defaultMessage" in "{{#formatMessage |idWithoutMessage}}{{/formatMessage}}" in '
428434 . __DIR__ . '/Parser/Descriptor/fixtures/custom-parser-01.template on line 0 ' ,
429435 'Missing "id" in "{{#formatMessage}}message without ID{{/formatMessage}}" in '
@@ -499,6 +505,12 @@ public function testProcessWithCustomParserAsClosure(): void
499505 . '/Parser/Descriptor/fixtures/php-parser-04.php on line 40 ' ,
500506 'Descriptor argument must be present in ' . __DIR__
501507 . '/Parser/Descriptor/fixtures/php-parser-09.phtml on line 18 ' ,
508+ 'The descriptor must not contain values other than string literals; '
509+ . 'encountered Expr_Variable in ' . __DIR__
510+ . '/Parser/Descriptor/fixtures/php-parser-10.php on line 6 ' ,
511+ 'The descriptor must not contain values other than string literals; '
512+ . 'encountered Scalar_Encapsed in ' . __DIR__
513+ . '/Parser/Descriptor/fixtures/php-parser-10.php on line 12 ' ,
502514 'Missing "defaultMessage" in "{{#formatMessage |idWithoutMessage}}{{/formatMessage}}" in '
503515 . __DIR__ . '/Parser/Descriptor/fixtures/custom-parser-01.template on line 0 ' ,
504516 'Missing "id" in "{{#formatMessage}}message without ID{{/formatMessage}}" in '
0 commit comments