GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Issues (201)

src/State/Result.php (4 issues)

Labels
Severity
1
<?php
2
declare(strict_types = 1);
3
4
namespace Innmind\Immutable\State;
5
6
/**
7
 * @psalm-immutable
8
 * @template S
9
 * @template T
10
 */
11
final class Result
12
{
13
    /** @var S */
0 ignored issues
show
The type Innmind\Immutable\State\S 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...
14
    private $state;
15
    /** @var T */
0 ignored issues
show
The type Innmind\Immutable\State\T 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
    private $value;
17
18
    /**
19
     * @param S $state
20
     * @param T $value
21
     */
22
    private function __construct($state, $value)
23
    {
24
        $this->state = $state;
25
        $this->value = $value;
26
    }
27
28
    /**
29
     * @psalm-pure
30
     * @template A
31
     * @template B
32
     *
33
     * @param A $state
0 ignored issues
show
The type Innmind\Immutable\State\A 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...
34
     * @param B $value
0 ignored issues
show
The type Innmind\Immutable\State\B 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...
35
     *
36
     * @return self<A, B>
37
     */
38
    public static function of($state, $value): self
39
    {
40
        return new self($state, $value);
41
    }
42
43
    /**
44
     * @return S
45
     */
46
    public function state()
47
    {
48
        return $this->state;
49
    }
50
51
    /**
52
     * @return T
53
     */
54
    public function value()
55
    {
56
        return $this->value;
57
    }
58
}
59