Passed
Push — master ( b86a9b...818b3e )
by Thierry
02:35
created

Jaxon::initInstance()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 9
nc 1
nop 0
dl 0
loc 12
rs 9.9666
c 1
b 0
f 0
1
<?php
2
3
/**
4
 * Jaxon.php - Jaxon class
5
 *
6
 * Defines a few constants for the library.
7
 *
8
 * @package jaxon-core
0 ignored issues
show
Coding Style introduced by
Package name "jaxon-core" is not valid; consider "Jaxoncore" instead
Loading history...
9
 * @author Thierry Feuzeu <[email protected]>
10
 * @copyright 2022 Thierry Feuzeu <[email protected]>
11
 * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
12
 * @link https://github.com/jaxon-php/jaxon-core
13
 */
0 ignored issues
show
Coding Style introduced by
PHP version not specified
Loading history...
Coding Style introduced by
Missing @category tag in file comment
Loading history...
14
15
namespace Jaxon;
16
17
class Jaxon
0 ignored issues
show
Coding Style introduced by
Missing doc comment for class Jaxon
Loading history...
18
{
19
    /**
20
     * @const string
21
     */
22
    const VERSION = 'Jaxon 4.0.0-dev';
23
24
    /**
25
     * @const string
26
     */
27
    const CALLABLE_CLASS = 'CallableClass';
28
29
    /**
30
     * @const string
31
     */
32
    const CALLABLE_DIR = 'CallableDir';
33
34
    /**
35
     * @const string
36
     */
37
    const CALLABLE_FUNCTION = 'CallableFunction';
38
}
39