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.

Code Duplication    Length = 31-37 lines in 2 locations

src/ZfTable/Example/TableExample/Base.php 1 location

@@ 13-49 (lines=37) @@
10
11
use ZfTable\AbstractTable;
12
13
class Base extends AbstractTable
14
{
15
16
    protected $config = array(
17
        'name' => 'Base table',
18
        'showPagination' => true,
19
        'showQuickSearch' => false,
20
        'showItemPerPage' => true,
21
        'itemCountPerPage' => 10,
22
        'showColumnFilters' => false,
23
        'showExportToCSV' => false,
24
        'valuesOfItemPerPage' => array(5, 10, 20, 50 , 100 , 200),
25
        'rowAction' => ''
26
    );
27
28
    /**
29
     * @var array Definition of headers
30
     */
31
    protected $headers = array(
32
        'idcustomer' => array('title' => 'Id', 'width' => '50') ,
33
        'name' => array('title' => 'Name' ),
34
        'surname' => array('title' => 'Surname' ),
35
        'street' => array('title' => 'Street'),
36
        'city' => array('title' => 'City' ),
37
        'active' => array('title' => 'Active' , 'width' => 100 ),
38
    );
39
40
    public function init()
41
    {
42
43
    }
44
45
    protected function initFilters(\Zend\Db\Sql\Select $query)
46
    {
47
48
    }
49
}
50

src/ZfTable/Example/TableExample/JavascriptEvents.php 1 location

@@ 14-44 (lines=31) @@
11
12
use ZfTable\AbstractTable;
13
14
class JavascriptEvents extends AbstractTable
15
{
16
17
    protected $config = array(
18
        'name' => 'Table',
19
        'showPagination' => true,
20
        'showQuickSearch' => false,
21
        'showItemPerPage' => true,
22
        'itemCountPerPage' => 10,
23
        'showColumnFilters' => false,
24
        'showExportToCSV ' => false,
25
        'valuesOfItemPerPage' => array(5, 10, 20, 50 , 100 , 200),
26
    );
27
28
    /**
29
     * @var array Definition of headers
30
     */
31
    protected $headers = array(
32
        'idcustomer' => array('title' => 'Id', 'width' => '50') ,
33
        'name' => array('title' => 'Name' ),
34
        'surname' => array('title' => 'Surname' ),
35
        'street' => array('title' => 'Street'),
36
        'city' => array('title' => 'City' ),
37
        'active' => array('title' => 'Active' , 'width' => 100 ),
38
    );
39
40
    public function init()
41
    {
42
43
    }
44
}
45