KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/irtiweb/CATS/vendor/behat/mink/driver-testsuite/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/irtiweb/CATS/vendor/behat/mink/driver-testsuite/tests/SkippingUnsupportedTestCase.php
<?php

namespace Behat\Mink\Tests\Driver;

use Behat\Mink\Exception\UnsupportedDriverActionException;

if (version_compare(\PHPUnit_Runner_Version::id(), '5.0.0', '>=')) {
    /**
     * Implementation of the skipping for UnsupportedDriverActionException for PHPUnit 5+
     *
     * This code should be moved back to \Behat\Mink\Tests\Driver\TestCase when dropping support for
     * PHP 5.5 and older, as PHPUnit 4 won't be needed anymore.
     *
     * @internal
     */
    class SkippingUnsupportedTestCase extends \PHPUnit_Framework_TestCase
    {
        protected function onNotSuccessfulTest($e)
        {
            if ($e instanceof UnsupportedDriverActionException) {
                $this->markTestSkipped($e->getMessage());
            }

            parent::onNotSuccessfulTest($e);
        }
    }
} else {
    /**
     * Implementation of the skipping for UnsupportedDriverActionException for PHPUnit 4
     *
     * @internal
     */
    class SkippingUnsupportedTestCase extends \PHPUnit_Framework_TestCase
    {
        protected function onNotSuccessfulTest(\Exception $e)
        {
            if ($e instanceof UnsupportedDriverActionException) {
                $this->markTestSkipped($e->getMessage());
            }

            parent::onNotSuccessfulTest($e);
        }
    }
}

Anon7 - 2021