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.
Completed
Pull Request — master (#31)
by
unknown
13:05
created

Studioforty9_Recaptcha_Model_Counter   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A increase() 0 4 1
A getCount() 0 4 1
1
<?php
0 ignored issues
show
Coding Style introduced by
End of line character is invalid; expected "\n" but found "\r\n"
Loading history...
2
3
/**
4
 * Class Studioforty9_Recaptcha_Model_Counter
5
 */
6
class Studioforty9_Recaptcha_Model_Counter {
0 ignored issues
show
Coding Style introduced by
Opening brace of a class must be on the line after the definition
Loading history...
7
8
    /**
9
     * @var int
10
     */
11
    protected $count = 0;
0 ignored issues
show
Coding Style introduced by
Protected member variable "count" must contain a leading underscore
Loading history...
12
13
    /**
14
     *
15
     */
16
    public function increase()
17
    {
18
        $this->count++;
19
    }
20
21
    /**
22
     * @return int
23
     */
24
    public function getCount()
25
    {
26
        return $this->count;
27
    }
28
}