/usr/share/php/JsonSchema/autoload.php is in php-json-schema 5.2.6-1.
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | <?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\\baseconstraint' => '/Constraints/BaseConstraint.php',
'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\\typecheck\\loosetypecheck' => '/Constraints/TypeCheck/LooseTypeCheck.php',
'jsonschema\\constraints\\typecheck\\stricttypecheck' => '/Constraints/TypeCheck/StrictTypeCheck.php',
'jsonschema\\constraints\\typecheck\\typecheckinterface' => '/Constraints/TypeCheck/TypeCheckInterface.php',
'jsonschema\\constraints\\typeconstraint' => '/Constraints/TypeConstraint.php',
'jsonschema\\constraints\\undefinedconstraint' => '/Constraints/UndefinedConstraint.php',
'jsonschema\\entity\\jsonpointer' => '/Entity/JsonPointer.php',
'jsonschema\\exception\\exceptioninterface' => '/Exception/ExceptionInterface.php',
'jsonschema\\exception\\invalidargumentexception' => '/Exception/InvalidArgumentException.php',
'jsonschema\\exception\\invalidconfigexception' => '/Exception/InvalidConfigException.php',
'jsonschema\\exception\\invalidschemaexception' => '/Exception/InvalidSchemaException.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\\runtimeexception' => '/Exception/RuntimeException.php',
'jsonschema\\exception\\unresolvablejsonpointerexception' => '/Exception/UnresolvableJsonPointerException.php',
'jsonschema\\exception\\uriresolverexception' => '/Exception/UriResolverException.php',
'jsonschema\\exception\\validationexception' => '/Exception/ValidationException.php',
'jsonschema\\iterator\\objectiterator' => '/Iterator/ObjectIterator.php',
'jsonschema\\rfc3339' => '/Rfc3339.php',
'jsonschema\\schemastorage' => '/SchemaStorage.php',
'jsonschema\\schemastorageinterface' => '/SchemaStorageInterface.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\\uriresolverinterface' => '/UriResolverInterface.php',
'jsonschema\\uriretrieverinterface' => '/UriRetrieverInterface.php',
'jsonschema\\validator' => '/Validator.php'
);
}
$cn = strtolower($class);
if (isset($classes[$cn])) {
require __DIR__ . $classes[$cn];
}
},
true,
false
);
// @codeCoverageIgnoreEnd
|