<commit_before><?php

/**
 * This file is part of bit3/git-php.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * This project is provided in good faith and hope to be usable by anyone.
 *
 * @package    bit3/git-php
 * @author     <NAME> <<EMAIL>>
 * @author     <NAME> <<EMAIL>>
 * @copyright  2014 <NAME> <<EMAIL>>
 * @license    https://github.com/bit3/git-php/blob/master/LICENSE MIT
 * @link       https://github.com/bit3/git-php
 * @filesource
 */

namespace Bit3\GitPhp;

use Psr\Log\LoggerInterface;
use Psr\Log\NullLogger;

/**
 * Shareable configuration for git repositories.
 */
class GitConfig
{
    /**
     * The path to the git executable.
     *
     * @var string
     */
    protected $gitExecutablePath = 'git';

    /**
     * ID of the GPG certificate to sign commits.
     *
     * @var string|null
     */
    protected $signCommitUser = null;

    /**
     * ID of the GPG certificate to sign tags.
     *
     * @var string|null
     */
    protected $signTagUser = null;

    /**
     * Logger facility.
     *
     * @var LoggerInterface
     */
    protected $logger;

    /**
     * Create new git config.
     */
    public function __construct()
    {
        $this->logger = new NullLogger();
    }

    /**<commit_msg>Remove null assignment for class property<commit_after><?php

/**
 * This file is part of bit3/git-php.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * This project is provided in good faith and hope to be usable by anyone.
 *
 * @package    bit3/git-php
 * @author     <NAME> <<EMAIL>>
 * @author     <NAME> <<EMAIL>>
 * @author     <NAME> <<EMAIL>>
 * @copyright  2014-2018 <NAME> <<EMAIL>>
 * @license    https://github.com/bit3/git-php/blob/master/LICENSE MIT
 * @link       https://github.com/bit3/git-php
 * @filesource
 */

namespace Bit3\GitPhp;

use Psr\Log\LoggerInterface;
use Psr\Log\NullLogger;

/**
 * Shareable configuration for git repositories.
 */
class GitConfig
{
    /**
     * The path to the git executable.
     *
     * @var string
     */
    protected $gitExecutablePath = 'git';

    /**
     * ID of the GPG certificate to sign commits.
     *
     * @var string|null
     */
    protected $signCommitUser;

    /**
     * ID of the GPG certificate to sign tags.
     *
     * @var string|null
     */
    protected $signTagUser;

    /**
     * Logger facility.
     *
     * @var LoggerInterface
     */
    protected $logger;

    /**
     * Create new git config.
     */
    public function __construct()
    {
        $this->logger = new NullLogger();
    }

    /**
{'fraction_non_alphanumeric': 0.12909025530384755, 'fraction_numerical': 0.007910823444804028, 'mean_word_length': 2.2199074074074074, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, 'https://': 4, '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': '1500824', 'n_tokens_mistral': 889, 'n_tokens_neox': 861, 'n_words': 260}