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.

AjaxPage::__construct()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 3
c 0
b 0
f 0
nc 2
nop 0
dl 0
loc 6
rs 10
1
<?php
2
/**
3
 * @package toolkit
4
 */
5
/**
6
 * AjaxPage extends the Page class to provide an object representation
7
 * of a Symphony backend AJAX page.
8
 *
9
 * @deprecated This class will be removed in Symphony 3.0. This has been
10
 * deprecated since Symphony 2.4.
11
 * @see TextPage
12
 * @see XMLPage
13
 * @see JSONPage
14
 */
15
abstract class AjaxPage extends XMLPage
16
{
17
    public function __construct()
18
    {
19
        if (Symphony::Log()) {
20
            Symphony::Log()->pushDeprecateWarningToLog('new AjaxPage()', 'new XMLPage()');
21
        }
0 ignored issues
show
Coding Style introduced by
No blank line found after control structure
Loading history...
22
        parent::__construct();
23
    }
24
}
25