Issues (13)

.phpstorm.meta.php (2 issues)

1
<?php
2
3
4
namespace PHPSTORM_META {
5
6
    use Psr\Container\ContainerInterface as PsrContainerInterface;
7
    use Psr\Http\Message\ServerRequestInterface;
8
    use PSR7Session\Http\SessionMiddleware;
9
    use PSR7Session\Session\SessionInterface;
10
11
    // PSR-11 Container Interface
12
    override(PsrContainerInterface::get(0),
0 ignored issues
show
Bug Best Practice introduced by
The method Psr\Container\ContainerInterface::get() is not static, but was called statically. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

12
    override(PsrContainerInterface::/** @scrutinizer ignore-call */ get(0),
Loading history...
13
        map([
14
            '' => '@',
15
        ])
16
    );
17
    // PSR-7 requests attributes; e.g. PSR-7 Storage-less HTTP Session
18
    override(ServerRequestInterface::getAttribute(0),
0 ignored issues
show
Bug Best Practice introduced by
The method Psr\Http\Message\ServerR...terface::getAttribute() is not static, but was called statically. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

18
    override(ServerRequestInterface::/** @scrutinizer ignore-call */ getAttribute(0),
Loading history...
19
        map([
20
            SessionMiddleware::SESSION_ATTRIBUTE instanceof SessionInterface,
21
        ])
22
    );
23
}
24