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.
Test Failed
Pull Request — master (#1)
by Shobi
02:38 queued 49s
created

quote()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
/**
3
 * Author: [email protected]
4
 *
5
 */
6
7
if(! function_exists('quote')) {
8
    /**
9
     * append and prepend a string with double quotes
10
     * @param string $string
11
     * @return string
12
     */
13
    function quote(string $string)
14
    {
15
        return "\"" . $string . "\"";
16
    }
17
}