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 (62)

tests/Psalm/SeasonsExtend.php (1 issue)

Labels
Severity
1
<?php
2
declare(strict_types=1);
3
namespace Thunder\Platenum\Tests\Psalm;
4
5
use Thunder\Platenum\Enum\AbstractConstantsEnum;
6
7
/**
8
 * @method static static SPRING()
9
 * @method static static SUMMER()
10
 * @method static static AUTUMN()
11
 * @method static static WINTER()
12
 *
13
 * @extends AbstractConstantsEnum<'SPRING'|'SUMMER'|'AUTUMN'|'WINTER',SeasonsExtend::*>
14
 * @psalm-suppress PropertyNotSetInConstructor
15
 */
16
final class SeasonsExtend extends AbstractConstantsEnum
17
{
18
    private const SPRING = 1;
19
    private const SUMMER = 2;
20
    private const AUTUMN = 3;
21
    private const WINTER = 4;
22
}
23
24
$spring = SeasonsExtend::SPRING();
25
/** @psalm-suppress InvalidArgument */
26
$spring->hasMember('INVALID');
27
/** @psalm-suppress InvalidArgument */
28
$spring->hasValue(9);
0 ignored issues
show
9 of type integer is incompatible with the type Thunder\Platenum\Enum\TValue expected by parameter $value of Thunder\Platenum\Enum\Ab...nstantsEnum::hasValue(). ( Ignorable by Annotation )

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

28
$spring->hasValue(/** @scrutinizer ignore-type */ 9);
Loading history...
29