<commit_before><?php

/*
 * This file is part of Laravel Chartist.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace BrianFaust\Chartist;

use Illuminate\View\View;

class Builder
{
    /**
     * @var array
     */
    private $charts = [];

    /**
     * @var array
     */
    private $defaults = [
        'aspectRatio' => null,
        'dimension' => ['width' => 'auto', 'height' => 'auto'],
        'element' => null,
        'labels' => [],
        'options' => [],
        'prefix' => 'ct-',
        'responsiveOptions' => [],
        'series' => [],
        'type' => 'Line',
    ];

    /**
     * @var array
     */
    private $types = [
        'Bar' => 'extended',
        'Line' => 'extended',
        'Pie' => 'minimal',
    ];

    /**
     * @param $name
     *
     * @return $this
     */
    public function name($name): self<commit_msg>Apply fixes from StyleCI (#8)<commit_after><?php

/*
 * This file is part of Laravel Chartist.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace BrianFaust\Chartist;

use Illuminate\View\View;

class Builder
{
    /**
     * @var array
     */
    private $charts = [];

    /**
     * @var array
     */
    private $defaults = [
        'aspectRatio'       => null,
        'dimension'         => ['width' => 'auto', 'height' => 'auto'],
        'element'           => null,
        'labels'            => [],
        'options'           => [],
        'prefix'            => 'ct-',
        'responsiveOptions' => [],
        'series'            => [],
        'type'              => 'Line',
    ];

    /**
     * @var array
     */
    private $types = [
        'Bar'  => 'extended',
        'Line' => 'extended',
        'Pie'  => 'minimal',
    ];

    /**
     * @param $name
     *
     * @return $this
     */
    public function name($name): self
{'fraction_non_alphanumeric': 0.1742718446601942, 'fraction_numerical': 0.0004854368932038835, 'mean_word_length': 1.666235446313066, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 37, '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': '1725354', 'n_tokens_mistral': 642, 'n_tokens_neox': 626, 'n_words': 161}