Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Class 'PsrPlaceholder' mapping error #61

Closed
sourcedump opened this issue Oct 10, 2016 · 1 comment
Closed

Class 'PsrPlaceholder' mapping error #61

sourcedump opened this issue Oct 10, 2016 · 1 comment
Labels

Comments

@sourcedump
Copy link

Hello!
into the file 'ProcessorPluginManager.php' of Zend-Log there is a mapping error: the class 'PsrPlaceholder' is named as 'PsrPlaceHolder' at line 23 and 30.

    protected $aliases = [
        'backtrace'      => Processor\Backtrace::class,
        'psrplaceholder' => Processor\PsrPlaceHolder::class,
        'referenceid'    => Processor\ReferenceId::class,
        'requestid'      => Processor\RequestId::class
    ];
    protected $factories = [
        Processor\Backtrace::class      => InvokableFactory::class,
        Processor\PsrPlaceHolder::class => InvokableFactory::class,
        Processor\ReferenceId::class    => InvokableFactory::class,
        Processor\RequestId::class      => InvokableFactory::class,
        // Legacy (v2) due to alias resolution; canonical form of resolved
        // alias is used to look up the factory, while the non-normalized
        // resolved alias is used as the requested name passed to the factory.
        'zendlogprocessorbacktrace'      => InvokableFactory::class,
        'zendlogprocessorpsrplaceholder' => InvokableFactory::class,
        'zendlogprocessorreferenceid'    => InvokableFactory::class,
        'zendlogprocessorrequestid'      => InvokableFactory::class,
    ];

This error cause a problem if you want to initialize the Zend-Log with the ServiceManager configuration.

Bye!

@higoka higoka mentioned this issue Oct 18, 2016
weierophinney pushed a commit that referenced this issue May 17, 2017
@samsonasik
Copy link
Contributor

should be close-able in favor of acee537

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants