403Webshell
Server IP : 139.59.63.204  /  Your IP : 216.73.217.62
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/abyogasms.com/vendor/tecnickcom/tc-lib-pdf-parser/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/abyogasms.com/vendor/tecnickcom/tc-lib-pdf-parser/test/TestCase.php
<?php

/**
 * TestCase.php
 *
 * @since     2011-05-23
 * @category  Library
 * @package   Pdfparser
 * @author    Nicola Asuni <info@tecnick.com>
 * @copyright 2011-2026 Nicola Asuni - Tecnick.com LTD
 * @license   https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)
 * @link      https://github.com/tecnickcom/tc-lib-pdf-parser
 *
 * This file is part of tc-lib-pdf-parser software library.
 */

namespace Test;

use PHPUnit\Framework\TestCase as FrameworkTestCase;

/**
 * Base test case with cross-version helpers.
 */
abstract class TestCase extends FrameworkTestCase
{
    /**
     * Assert that the expected exception message contains the given substring.
     *
     * Uses expectExceptionMessageMatches(), the only message assertion that is
     * available and not deprecated across PHPUnit 11.5, 12.5 and 13.2 (PHP 8.2+).
     * The deprecated expectExceptionMessage() and the 13.2-only
     * expectExceptionMessageIsOrContains() are intentionally avoided.
     *
     * @param string $message Substring expected within the exception message.
     */
    protected function expectExceptionMessageContains(string $message): void
    {
        $this->expectExceptionMessageMatches('/' . preg_quote($message, '/') . '/');
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit