Skip to content

Notice: Undefined property: PhpParser\Node\Expr\Closure::$items  #548

Open
@TheRatG

Description

@TheRatG
Q A
Bundle version dev-master b5c84d2
Symfony version 4.4
PHP version 7.4

Actual behavior

FormExtractor.php
Notice: Undefined property: PhpParser\Node\Expr\Closure::$items

In FormExtractor.php line 311:
                                                                   
  [ErrorException]                                                 
  Notice: Undefined property: PhpParser\Node\Expr\Closure::$items  
                                                                   

Exception trace:
  at /project/vendor/jms/translation-bundle/Translation/Extractor/File/FormExtractor.php:311
 JMS\TranslationBundle\Translation\Extractor\File\FormExtractor->parseConstraintNode() at /project/vendor/jms/translation-bundle/Translation/Extractor/File/FormExtractor.php:154
 JMS\TranslationBundle\Translation\Extractor\File\FormExtractor->enterNode() at /project/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:123
 PhpParser\NodeTraverser->traverseNode() at /project/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:223

Steps to reproduce

./bin/console translation:extract en

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions