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.

CommandUtilityFacade   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A exec() 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\Utility\CommandUtility;
19
20
/**
21
 * Class CommandUtilityFacade
22
 */
23
class CommandUtilityFacade
24
{
25
    /**
26
     * Wrapper function for php exec function
27
     * Needs to be central to have better control and possible fix for issues
28
     *
29
     * @param string $command
30
     * @param array|null $output
31
     * @param int $returnValue
32
     * @return string
33
     */
34
    public function exec($command, &$output = null, &$returnValue = 0)
35
    {
36
        return CommandUtility::exec($command, $output, $returnValue);
37
    }
38
}
39