/usr/share/php/JsonSchema/autoload.php is in php-json-schema 1.6.1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | <?php
// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
// this is an autogenerated file - do not edit
spl_autoload_register(
function($class) {
static $classes = null;
if ($classes === null) {
$classes = array(
'jsonschema\\constraints\\collectionconstraint' => '/Constraints/CollectionConstraint.php',
'jsonschema\\constraints\\constraint' => '/Constraints/Constraint.php',
'jsonschema\\constraints\\constraintinterface' => '/Constraints/ConstraintInterface.php',
'jsonschema\\constraints\\enumconstraint' => '/Constraints/EnumConstraint.php',
'jsonschema\\constraints\\factory' => '/Constraints/Factory.php',
'jsonschema\\constraints\\formatconstraint' => '/Constraints/FormatConstraint.php',
'jsonschema\\constraints\\numberconstraint' => '/Constraints/NumberConstraint.php',
'jsonschema\\constraints\\objectconstraint' => '/Constraints/ObjectConstraint.php',
'jsonschema\\constraints\\schemaconstraint' => '/Constraints/SchemaConstraint.php',
'jsonschema\\constraints\\stringconstraint' => '/Constraints/StringConstraint.php',
'jsonschema\\constraints\\typeconstraint' => '/Constraints/TypeConstraint.php',
'jsonschema\\constraints\\undefinedconstraint' => '/Constraints/UndefinedConstraint.php',
'jsonschema\\exception\\invalidargumentexception' => '/Exception/InvalidArgumentException.php',
'jsonschema\\exception\\invalidschemamediatypeexception' => '/Exception/InvalidSchemaMediaTypeException.php',
'jsonschema\\exception\\invalidsourceuriexception' => '/Exception/InvalidSourceUriException.php',
'jsonschema\\exception\\jsondecodingexception' => '/Exception/JsonDecodingException.php',
'jsonschema\\exception\\resourcenotfoundexception' => '/Exception/ResourceNotFoundException.php',
'jsonschema\\exception\\uriresolverexception' => '/Exception/UriResolverException.php',
'jsonschema\\refresolver' => '/RefResolver.php',
'jsonschema\\uri\\retrievers\\abstractretriever' => '/Uri/Retrievers/AbstractRetriever.php',
'jsonschema\\uri\\retrievers\\curl' => '/Uri/Retrievers/Curl.php',
'jsonschema\\uri\\retrievers\\filegetcontents' => '/Uri/Retrievers/FileGetContents.php',
'jsonschema\\uri\\retrievers\\predefinedarray' => '/Uri/Retrievers/PredefinedArray.php',
'jsonschema\\uri\\retrievers\\uriretrieverinterface' => '/Uri/Retrievers/UriRetrieverInterface.php',
'jsonschema\\uri\\uriresolver' => '/Uri/UriResolver.php',
'jsonschema\\uri\\uriretriever' => '/Uri/UriRetriever.php',
'jsonschema\\validator' => '/Validator.php'
);
}
$cn = strtolower($class);
if (isset($classes[$cn])) {
require __DIR__ . $classes[$cn];
}
},
true,
false
);
// @codeCoverageIgnoreEnd
|