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.
Test Setup Failed
Push — master ( f96a6f...f05658 )
by Chris
06:02 queued 01:25
created

Mage_Log_Helper_Data   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A isVisitorLogEnabled() 0 4 1
A isLogFileExtensionValid() 0 4 1
1
<?php
2
3
/**
4
 * @category    Zookal_Mock
5
 * @package     Model
6
 * @author      Chris Zaharia| {firstName}@{lastName}.fm | @chrisjz
7
 * @copyright   Copyright (c) Zookal Pty Ltd
8
 * @license     OSL - Open Software Licence 3.0 | http://opensource.org/licenses/osl-3.0.php
9
 */
10
11
/**
12
 * Class Mage_Log_Helper_Data
13
 * Do not change the class name, as it is needed for the autoloader
14
 * @see Zookal_Mock_Model_Observer::_setMockIncludePath
15
 */
16
class Mage_Log_Helper_Data extends Zookal_Mock_Model_Mocks_Abstract
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
17
{
18
    public function isVisitorLogEnabled()
19
    {
20
        return true;
21
    }
22
23
    public function isLogFileExtensionValid($file)
0 ignored issues
show
Unused Code introduced by
The parameter $file is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
24
    {
25
        return true;
26
    }
27
}
28