Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUG][DependencyInjection] Syntax error in PHP dumper #9815

Closed
@francoispluchino

Description

@francoispluchino

When creating the cache, a syntax error is still present since the issue #9807. The #9812 fix does not solve the problem.

Error:
PHP Parse error:  syntax error, unexpected '\' (T_NS_SEPARATOR), expecting identifier (T_STRING) in ./app/cache/dev/appDevDebugPr
ojectContainer.php

In my case, the line:

$g = \Doctrine\\ORM\\EntityManager::create($this->get('doctrine.dbal.default_connection'), $f);

should be formatted like this:

$g = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $f);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions