<commit_before><?php

	require_once __DIR__ . '/autoloader.php';

	$files		= ['Example.class.php'];

	$SwaggerGen = new \SwaggerGen\SwaggerGen($_SERVER['HTTP_HOST'],  dirname($_SERVER['REQUEST_URI']));
	//$SwaggerGen->define('admin');
	//$SwaggerGen->define('root');
	$array = $SwaggerGen->getSwagger($files);
	
	header('Content-type: application/json');
	echo json_encode($array, JSON_NUMERIC_CHECK | JSON_PRETTY_PRINT);	
<commit_msg>Fix unnecessary incompatibility with old PHP versions<commit_after><?php

	require_once __DIR__ . '/autoloader.php';

	$files		= array('Example.class.php');

	$SwaggerGen = new \SwaggerGen\SwaggerGen($_SERVER['HTTP_HOST'],  dirname($_SERVER['REQUEST_URI']));
	//$SwaggerGen->define('admin');
	//$SwaggerGen->define('root');
	$array = $SwaggerGen->getSwagger($files);
	
	header('Content-type: application/json');
	echo json_encode($array, JSON_NUMERIC_CHECK | JSON_PRETTY_PRINT);	

{'fraction_non_alphanumeric': 0.17640807651434645, 'fraction_numerical': 0.0, 'mean_word_length': 5.408163265306122, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1967076', 'n_tokens_mistral': 339, 'n_tokens_neox': 318, 'n_words': 46}