diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-12-23 06:47:13 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-12-23 06:47:13 +0100 |
commit | 20e1a452def4607bee49d2b803073fe609e89989 (patch) | |
tree | 7b3972b73ec81f1233dbc094a2d3dce1b37c3f37 /php-justinrainbow-json-schema4-pr342.patch | |
parent | 3f1ef106ecc8f365f3c5dbe533d4cdc1c50adc33 (diff) |
php-justinrainbow-json-schema4: 4.1.0
Diffstat (limited to 'php-justinrainbow-json-schema4-pr342.patch')
-rw-r--r-- | php-justinrainbow-json-schema4-pr342.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/php-justinrainbow-json-schema4-pr342.patch b/php-justinrainbow-json-schema4-pr342.patch deleted file mode 100644 index db15d33..0000000 --- a/php-justinrainbow-json-schema4-pr342.patch +++ /dev/null @@ -1,24 +0,0 @@ -From b0a382eaee1e5084e2785d516a31897f90c2b219 Mon Sep 17 00:00:00 2001 -From: Remi Collet <fedora@famillecollet.com> -Date: Mon, 12 Dec 2016 10:17:02 +0100 -Subject: [PATCH] fix #341 validate-json command - ---- - bin/validate-json | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/bin/validate-json b/bin/validate-json -index 8184e7b..e9c1809 100755 ---- a/bin/validate-json -+++ b/bin/validate-json -@@ -207,8 +207,8 @@ try { - echo $e->getMessage() . "\n"; - exit(2); - } --$refResolver = new JsonSchema\RefResolver($retriever, $resolver); --$schema = $refResolver->resolve($urlSchema); -+$refResolver = new JsonSchema\SchemaStorage($retriever, $resolver); -+$schema = $refResolver->resolveRef($urlSchema); - - if (isset($arOptions['--dump-schema'])) { - $options = defined('JSON_PRETTY_PRINT') ? JSON_PRETTY_PRINT : 0; |