<commit_before>/** Composer support */
module.exports = function (grunt, config) {

    config.exec.get_composer = {
        cmd: 'wget -qO- https://getcomposer.org/installer | php'
    };

    config.exec.composer_self_update = {
        cmd: 'php composer.phar self-update'
    };

    config.exec.composer_update = {
        cmd: 'php composer.phar update -n'
    };

    config.exec.composer_update_dev = {
        cmd: 'php composer.phar update -n'
    };

    config.tasks.init_composer = {
        isSystem: true,
        description: 'Initialize PHP composer',
        function: function () {
            if (grunt.file.isFile('composer.phar')) {
                grunt.log.ok('Updating composer.phar ...');
                grunt.task.run('exec:composer_self_update');
                return;
            }
            grunt.log.ok('Downloading composer.phar ...');
            grunt.task.run('exec:get_composer');
        }
    };
};<commit_msg>Updated composer.js, added  --prefer-dist<commit_after>/** Composer support */
module.exports = function (grunt, config) {

    config.exec.get_composer = {
        cmd: 'wget -qO- https://getcomposer.org/installer | php'
    };

    config.exec.composer_self_update = {
        cmd: 'php composer.phar self-update'
    };

    config.exec.composer_update = {
        cmd: 'php composer.phar update -n --prefer-dist'
    };

    config.exec.composer_update_dev = {
        cmd: 'php composer.phar update -n --prefer-dist'
    };

    config.tasks.init_composer = {
        isSystem: true,
        description: 'Initialize PHP composer',
        function: function () {
            if (grunt.file.isFile('composer.phar')) {
                grunt.log.ok('Updating composer.phar ...');
                grunt.task.run('exec:composer_self_update');
                return;
            }
            grunt.log.ok('Downloading composer.phar ...');
            grunt.task.run('exec:get_composer');
        }
    };
};
{'fraction_non_alphanumeric': 0.14118246687054026, 'fraction_numerical': 0.0, 'mean_word_length': 1.9607843137254901, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4910998', 'n_tokens_mistral': 626, 'n_tokens_neox': 609, 'n_words': 101}