summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seren <guillaumeseren@gmail.com>2016-11-24 08:24:03 +0100
committerMichael Orlitzky <mjo@gentoo.org>2016-12-18 18:17:00 -0500
commit79a2aeb43a03a8a2529bed6a20d99fbcd3d1bbf8 (patch)
tree76a2b119405c9c2ac7b787c01d84c0027d58c94c /dev-php/json-schema/files
parentdev-php/cli-prompt: Add 1.0.0 version (diff)
downloadgentoo-79a2aeb43a03a8a2529bed6a20d99fbcd3d1bbf8.tar.gz
gentoo-79a2aeb43a03a8a2529bed6a20d99fbcd3d1bbf8.tar.bz2
gentoo-79a2aeb43a03a8a2529bed6a20d99fbcd3d1bbf8.zip
dev-php/json-schema: Add 2.0.0 version
This is needed for composer-1.2.2, bug 439206. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'dev-php/json-schema/files')
-rw-r--r--dev-php/json-schema/files/autoload.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-php/json-schema/files/autoload.php b/dev-php/json-schema/files/autoload.php
new file mode 100644
index 000000000000..c8a6c8a8b715
--- /dev/null
+++ b/dev-php/json-schema/files/autoload.php
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Autoloader for justinrainbow/json-schema and its dependencies
+ */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addPsr4('JsonSchema\\', __DIR__);