<commit_before><?php
use Task\Task;
use Task\TaskRouter;
class Router
{
    public function __construct()
    {
    }
    public static function route(PDO $conn)
    {
        $getVars = $_GET;

        $cookieMonster = new CookieMonster();

        $cookieMonster->setDatabase($conn);

        $cookieMonster->lookForCookies();

        $page = isset($getVars['location']) ? $getVars['location'] : 'empty';

        switch ($page) {
            case "indexPage":
                $controller = "IndexController";
                break;
            case "login":<commit_msg>add links to: about, contact and project<commit_after><?php
use Task\Task;
use Task\TaskRouter;
class Router
{
    public function __construct()
    {
    }
    public static function route(PDO $conn)
    {
        $getVars = $_GET;

        $cookieMonster = new CookieMonster();

        $cookieMonster->setDatabase($conn);

        $cookieMonster->lookForCookies();

        $page = isset($getVars['location']) ? $getVars['location'] : 'empty';

        switch ($page) {
            case "indexPage":
                $controller = "IndexController";
                break;  
			case "aboutPage":
                $controller = "AboutController";
                break;  
			case "projectPage":
                $controller = "ProjectController";
                break;  
			case "contactPage":
                $controller = "ContactController";
                break;
            case "login":
{'fraction_non_alphanumeric': 0.12210095497953616, 'fraction_numerical': 0.0, 'mean_word_length': 1.9817073170731707, 'pattern_counts': {'":': 7, '<': 5, '<?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': '2430202', 'n_tokens_mistral': 416, 'n_tokens_neox': 395, 'n_words': 90}