<commit_before><?php /* Template Name: Donation Page */ ?>
<?php

    @@HEADER@@

	include 'donate.php'; 

	$donationPage = new DonationPage();
	$donationPage->processRequest(get_permalink(), $_SERVER, $_POST, $_GET);

?><?php get_header(); ?>

	<?php if (have_posts()) : the_post(); ?>
		<?php $hasContent = (strlen(get_the_content()) > 0); ?>

		<?php if ($hasContent) : ?><commit_msg>De DonationPage object kreeg nog niet de configuration object geinjecteerd via DI.<commit_after><?php /* Template Name: Donation Page */ ?>
<?php

    @@HEADER@@

	include_once 'donate.php'; 
	include_once 'configuration.php';
	
	$configuration = new Configuration();
	
	$donationPage = new DonationPage($configuration);
	$donationPage->processRequest(get_permalink(), $_SERVER, $_POST, $_GET);

?><?php get_header(); ?>

	<?php if (have_posts()) : the_post(); ?>
		<?php $hasContent = (strlen(get_the_content()) > 0); ?>

		<?php if ($hasContent) : ?>
{'fraction_non_alphanumeric': 0.1906283280085197, 'fraction_numerical': 0.002129925452609159, 'mean_word_length': 5.225165562913907, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, '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': '5865759', 'n_tokens_mistral': 324, 'n_tokens_neox': 306, 'n_words': 74}