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.

SystemEnvironmentBuilderFacade   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A isFunctionDisabled() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace KamiYang\ProjectVersion\Facade;
5
6
/*
7
 * This file is part of the ProjectVersion project.
8
 *
9
 * It is free software: you can redistribute it and/or modify
10
 * it under the terms of the GNU General Public License as published by
11
 * the Free Software Foundation, either version 3 of the License, or
12
 * (at your option) any later version.
13
 *
14
 * For the full copyright and license information, please read
15
 * LICENSE file that was distributed with this source code.
16
 */
17
18
use TYPO3\CMS\Core\Core\SystemEnvironmentBuilder;
19
20
/**
21
 * Class SystemEnvironmentBuilderFacade
22
 * Only used for mocking purposes. This is a wrapper for the actual Utility.
23
 *
24
 * @see \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder
25
 * @internal
26
 */
27
class SystemEnvironmentBuilderFacade
28
{
29
    /**
30
     * Check if the given function is disabled in the system
31
     *
32
     * @param string $function
33
     * @return bool
34
     */
35
    public function isFunctionDisabled($function): bool
36
    {
37
        return SystemEnvironmentBuilder::isFunctionDisabled($function);
38
    }
39
}
40