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

src/Traits/CustomSlugifyTrait.php (2 issues)

Labels
Severity
1
<?php
2
3
namespace Raystech\StarterKit\Traits;
4
5
trait CustomSlugifyTrait
6
{
7
    public function setCustomHeaders(array $customHeaders): self
8
    {
9
        $this->setCustomProperty('custom_headers', $customHeaders);
0 ignored issues
show
It seems like setCustomProperty() must be provided by classes using this trait. How about adding it as abstract method to this trait? ( Ignorable by Annotation )

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

9
        $this->/** @scrutinizer ignore-call */ 
10
               setCustomProperty('custom_headers', $customHeaders);
Loading history...
10
11
        return $this;
12
    }
13
14
    public function getCustomHeaders(): array
15
    {
16
        return $this->getCustomProperty('custom_headers', []);
0 ignored issues
show
It seems like getCustomProperty() must be provided by classes using this trait. How about adding it as abstract method to this trait? ( Ignorable by Annotation )

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

16
        return $this->/** @scrutinizer ignore-call */ getCustomProperty('custom_headers', []);
Loading history...
17
    }
18
}
19