Issues (13)

.phpstorm.meta.php (6 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;
0 ignored issues
show
The type PSR7Session\Http\SessionMiddleware was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
9
    use PSR7Session\Session\SessionInterface;
0 ignored issues
show
The type PSR7Session\Session\SessionInterface was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
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...
The function override was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

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

12
    /** @scrutinizer ignore-call */ 
13
    override(PsrContainerInterface::get(0),
Loading history...
13
        map([
0 ignored issues
show
The function map was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

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

13
        /** @scrutinizer ignore-call */ 
14
        map([
Loading history...
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