Auth   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A publishMigrations() 0 4 1
1
<?php namespace Arcanedev\LaravelAuth;
2
3
/**
4
 * Class     Auth
5
 *
6
 * @package  Arcanedev\LaravelAuth
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class Auth
10
{
11
    /* -----------------------------------------------------------------
12
     |  Properties
13
     | -----------------------------------------------------------------
14
     */
15
16
    /**
17
     * Indicates if migrations will be run.
18
     *
19
     * @var bool
20
     */
21
    public static $runsMigrations = true;
22
23
    /* -----------------------------------------------------------------
24
     |  Main Methods
25
     | -----------------------------------------------------------------
26
     */
27
28
    /**
29
     * Publish the migrations.
30
     */
31 231
    public static function publishMigrations()
32
    {
33 231
        static::$runsMigrations = false;
34 231
    }
35
}
36