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

app/Fields/RequiredPositions.php (6 issues)

1
<?php
2
0 ignored issues
show
Missing file doc comment
Loading history...
3
namespace BristolSU\Module\AssignRoles\Fields;
4
5
use FormSchema\Schema\Field;
6
7
class RequiredPositions extends Field
0 ignored issues
show
Missing doc comment for class RequiredPositions
Loading history...
8
{
9
10
    protected $type = 'assignRolesRequiredPositions';
11
12
    protected $logic;
13
14
    protected $positions;
15
16
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
17
     * @inheritDoc
18
     */
0 ignored issues
show
Missing @return tag in function comment
Loading history...
19
    public function getAppendedAttributes(): array
20
    {
21
        return [
22
            'logic' => ($this->logic() ?? []),
0 ignored issues
show
The method logic() does not exist on BristolSU\Module\AssignR...ields\RequiredPositions. Since you implemented __call, consider adding a @method annotation. ( Ignorable by Annotation )

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

22
            'logic' => ($this->/** @scrutinizer ignore-call */ logic() ?? []),
Loading history...
23
            'positions' => ($this->positions() ?? [])
0 ignored issues
show
The method positions() does not exist on BristolSU\Module\AssignR...ields\RequiredPositions. Since you implemented __call, consider adding a @method annotation. ( Ignorable by Annotation )

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

23
            'positions' => ($this->/** @scrutinizer ignore-call */ positions() ?? [])
Loading history...
24
        ];
25
    }
26
}