src/Fixer/PhpUnit/PhpUnitNamespacedFixer.php
public function configure(array $configuration = null)
    {
        parent::configure($configuration);

        if (PhpUnitTargetVersion::fulfills($this->configuration['target'], PhpUnitTargetVersion::VERSION_6_0)) {
            $this->originalClassRegEx = '/^PHPUnit_\w+$/i';
        } elseif (PhpUnitTargetVersion::fulfills($this->configuration['target'], PhpUnitTargetVersion::VERSION_5_7)) {
            $this->originalClassRegEx = '/^PHPUnit_Framework_TestCase|PHPUnit_Framework_Assert|PHPUnit_Framework_BaseTestListener|PHPUnit_Framework_TestListener$/i';
        } else {
            $this->originalClassRegEx = '/^PHPUnit_Framework_TestCase$/i';
        }
    }
public function configure(array $configuration = null)
    {
        parent::configure($configuration);

        if (PhpUnitTargetVersion::fulfills($this->configuration['target'], PhpUnitTargetVersion::VERSION_6_0)) {
            $this->originalClassRegEx = '/^PHPUnit_\w+$/i';
        } elseif (PhpUnitTargetVersion::fulfills($this->configuration['target'], PhpUnitTargetVersion::VERSION_5_7)) {
            $this->originalClassRegEx = '/^PHPUnit_Framework_TestCase|PHPUnit_Framework_Assert|PHPUnit_Framework_BaseTestListener|PHPUnit_Framework_TestListener$/i';
        } else {
            $this->originalClassRegEx = '/^PHPUnit_Framework_TestCase$/i';
        }
    }
public function configure ( array $ configuration = null ) { parent :: configure ( $ configuration ) ; if ( PhpUnitTargetVersion :: fulfills ( $ this -> configuration [ 'target' ] , PhpUnitTargetVersion :: VERSION_6_0 ) ) { $ this -> originalClassRegEx = '/^PHPUnit_\w+$/i' ; } elseif ( PhpUnitTargetVersion :: fulfills ( $ this -> configuration [ 'target' ] , PhpUnitTargetVersion :: VERSION_5_7 ) ) { $ this -> originalClassRegEx = '/^PHPUnit_Framework_TestCase|PHPUnit_Framework_Assert|PHPUnit_Framework_BaseTestListener|PHPUnit_Framework_TestListener$/i' ; } else { $ this -> originalClassRegEx = '/^PHPUnit_Framework_TestCase$/i' ; } }
{@inheritdoc}
{