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::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 4
cts 4
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 3
crap 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