文件操作 - AbstractTestCase.php
返回文件管理
返回主菜单
删除本文件
文件: /opt/cpanel/ea-wappspector/vendor/rector/rector/src/Testing/PHPUnit/AbstractTestCase.php
编辑文件内容
<?php declare (strict_types=1); namespace Rector\Testing\PHPUnit; /** * @deprecated Use AbstractLazyTestCase instead */ abstract class AbstractTestCase extends \Rector\Testing\PHPUnit\AbstractLazyTestCase { /** * @param string[] $configFiles */ protected function bootFromConfigFiles(array $configFiles) : void { $rectorConfig = self::getContainer(); foreach ($configFiles as $configFile) { $callable = (require $configFile); $callable($rectorConfig); } } /** * Syntax-sugar to remove static * @deprecated Only for BC * * @template T of object * @param class-string<T> $type * @return T */ protected function getService(string $type) : object { return $this->make($type); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件