diff --git a/.travis.yml b/.travis.yml index 4ca54cd21f..7fd6a61679 100755 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ cache: - $HOME/.composer/cache/files php: - 7.1 + - 7.2 env: global: diff --git a/composer.json b/composer.json index e2ef9a6278..1617dc2a49 100755 --- a/composer.json +++ b/composer.json @@ -108,7 +108,7 @@ "sunra/php-simple-html-dom-parser": "~1.5.0", "sylius/resource-bundle": "~1.2", "sylius/resource": "1.2.*", - "sylius/registry": "dev-master", + "sylius/registry": "1.2.*", "friendsofsymfony/jsrouting-bundle": "~2.0", "gedmo/doctrine-extensions": "~2.4", diff --git a/main/inc/lib/webservices/Rest.php b/main/inc/lib/webservices/Rest.php index a01bcad72c..f910f13ee5 100644 --- a/main/inc/lib/webservices/Rest.php +++ b/main/inc/lib/webservices/Rest.php @@ -792,11 +792,12 @@ class Rest extends WebService 'title' => Security::remove_XSS($lpDetails['lp_name']), 'progress' => intval($progress), 'url' => api_get_path(WEB_CODE_PATH).'webservices/api/v2.php?'.http_build_query([ - 'hash' => $this->encodeParams([ - 'action' => 'course_learnpath', - 'lp_id' => $lpId, - 'course' => $this->course->getId(), - 'session' => $sessionId, + 'hash' => $this->encodeParams([ + 'action' => 'course_learnpath', + 'lp_id' => $lpId, + 'course' => $this->course->getId(), + 'session' => $sessionId, + ]), ]), ]; }