📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 22:32:07
📂
/
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
vendor
/
rector
/
rector-phpunit
/
config
/
sets
✏️
Editing: phpunit40.php
<?php declare (strict_types=1); namespace RectorPrefix202411; use Rector\Config\RectorConfig; use Rector\Renaming\Rector\MethodCall\RenameMethodRector; use Rector\Renaming\ValueObject\MethodCallRename; return static function (RectorConfig $rectorConfig) : void { $rectorConfig->ruleWithConfiguration(RenameMethodRector::class, [new MethodCallRename( 'PHPUnit_Framework_MockObject_MockObject', # see https://github.com/sebastianbergmann/phpunit-mock-objects/issues/137 'staticExpects', 'expects' )]); };
💾 Save Changes
❌ Cancel