<commit_before><?php
/**
 * This file is part of the Ray.AuraSqlModule package
 *
 * @license http://opensource.org/licenses/bsd-license.php BSD
 */
namespace Ray\AuraSqlModule;

use Aura\Sql\ExtendedPdo;
use Ray\Di\Di\Named;
use Ray\Di\ProviderInterface;

class AuraSqlProvider implements ProviderInterface
{
    /**
     * @var string
     */
    private $dsn;

    /**
     * @var string
     */
    private $user;

    /**
     * @var string
     */
    private $password;

    /**
     * @param array $config
     *
     * @Named("aura_sql_config")
     */
    public function __construct(array $config)
    {
        list($this->dsn, $this->user, $this->password) = $config;
    }
    /**
     * {@inheritdoc}
     */
    public function get()
    {
        $pdo = new ExtendedPdo(
            $this->dsn,
            $this->user,
            $this->password
        );

        return $pdo;
    }
}<commit_msg>code format<commit_after><?php
/**
 * This file is part of the Ray.AuraSqlModule package
 *
 * @license http://opensource.org/licenses/bsd-license.php BSD
 */
namespace Ray\AuraSqlModule;

use Aura\Sql\ExtendedPdo;
use Ray\Di\Di\Named;
use Ray\Di\ProviderInterface;

class AuraSqlProvider implements ProviderInterface
{
    /**
     * @var string
     */
    private $dsn;

    /**
     * @var string
     */
    private $user;

    /**
     * @var string
     */
    private $password;

    /**
     * @param array $config
     *
     * @Named("aura_sql_config")
     */
    public function __construct(array $config)
    {
        list($this->dsn, $this->user, $this->password) = $config;
    }

    /**
     * {@inheritdoc}
     */
    public function get()
    {
        $pdo = new ExtendedPdo(
            $this->dsn,
            $this->user,
            $this->password
        );

        return $pdo;
    }
}
{'fraction_non_alphanumeric': 0.14293507910529188, 'fraction_numerical': 0.0, 'mean_word_length': 1.870109546165884, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '7185675', 'n_tokens_mistral': 609, 'n_tokens_neox': 590, 'n_words': 121}