Issues (343)

src/XML/Constants.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\XML;
6
7
/**
8
 * Various XML constants.
9
 *
10
 * @package simplesamlphp/xml-common
11
 */
12
class Constants
13
{
14
    /**
15
     * The namespace for XML.
16
     */
17
    public const string NS_XML = 'http://www.w3.org/XML/1998/namespace';
0 ignored issues
show
A parse error occurred: Syntax error, unexpected T_STRING, expecting '=' on line 17 at column 24
Loading history...
18
19
    /**
20
     * The namespace for XMLNS declarations.
21
     */
22
    public const string NS_XMLNS = 'http://www.w3.org/2000/xmlns/';
23
24
    /**
25
     * The maximum amount of child nodes this library is willing to handle.
26
     * By specification, this limit is 150K, but that opens up for denial of service.
27
     */
28
    public const int UNBOUNDED_LIMIT = 10000;
29
}
30