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.

DevNullLogger::hasMessages()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace EightPoints\Bundle\GuzzleBundle\Log;
4
5
use Psr\Log\LoggerTrait;
6
7
/**
8
 * @author SuRiKmAn <[email protected]>
9
 */
10
class DevNullLogger implements LoggerInterface
11
{
12
    use LoggerTrait;
13
14
    /**
15
     * @inheritDoc
16
     */
17
    public function log($level, $message, array $context = [])
18
    {
19
        // do nothing!!
20
    }
21
22
    /**
23
     * Clear messages list
24
     *
25
     * @return void
26
     */
27
    public function clear() : void
28
    {
29
        // do nothing!!
30
    }
31
32
    /**
33
     * Return if messages exist or not
34
     *
35
     * @return boolean
36
     */
37
    public function hasMessages() : bool
38
    {
39
        return false;
40
    }
41
42
    /**
43
     * Return log messages
44
     *
45
     * @return array
46
     */
47
    public function getMessages() : array
48
    {
49
        return [];
50
    }
51
}
52