<commit_before><?php
namespace CFPropertyList;

require_once( 'cfpropertylist-2.0.1/CFPropertyList.php' );

$logFile = "enroll.log";

// Get the munki repo directory
$plist              = new CFPropertyList( '/Library/Preferences/com.github.munki.plist' );
$arrPref            = $plist->toArray();
$munki_repo         = $arrPref['MUNKI_REPO'];

// Get the varibles passed by the enroll script
if ( isset( $_GET['manifest'] ) )
{
	if ( $_GET['manifest'] == '' )
	{
		logToFile("Manifest variable is blank. Exiting...");
		exit(1);
	}
	else
	{
		$manifest = $_GET['manifest'];
	}
}
if ( isset( $_GET['parent'] ) )
{
	if ( $_GET['parent'] == '' )
	{
		logToFile("Identifer is blank, using 'site_default'");
		$parent = 'site_default';
	}
	else
	{
		$parent = $_GET['parent'];
		logToFile("BUKEY:".getMRBU($parent));
	}
}<commit_msg>Formating changes<commit_after><?php
namespace CFPropertyList;

require_once( 'cfpropertylist-2.0.1/CFPropertyList.php' );

$logFile = "enroll.log";

// Get the munki repo directory
$plist      = new CFPropertyList( '/Library/Preferences/com.github.munki.plist' );
$arrPref    = $plist->toArray();
$munki_repo = $arrPref['MUNKI_REPO'];

// Get the varibles passed by the enroll script
if ( isset( $_GET['manifest'] ) )
{
	if ( $_GET['manifest'] == '' )
	{
		logToFile("Manifest variable is blank. Exiting...");
		exit(1);
	}
	else
	{
		$manifest = $_GET['manifest'];
	}
}
if ( isset( $_GET['parent'] ) )
{
	if ( $_GET['parent'] == '' )
	{
		logToFile("Identifer is blank, using 'site_default'");
		$parent = 'site_default';
	}
	else
	{
		$parent = $_GET['parent'];
		logToFile("BUKEY:".getMRBU($parent));
	}
}
{'fraction_non_alphanumeric': 0.19291819291819293, 'fraction_numerical': 0.004884004884004884, 'mean_word_length': 3.907185628742515, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3183961', 'n_tokens_mistral': 636, 'n_tokens_neox': 608, 'n_words': 117}