<commit_before>#!/bin/bash

php composer.phar require midgard/phpcr:dev-master
php composer.phar update

# Download installation script from phpcr-midgard2
wget https://raw.github.com/midgardproject/phpcr-midgard2/master/tests/travis_midgard.sh
chmod +x ./travis_midgard.sh
./travis_midgard.sh

# Copy PHPCR schemas to Midgard's global schema dir
sudo wget --directory-prefix=/usr/share/midgard2/schema https://github.com/midgardproject/phpcr-midgard2/raw/master/data/share/schema/midgard_namespace_registry.xml
sudo wget --directory-prefix=/usr/share/midgard2/schema https://github.com/midgardproject/phpcr-midgard2/raw/master/data/share/schema/midgard_tree_node.xml<commit_msg>first install midgard .. then run composer update<commit_after>#!/bin/bash

# Download installation script from phpcr-midgard2
wget https://raw.github.com/midgardproject/phpcr-midgard2/master/tests/travis_midgard.sh
chmod +x ./travis_midgard.sh
./travis_midgard.sh

# Copy PHPCR schemas to Midgard's global schema dir
sudo wget --directory-prefix=/usr/share/midgard2/schema https://github.com/midgardproject/phpcr-midgard2/raw/master/data/share/schema/midgard_namespace_registry.xml
sudo wget --directory-prefix=/usr/share/midgard2/schema https://github.com/midgardproject/phpcr-midgard2/raw/master/data/share/schema/midgard_tree_node.xml

php composer.phar require midgard/phpcr:dev-master
php composer.phar update
{'fraction_non_alphanumeric': 0.11477761836441894, 'fraction_numerical': 0.00860832137733142, 'mean_word_length': 5.458333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3610775', 'n_tokens_mistral': 512, 'n_tokens_neox': 468, 'n_words': 75}