Skip to content

Psalm Errors After Upgrade to 5.8 from 4.1 #105

Open
@RayHughes

Description

@RayHughes

MethodSignatureMismatch

Argument 1 of ServiceProvider\CacheServiceProvider::register has wrong type 'Phalcon\Di\DiInterface', expecting 'mixed' as defined by Phalcon\Di\ServiceProviderInterface::register (see https://psalm.dev/042)
    public function register(DiInterface $di): void
Http\Request::getClientAddress has wrong type 'bool', expecting 'mixed' as defined by Phalcon\Http\RequestInterface::getClientAddress

PossiblyInvalidMethodCall

Cannot call method on possible array<array-key, Phalcon\Model> variable  (see https://psalm.dev/113)
        ])->filter(fn ($item) => $item);

InvalidClassCasing

Class, interface or enum Phalcon\Mvc\Model\Metadata\Memory has wrong casing (see https://psalm.dev/007)
                return new Memory();

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