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.

SMSFormatter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 16
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Tylercd100\Monolog\Formatter;
4
5
use Monolog\Formatter\LineFormatter;
6
7
/**
8
* SMS - Monolog Formatter
9
*/
10
class SMSFormatter extends LineFormatter
11
{
12
    
13
    const SIMPLE_FORMAT = "%level_name%: %message% %context% %extra%";
14
15
    /**
16
     * @param string $format                     The format of the message
17
     * @param bool   $allowInlineLineBreaks      Whether to allow inline line breaks in log entries
18
     * @param bool   $ignoreEmptyContextAndExtra
19
     */
20 9
    public function __construct($format = null, $allowInlineLineBreaks = false, $ignoreEmptyContextAndExtra = true)
21
    {
22 9
        $dateFormat = null;
23 9
        parent::__construct($format, $dateFormat, $allowInlineLineBreaks, $ignoreEmptyContextAndExtra);
24 9
    }
25
}
26