PHP 8.2.31
Preview: phpunit90.php Size: 1.01 KB
//opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/rector/rector-phpunit/config/sets/phpunit90.php

<?php

declare (strict_types=1);
namespace RectorPrefix202411;

use Rector\Config\RectorConfig;
use Rector\PHPUnit\PHPUnit100\Rector\StmtsAwareInterface\WithConsecutiveRector;
use Rector\PHPUnit\PHPUnit90\Rector\Class_\TestListenerToHooksRector;
use Rector\PHPUnit\PHPUnit90\Rector\MethodCall\ExplicitPhpErrorApiRector;
use Rector\PHPUnit\PHPUnit90\Rector\MethodCall\SpecificAssertContainsWithoutIdentityRector;
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
use Rector\Renaming\ValueObject\MethodCallRename;
return static function (RectorConfig $rectorConfig) : void {
    $rectorConfig->rules([TestListenerToHooksRector::class, ExplicitPhpErrorApiRector::class, SpecificAssertContainsWithoutIdentityRector::class, WithConsecutiveRector::class]);
    $rectorConfig->ruleWithConfiguration(RenameMethodRector::class, [
        // see https://github.com/sebastianbergmann/phpunit/issues/3957
        new MethodCallRename('PHPUnit\\Framework\\TestCase', 'expectExceptionMessageRegExp', 'expectExceptionMessageMatches'),
    ]);
};

Directory Contents

Dirs: 0 × Files: 10

Name Size Perms Modified Actions
4.23 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
5.05 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
545 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
269 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
12.43 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
581 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.24 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.01 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
4.37 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
160 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).