<commit_before><?php

/**
 * 	TestEntity
 *
 * 	For use in testing MockMaker
 *
 * 	@author		<NAME>
 * 	@created	Apr 18, 2015
 * 	@version	1.0
 */

namespace MockMaker\Entities;

class TestEntity
{

    const CONSTANT_PROPERTY1 = 'constProperty1 value';
    const CONSTANT_PROPERTY2 = 'constProperty2 value';

    //const CONSTANT_PROPERTY3 = 'constProperty3 value';
    //const CONSTANT_PROPERTY4 = 'constProperty4 value';
    // public bicycle
    public $publicProperty1 = 'publicProperty1 value';
    public $publicProperty2 = 'publicProperty2 value';
    public $publicProperty3 = 'publicProperty3 value';
    public $publicProperty4 = 'publicProperty4 value';
    // only this class
    private $privateProperty1 = 'privateProperty1 value';
    private $privateProperty2 = 'privateProperty2 value';
    private $privateProperty3 = 'privateProperty3 value';
    private $privateProperty4 = 'privateProperty4 value';
    // this class and it's children
    protected $protectedProperty1 = 'protectedProperty1 value';
    protected $protectedProperty2 = 'protectedProperty2 value';
    protected $protectedProperty3 = 'protectedProperty3 value';
    protected $protectedProperty4 = 'protectedProperty4 value';
    public static $publicStaticProperty1;
    public static $publicStaticProperty2;
    public static $publicStaticProperty3;
    public static $publicStaticProperty4;
    private static $privateStaticProperty1;
    private static $privateStaticProperty2;
    private static $privateStaticProperty3;
    private static $privateStaticProperty4;
    protected static $protectedStaticProperty1;
    protected static $protectedStaticProperty2;
    protected static $protectedStaticProperty3;
    protected static $protectedStaticProperty4;

    public function getPublicProperty1()
    {
        return $this->publicProperty1;
    }

    public function getPublicProperty2()
    {
        return $this->publicProperty2;
    }

    public function setPublicProperty1($publicProperty1)
    {
        $this->publicProperty1 = $publicProperty1;
    }

    public function setPublicProperty2($publicProperty2)
    {
        $this->publicProperty2 = $publicProperty2;
    }

    public function getProtectedProperty1()
    {
        return $this->protectedProperty1;
    }

    public function getProtectedProperty2()
    {
        return $this->protectedProperty2;
    }

    public function setProtectedProperty1($protectedProperty1)
    {
        $this->protectedProperty1 = $protectedProperty1;
    }

    public function setProtectedProperty2($protectedProperty2)
    {
        $this->protectedProperty2 = $protectedProperty2;
    }

    public function getPrivateProperty1()
    {
        return $this->protectedProperty1;
    }

    public function getPrivateProperty2()
    {
        return $this->protectedProperty2;
    }

}<commit_msg>Adding more test data to TestEntity.<commit_after><?php

/**
 * 	TestEntity
 *
 * 	For use in testing MockMaker
 *
 * 	@author		<NAME>
 * 	@created	Apr 18, 2015
 * 	@version	1.0
 */

namespace MockMaker\Entities;

use MockMaker\Entities\SimpleEntity;
use stdClass;

class TestEntity
{

    // const can only be public
    const CONSTANT_PROPERTY1 = 'constProperty1 value';
    const CONSTANT_PROPERTY2 = 'constProperty2 value';

    // public bicycle
    public $publicProperty1 = 'publicProperty1 value';
    public $publicProperty2 = 'publicProperty2 value';
    public $publicPropertyDefaultValueAssignedByConstructor;
    public $publicPropertyDefaultValueAssignedByConstructorTopLevelClass;
    public static $publicStaticProperty1 = 'publicStaticProperty1 value';
    public static $publicStaticProperty2 = 'publicStaticProperty2 value';
    // only this class
    private $privateProperty1 = 'privateProperty1 value';
    private $privateProperty2 = 'privateProperty2 value';
    private $privatePropertyDefaultValueAssignedByConstructor;
    private $privatePropertyDefaultValueAssignedByConstructorTopLevelClass;
    private static $privateStaticProperty1 = 'privateStaticProperty1 value';
    private static $privateStaticProperty2 = 'privateStaticProperty2 value';
    // this class and it children
    protected $protectedProperty1 = 'protectedProperty1 value';
    protected $protectedProperty2 = 'protectedProperty2 value';
    protected $protectedPropertyDefaultValueAssignedByConstructor;
    protected $protectedPropertyDefaultValueAssignedByConstructorTopLevelClass;
    protected static $protectedStaticProperty1 = 'protectedStaticProperty1 value';
    protected static $protectedStaticProperty2 = 'protectedStaticProperty2 value';

    public function __construct()
    {
        $this->publicPropertyDefaultValueAssignedByConstructor = new SimpleEntity();
        $this->publicPropertyDefaultValueAssignedByConstructorTopLevelClass = new \DateTime();
        $this->privatePropertyDefaultValueAssignedByConstructor = new SimpleEntity();
        $this->privatePropertyDefaultValueAssignedByConstructorTopLevelClass = new \DateTime();
        $this->protectedPropertyDefaultValueAssignedByConstructor = new SimpleEntity();
        $this->protectedPropertyDefaultValueAssignedByConstructorTopLevelClass = new stdClass();
    }

    public function getPublicProperty1()
    {
        return $this->publicProperty1;
    }

    public function getPublicProperty2()
    {
        return $this->publicProperty2;
    }

    public function setPublicProperty1($publicProperty1)
    {
        $this->publicProperty1 = $publicProperty1;
    }

    public function setPublicProperty2($publicProperty2)
    {
        $this->publicProperty2 = $publicProperty2;
    }

    public function setPublicTypehintedProperty(SimpleEntity $simpleEntity)
    {
        $this->publicTypehintedProperty = $simpleEntity;
    }

    public function getProtectedProperty1()
    {
        return $this->protectedProperty1;
    }

    public function getProtectedProperty2()
    {
        return $this->protectedProperty2;
    }

    public function setProtectedProperty1($protectedProperty1)
    {
        $this->protectedProperty1 = $protectedProperty1;
    }

    public function setProtectedProperty2($protectedProperty2)
    {
        $this->protectedProperty2 = $protectedProperty2;
    }

    public function getPrivateProperty1()
    {
        return $this->protectedProperty1;
    }

    public function getPrivateProperty2()
    {
        return $this->protectedProperty2;
    }

    public function thisMethodIsNotARealSetter()
    {
        return __METHOD__;
    }

    public function gettingUpsetIfThisQualifiesAsASetter()
    {
        return __METHOD__;
    }

}
{'fraction_non_alphanumeric': 0.07753929866989118, 'fraction_numerical': 0.02176541717049577, 'mean_word_length': 3.840526700804682, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 32, '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': '4925378', 'n_tokens_mistral': 1742, 'n_tokens_neox': 1706, 'n_words': 383}