Issues (22)

src/Contracts/Carrier.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Carrier API
4
 * User: moyo
5
 * Date: 23/11/2017
6
 * Time: 4:31 PM
7
 */
8
9
namespace Carno\Tracing\Contracts;
10
11
use Carno\Tracing\Contracts\CC\Extractor;
12
use Carno\Tracing\Contracts\CC\Generator;
13
use Carno\Tracing\Contracts\CC\Injector;
14
use Carno\Tracing\Standard\Context;
15
use Psr\Http\Message\MessageInterface;
0 ignored issues
show
The type Psr\Http\Message\MessageInterface 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...
16
17
interface Carrier extends Extractor, Injector, Generator
18
{
19
    /**
20
     * @param Context $context
21
     * @return static
22
     */
23
    public function ctx(Context $context) : Carrier;
24
25
    /**
26
     * @param MessageInterface $message
27
     * @return static
28
     */
29
    public function http(MessageInterface $message) : Carrier;
30
}
31