文件操作 - RemoveFuncCallArg.php
返回文件管理
返回主菜单
删除本文件
文件: /opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Removing/ValueObject/RemoveFuncCallArg.php
编辑文件内容
<?php declare (strict_types=1); namespace Rector\Removing\ValueObject; use Rector\Validation\RectorAssert; final class RemoveFuncCallArg { /** * @readonly * @var string */ private $function; /** * @readonly * @var int */ private $argumentPosition; public function __construct(string $function, int $argumentPosition) { $this->function = $function; $this->argumentPosition = $argumentPosition; RectorAssert::functionName($function); } public function getFunction() : string { return $this->function; } public function getArgumentPosition() : int { return $this->argumentPosition; } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件