Quota::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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