Passed
Push — master ( 98b29a...9e755e )
by Carlos
02:34
created

CustomLog   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the overtrue/laravel-custom-log.
5
 *
6
 * (c) overtrue <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Overtrue\LaravelCustomLog\Support\Facades;
13
14
use Illuminate\Support\Facades\Facade;
15
16
/**
17
 * Class CustomLog.
18
 *
19
 * @author overtrue <[email protected]>
20
 */
21
class CustomLog extends Facade
0 ignored issues
show
Coding Style introduced by
CustomLog does not seem to conform to the naming convention (Utils?$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
22
{
23
    /**
24
     * @return string
25
     */
26
    protected static function getFacadeAccessor()
27
    {
28
        return 'custom-log';
29
    }
30
}
31