Skip to content

[Insight] Deprecated class usage found - in src/Core/GoAspectContainer.php, line 91 #245

Description

@lisachenko

in src/Core/GoAspectContainer.php, line 91

The Doctrine\Common\Annotations\FileCacheReader class has been deprecated in Doctrine Annotations 1.2.3. Use the Doctrine\Common\Annotations\CachedReader class instead.

        $this->share('aspect.annotation.reader', function (Container $container) {
            $options = $container->get('kernel.options');
            $reader  = new AnnotationReader();
            if (!empty($options['cacheDir'])) {
                $reader  = new FileCacheReader(
                    $reader,
                    $options['cacheDir'] . DIRECTORY_SEPARATOR . '_annotations' . DIRECTORY_SEPARATOR,
                    $options['debug']
                );
            }

Posted from SensioLabsInsight

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions