From 23f55fcd88b88179444ac3e95a7505962dc341e9 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Wed, 6 Oct 2021 21:50:01 +0100 Subject: [PATCH] MDL-71711 libraries: upgrade to version 1.1.2 of GeoPattern. --- lib/geopattern-php/GeoPattern/GeoPattern.php | 2 +- lib/geopattern-php/{LICENSE.md => LICENSE} | 0 lib/geopattern-php/moodle_readme.txt | 4 +--- lib/thirdpartylibs.xml | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) rename lib/geopattern-php/{LICENSE.md => LICENSE} (100%) diff --git a/lib/geopattern-php/GeoPattern/GeoPattern.php b/lib/geopattern-php/GeoPattern/GeoPattern.php index 12e6225c7a3..a335032dc83 100644 --- a/lib/geopattern-php/GeoPattern/GeoPattern.php +++ b/lib/geopattern-php/GeoPattern/GeoPattern.php @@ -433,7 +433,7 @@ class GeoPattern { if ($x == 0 && $y == 0) { $xyT1 = 6 * $xSize / 2 - $xSize / 2; $xyT2 = $dy - 6 * $xSize / 2; - $this->svg->addGroup($group, array_merge($styles, ['transform' => "translate($xyT1, $xyT2) rotate(45, $halfXSize, $halfXSize"])); + $this->svg->addGroup($group, array_merge($styles, ['transform' => "translate($xyT1, $xyT2) rotate(45, $halfXSize, $halfXSize)"])); } $i++; diff --git a/lib/geopattern-php/LICENSE.md b/lib/geopattern-php/LICENSE similarity index 100% rename from lib/geopattern-php/LICENSE.md rename to lib/geopattern-php/LICENSE diff --git a/lib/geopattern-php/moodle_readme.txt b/lib/geopattern-php/moodle_readme.txt index 6a70b735ceb..d5611031adb 100644 --- a/lib/geopattern-php/moodle_readme.txt +++ b/lib/geopattern-php/moodle_readme.txt @@ -1,10 +1,8 @@ -scssphp +GeoPattern-PHP ------- Downloaded from: https://github.com/RedeyeGroup/geopattern-php -Last commit on download: 26d9f8aa7a8b00c8afc120d706f6bdd7a9965b87 - Import procedure: - Copy all the files from the folder 'src' this directory. diff --git a/lib/thirdpartylibs.xml b/lib/thirdpartylibs.xml index f7a4b52baeb..dc769dd2986 100644 --- a/lib/thirdpartylibs.xml +++ b/lib/thirdpartylibs.xml @@ -293,7 +293,7 @@ geopattern-php Generate tiling SVG patterns from a string MIT - 1.1.1 + 1.1.2 php-jwt