diff --git a/Gruntfile.js b/Gruntfile.js index 153eea59b9..8caace89bf 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -304,11 +304,11 @@ module.exports = function (grunt) { }); grunt.registerTask("composer", function() { - cp.execSync("composer install --ignore-platform-reqs --no-dev", {stdio: 'ignore'}); + cp.execSync("php composer.phar install --no-dev", {stdio: 'ignore'}); }); grunt.registerTask("composer-dev", function() { - cp.execSync("composer install --ignore-platform-reqs", {stdio: 'ignore'}); + cp.execSync("php composer.phar install", {stdio: 'ignore'}); }); grunt.registerTask("upgrade", function() { diff --git a/composer.json b/composer.json index 39a8ba5e76..f583f9d014 100644 --- a/composer.json +++ b/composer.json @@ -55,5 +55,9 @@ "type": "git", "url": "https://github.com/yurikuzn/lightncandy.git" } - ] + ], + "provide": { + "ext-ldap": "*", + "ext-zmq": "*" + } }