<commit_before><?php

namespace EGALL\EloquentPHPUnit\Database;

use DB;
use Schema;

/**
 * Database table test case class.
 * 
 * @author <NAME> <<EMAIL>>
 */
class Table
{
    /**
     * The database table instance.
     * 
     * @var array
     */
    public $table;

    /**
     * The test instance.
     *
     * @var EloquentTestCase
     */
    protected $context;

    /**
     * The database table name.
     *
     * @var string
     */
    protected $name;

    /**
     * Table test case constructor.
     * 
     * @param EloquentTestCase $context
     * @param string           $name
     */
    public function __construct($context, string $name)
    {
        $this->context = $context;
        $this->name = $name;
    }

    /**
     * Get a column test case intance.
     * 
     * @return TableColumnTestCase
     */
    public function column($column)
    {
        return $this->tableColumn($column)->exists();
    }
<commit_msg>Remove PHP 7 requirement in constructor<commit_after><?php

namespace EGALL\EloquentPHPUnit\Database;

use DB;
use Schema;

/**
 * Database table test case class.
 * 
 * @author <NAME> <<EMAIL>>
 */
class Table
{
    /**
     * The database table instance.
     * 
     * @var array
     */
    public $table;

    /**
     * The test instance.
     *
     * @var EloquentTestCase
     */
    protected $context;

    /**
     * The database table name.
     *
     * @var string
     */
    protected $name;

    /**
     * Table test case constructor.
     * 
     * @param EloquentTestCase $context
     * @param string           $name
     */
    public function __construct($context, $name)
    {
        $this->context = $context;
        $this->name = $name;
    }

    /**
     * Get a column test case intance.
     * 
     * @return TableColumnTestCase
     */
    public function column($column)
    {
        return $this->tableColumn($column)->exists();
    }

{'fraction_non_alphanumeric': 0.1266216917488324, 'fraction_numerical': 0.0005189413596263622, 'mean_word_length': 1.7821067821067822, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, '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': '7520814', 'n_tokens_mistral': 598, 'n_tokens_neox': 576, 'n_words': 148}