Skip to content

[master] Commands with --env=test throw exceptions #4626

Closed
@gnugat

Description

@gnugat

After updating my dependencies this morning with composer ("symfony/symfony": "2.1.*"), I figured out that every commands using the option "--env=test" would throw the following exception:

[ErrorException]                                                                                                                                                               
  Notice: unserialize(): Error at offset 65 of 67 bytes in [...]/vendor/symfony/symfony/src/Symfony/Component/Config/Resource/FileResource.php line 115

After putting a nice var_dump($serialized); in FileResource::unserialized(), and running different commands we can see that the content of $serialize causing this exception is the following one:

s:59:"[...]/app/cache/test/kernel.tmp";}i:1

This "}i:1" looks particulary suspicious to me.
Anyone having the same trouble?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions