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.

SkipTrait   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 1
cbo 0
dl 0
loc 32
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A skip() 0 6 1
A shouldSkip() 0 4 1
1
<?php
2
/**
3
 * SkipTrait.php
4
 *
5
 * @package         Obfuscator
6
 * @subpackage      NodeVisitor
7
 */
8
9
namespace Naneau\Obfuscator\Node\Visitor;
10
11
/**
12
 * SkipTrait
13
 *
14
 * Skipping certain classes trait
15
 *
16
 * @category        Naneau
17
 * @package         Obfuscator
18
 * @subpackage      NodeVisitor
19
 */
20
trait SkipTrait
21
{
22
    /**
23
     * Skip processing?
24
     *
25
     * @var bool
26
     **/
27
    private $skip = false;
28
29
    /**
30
     * Should we skip processing?
31
     *
32
     * @param  bool                  $skip
33
     * @return ScramblePrivateMethod
34
     **/
35
    protected function skip($skip = false)
36
    {
37
        $this->skip = $skip;
38
39
        return $this;
40
    }
41
42
    /**
43
     * Should we skip processing?
44
     *
45
     * @return bool
46
     **/
47
    protected function shouldSkip()
48
    {
49
        return $this->skip;
50
    }
51
}
52