1 Star 0 Fork 160

Paul / hyperf

forked from hyperf / hyperf 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rector.php 726 Bytes
一键复制 编辑 原始数据 按行查看 历史
huangdijia 提交于 2023-06-07 10:16 . Bumps phpunit to 10.x (#5802)
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://hyperf.wiki
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
use Rector\Config\RectorConfig;
use Rector\PHPUnit\Set\PHPUnitSetList;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([
__DIR__ . '/src/*/tests',
]);
// register a single rule
$rectorConfig->rule(InlineConstructorDefaultToPropertyRector::class);
// define sets of rules
$rectorConfig->sets([
PHPUnitSetList::PHPUNIT_100,
]);
};
PHP
1
https://gitee.com/jin_paul/hyperf.git
git@gitee.com:jin_paul/hyperf.git
jin_paul
hyperf
hyperf
master

搜索帮助