<commit_before>#!/bin/bash

git checkout master

ignore=
for file in $(ls -1A);
do
	if [[ "$file" != .git* && "$file" != "composer.json" && "$file" != "LICENSE" && "$file" != "README.md" && "$file" != "src" ]]
	then
		ignore="$ignore$file"$'\n'
	fi
done

for version in 5.5 5.4 5.3
do
	branch="release/php$version"

	if [ "$version" = "5.5" ]
	then
		src="master"
	else
		src="dev/php$version"
	fi

	git checkout "$branch"
	git merge --squash -Xtheirs "$src"
	echo "$ignore" > .gitignore

	for file in $ignore;
	do
		if [ -a "$file" ]
		then
			git rm -r --cached --quiet "$file" 2> /dev/null
		fi
	done

	git commit -a --no-verify -m"Synced release branch from $src" --quiet
done

git checkout master<commit_msg>Updated build script [ci skip]<commit_after>#!/bin/bash

git checkout master

ignore=
for file in $(ls -1A);
do
	if [[ "$file" != .git* && "$file" != "composer.json" && "$file" != "LICENSE" && "$file" != "README.md" && "$file" != "src" ]]
	then
		ignore="$ignore$file"$'\n'
	fi
done

for version in 5.5 5.4 5.3
do
	branch="release/php$version"

	if [ "$version" = "5.5" ]
	then
		src="master"
	else
		src="dev/php$version"
	fi

	git checkout "$branch"
	git merge --squash -Xours "$src"
	echo "$ignore" > .gitignore

	for file in $ignore;
	do
		if [ -a "$file" ]
		then
			git rm -r --cached --quiet "$file" 2> /dev/null
		fi
	done

	git commit -a --no-verify -m"Synced release branch from $src" --quiet
done

git checkout master
{'fraction_non_alphanumeric': 0.19430950728660654, 'fraction_numerical': 0.013879250520471894, 'mean_word_length': 3.1318051575931234, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '804678', 'n_tokens_mistral': 615, 'n_tokens_neox': 564, 'n_words': 175}