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

ext_localconf.php (1 issue)

Severity
1
<?php
2
defined('TYPO3_MODE') or die();
3
4
call_user_func(function (string $extKey) {
0 ignored issues
show
The parameter $extKey is not used and could be removed. ( Ignorable by Annotation )

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

4
call_user_func(function (/** @scrutinizer ignore-unused */ string $extKey) {

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
5
    if (TYPO3_MODE === 'BE') {
6
        //Fetch ExtensionConfiguration
7
        \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
8
            \KamiYang\ProjectVersion\Configuration\ExtensionConfiguration::class
9
        );
10
11
        // Register custom icon
12
        \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class)
13
            ->registerIcon(
14
                'information-project-version',
15
                \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
16
                [
17
                    'source' => 'EXT:project_version/Resources/Public/Icons/ToolbarItem.svg'
18
                ]
19
            );
20
21
        // Add project version to SystemInformation
22
        $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
23
            \TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class
24
        );
25
        $signalSlotDispatcher->connect(
26
            \TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem::class,
27
            'getSystemInformation',
28
            \KamiYang\ProjectVersion\Backend\ToolbarItems\ProjectVersionSlot::class,
29
            'getProjectVersion'
30
        );
31
    }
32
}, 'project_version');
33