<commit_before><?php

/*
 * This file is part of the Opfura package.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Opfura\SchoolBundle\Model;

use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Opfura\UserBundle\Model\UserInterface;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * Teacher
 *
 * @author <NAME> <<EMAIL>>
 * @since  0.6.0
 */
class Teacher
{
    /**
     * user
     *
     * @var \Opfura\UserBundle\Model\UserInterface
     */
    protected $user;

    /**
     * miniBio
     *
     * @author <NAME> <<EMAIL>>
     * @since  0.7.0
     *
     * @Assert\Length(
     *      min = 30,
     *      max = 250,
     *      minMessage = "Mini bio must be at least {{ limit }} characters long",
     *      maxMessage = "Mini bio cannot be longer than {{ limit }} characters"
     * )
     * @ORM\Column(type="string", name="mini_bio")
     */
    protected $miniBio;

    /**
     * websiteUrl
     *
     * @author <NAME> <<EMAIL>>
     * @since  0.7.0
     *
     * @Assert\Url()
     * @ORM\Column(type="string", name="website_url")
     */
    protected $websiteUrl;

    /**
     * @Gedmo\Timestampable(on="create")
     * @ORM\Column(type="datetime", name="created_at")
     */
    protected $createdAt;

    /**
     * @Gedmo\Timestampable(on="update")
     * @ORM\Column(type="datetime", name="updated_at")
     */
    protected $updatedAt;
<commit_msg>Making Teacher::$miniBio and ::$websiteUrl optional<commit_after><?php

/*
 * This file is part of the Opfura package.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Opfura\SchoolBundle\Model;

use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Opfura\UserBundle\Model\UserInterface;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * Teacher
 *
 * @author <NAME> <<EMAIL>>
 * @since  0.6.0
 */
class Teacher
{
    /**
     * user
     *
     * @var \Opfura\UserBundle\Model\UserInterface
     */
    protected $user;

    /**
     * miniBio
     *
     * @author <NAME> <<EMAIL>>
     * @since  0.7.0
     *
     * @Assert\Length(
     *      min = 30,
     *      max = 250,
     *      minMessage = "Mini bio must be at least {{ limit }} characters long",
     *      maxMessage = "Mini bio cannot be longer than {{ limit }} characters"
     * )
     * @ORM\Column(type="string", name="mini_bio", nullable=true)
     */
    protected $miniBio;

    /**
     * websiteUrl
     *
     * @author <NAME> <<EMAIL>>
     * @since  0.7.0
     *
     * @Assert\Url()
     * @ORM\Column(type="string", name="website_url", nullable=true)
     */
    protected $websiteUrl;

    /**
     * @Gedmo\Timestampable(on="create")
     * @ORM\Column(type="datetime", name="created_at")
     */
    protected $createdAt;

    /**
     * @Gedmo\Timestampable(on="update")
     * @ORM\Column(type="datetime", name="updated_at")
     */
    protected $updatedAt;

{'fraction_non_alphanumeric': 0.14822006472491908, 'fraction_numerical': 0.009061488673139158, 'mean_word_length': 2.392974753018661, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 21, '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': '2319916', 'n_tokens_mistral': 1046, 'n_tokens_neox': 1007, 'n_words': 232}