<commit_before><?php

/**
 * Class TwitterAPIExchangeTest
 *
 * Contains ALL the integration tests
 *
 * @note This test account is not actively monitored so you gain nothing by hi-jacking it :-)
 */
class TwitterAPIExchangeTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @var string
     */
    const CONSUMER_KEY = '<KEY>';

    /**
     * @var string
     */
    const CONSUMER_SECRET = '<KEY>';

    /**
     * @var string
     */
    const OAUTH_ACCESS_TOKEN = '<KEY>';

    /**
     * @var string
     */
    const OAUTH_ACCESS_TOKEN_SECRET = '<KEY>';

    /**
     * @var \TwitterAPIExchange
     */
    protected $exchange;

    /**
     * @var int Stores a tweet id (for /update) to be deleted later (by /destroy)
     */
    private static $tweetId;

    /**
     * @var int Stores uploaded media id
     */
    private static $mediaId;

    /**
     * {@inheritDoc}
     */
    public function setUp()
    {
        $settings  = [];

        /** Because I'm lazy... **/
        $reflector = new \ReflectionClass($this);

        foreach ($reflector->getConstants() as $key => $value)
        {<commit_msg>5.3 compatibility<commit_after><?php

/**
 * Class TwitterAPIExchangeTest
 *
 * Contains ALL the integration tests
 *
 * @note This test account is not actively monitored so you gain nothing by hi-jacking it :-)
 */
class TwitterAPIExchangeTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @var string
     */
    const CONSUMER_KEY = '<KEY>';

    /**
     * @var string
     */
    const CONSUMER_SECRET = '<KEY>';

    /**
     * @var string
     */
    const OAUTH_ACCESS_TOKEN = '<KEY>';

    /**
     * @var string
     */
    const OAUTH_ACCESS_TOKEN_SECRET = '<KEY>';

    /**
     * @var \TwitterAPIExchange
     */
    protected $exchange;

    /**
     * @var int Stores a tweet id (for /update) to be deleted later (by /destroy)
     */
    private static $tweetId;

    /**
     * @var int Stores uploaded media id
     */
    private static $mediaId;

    /**
     * {@inheritDoc}
     */
    public function setUp()
    {
        $settings  = array();

        /** Because I'm lazy... **/
        $reflector = new \ReflectionClass($this);

        foreach ($reflector->getConstants() as $key => $value)
        {
{'fraction_non_alphanumeric': 0.13666519239274658, 'fraction_numerical': 0.0008845643520566122, 'mean_word_length': 2.0200267022696927, 'pattern_counts': {'":': 0, '<': 13, '<?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': '7297415', 'n_tokens_mistral': 717, 'n_tokens_neox': 674, 'n_words': 188}