diff options
Diffstat (limited to 'php-JsonSchema-php8.patch')
-rw-r--r-- | php-JsonSchema-php8.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/php-JsonSchema-php8.patch b/php-JsonSchema-php8.patch new file mode 100644 index 0000000..21ea2c5 --- /dev/null +++ b/php-JsonSchema-php8.patch @@ -0,0 +1,12 @@ +diff -up ./src/JsonSchema/Uri/UriResolver.php.php8 ./src/JsonSchema/Uri/UriResolver.php +--- ./src/JsonSchema/Uri/UriResolver.php.php8 2021-03-31 14:05:54.880445272 +0200 ++++ ./src/JsonSchema/Uri/UriResolver.php 2021-03-31 14:06:03.008417398 +0200 +@@ -112,7 +112,7 @@ class UriResolver + if ($relativePath == '') { + return $basePath; + } +- if ($relativePath{0} == '/') { ++ if ($relativePath[0] == '/') { + return $relativePath; + } + |