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.

XHTML   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 14
dl 0
loc 25
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A loadHTMLTemplate() 0 16 1
1
<?php
2
/**
3
 * This file is part of the O2System Framework package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 *
8
 * @author         Steeve Andrian Salim
9
 * @copyright      Copyright (c) Steeve Andrian Salim
10
 */
11
12
// ------------------------------------------------------------------------
13
14
namespace O2System\Html\Strict;
15
16
// ------------------------------------------------------------------------
17
18
use O2System\Html\Document;
19
20
/**
21
 * Class XHTML
22
 *
23
 * @package O2System\HTML\Strict
24
 */
25
class XHTML extends Document
26
{
27
    /**
28
     * Document::loadHTMLTemplate
29
     *
30
     * Load HTML template from a file.
31
     *
32
     * @return void
33
     */
34
    protected function loadHTMLTemplate()
35
    {
36
        $htmlTemplate = <<<HTML
37
<?xml version="1.0" encoding="UTF-8"?>
38
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
39
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
40
<head>
41
    <title>O2System HTML</title>
42
</head>
43
<body>
44
45
</body>
46
</html>
47
HTML;
48
49
        parent::loadHTML($htmlTemplate);
50
    }
51
}