Skip to content

[Cache][FrameworkBundle] Doesn't possible to use ArrayAdapter in cache.app #23214

@BoShurik

Description

@BoShurik
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.3.2

https://github.com/BoShurik/symfony-standard/commit/ab139bc4fb1e0417a894c4627bcbf91667e653e2

cache.app service builds as

protected function getCache_App_RecorderInnerService($lazyLoad = true)
{
        return $this->services['cache.app.recorder_inner'] = new \Symfony\Component\Cache\Adapter\ArrayAdapter('09wk9DB47N', false);
}

If 0 <'09wk9DB47N' then we got an exception

Notice: A non well formed numeric value encountered

here: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Cache/Adapter/ArrayAdapter.php#L130

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions