Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Closed
@francoispluchino

Description

@francoispluchino
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.