<commit_before><?php

namespace Omnipay\PayPal\Message;

use Omnipay\Common\CreditCard;
use Omnipay\Tests\TestCase;

class RestDeleteCardRequestTest extends TestCase
{
    /** @var RestDeleteCardRequest */
    private $request;

    /** @var CreditCard */
    private $card;

    public function setUp()
    {
        parent::setUp();

        $this->request = new RestDeleteCardRequest($this->getHttpClient(), $this->getHttpRequest());
        $this->request->initialize(array('cardReference' => 'CARD-TEST123'));
    }

    public function testGetData()
    {
        $data = $this->request->getData();
        $this->assertTrue(is_array($data));
        $this->assertEmpty($data);
    }

    public function testEndpoint()
    {
        $this->assertStringEndsWith('/vault/credit-card/CARD-TEST123', $this->request->getEndpoint());
    }
}
<commit_msg>Fix travis CI build errors<commit_after><?php

namespace Omnipay\PayPal\Message;

use Omnipay\Common\CreditCard;
use Omnipay\Tests\TestCase;

class RestDeleteCardRequestTest extends TestCase
{
    /** @var RestDeleteCardRequest */
    private $request;

    /** @var CreditCard */
    private $card;

    public function setUp()
    {
        parent::setUp();

        $this->request = new RestDeleteCardRequest($this->getHttpClient(), $this->getHttpRequest());
        $this->request->initialize(array('cardReference' => 'CARD-TEST123'));
    }

    public function testGetData()
    {
        $data = $this->request->getData();
        $this->assertTrue(is_array($data));
        $this->assertEmpty($data);
    }

    public function testEndpoint()
    {
        $this->assertStringEndsWith('/vault/credit-cards/CARD-TEST123', $this->request->getEndpoint());
    }
}

{'fraction_non_alphanumeric': 0.1519721577726218, 'fraction_numerical': 0.0069605568445475635, 'mean_word_length': 3.259259259259259, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, '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': '517729', 'n_tokens_mistral': 535, 'n_tokens_neox': 519, 'n_words': 86}