Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Push — master ( bf5629...d6c7a2 )
by Jérémiah
08:38
created

Toto   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 3
c 2
b 0
f 0
lcom 0
cbo 0
dl 0
loc 31
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getPrivatePropertyWithGetter() 0 4 1
A getPrivatePropertyWithGetter2() 0 4 1
A resolve() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the OverblogGraphQLBundle package.
5
 *
6
 * (c) Overblog <http://github.com/overblog/>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Overblog\GraphQLBundle\Tests\Resolver;
13
14
class Toto
15
{
16
    const PRIVATE_PROPERTY_WITH_GETTER_VALUE = 'IfYouWantMeUseMyGetter';
17
    const PRIVATE_PROPERTY_WITH_GETTER2_VALUE = 'IfYouWantMeUseMyGetter2';
18
19
    private $privatePropertyWithoutGetter =  'ImNotAccessibleFromOutside:D';
0 ignored issues
show
Unused Code introduced by
The property $privatePropertyWithoutGetter is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
20
    private $privatePropertyWithGetter = self::PRIVATE_PROPERTY_WITH_GETTER_VALUE;
21
    private $private_property_with_getter2 = self::PRIVATE_PROPERTY_WITH_GETTER2_VALUE;
22
    public $name = 'public';
23
24
    /**
25
     * @return string
26
     */
27
    public function getPrivatePropertyWithGetter()
28
    {
29
        return $this->privatePropertyWithGetter;
30
    }
31
32
    /**
33
     * @return string
34
     */
35
    public function getPrivatePropertyWithGetter2()
36
    {
37
        return $this->private_property_with_getter2;
38
    }
39
40
    public function resolve()
41
    {
42
        return func_get_args();
43
    }
44
}
45