Quota   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of laravel-quota
5
 *
6
 * (c) David Faith <[email protected]>
7
 *
8
 * Full copyright and license information is available
9
 * in the LICENSE file distributed with this source code.
10
 */
11
12
namespace Projectmentor\Quota\Facades;
13
14
use Illuminate\Support\Facades\Facade;
15
16
/**
17
 * This is the quota facade class.
18
 * To use it, insert the following key => value pair:
19
 *
20
 *'Quota' => Projectmentor\Quota\Facades\Quota::class,
21
 *
22
 * in the 'aliases' array
23
 * in the host laravel project's config/app.php
24
 *
25
 * @author David Faith <[email protected]>
26
 */
27
28
class Quota extends Facade
0 ignored issues
show
Coding Style introduced by
Quota 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...
29
{
30
    /**
31
     * Get the registered name of the component.
32
     *
33
     * @return string
34
     */
35
    protected static function getFacadeAccessor()
36
    {
37
        return 'quota';
38
    }
39
}
0 ignored issues
show
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
40