rector/vendor/rector/extension-installer/src/Filesystem.php
Tomas Votruba aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00

13 lines
353 B
PHP

<?php
declare (strict_types=1);
namespace Rector\RectorInstaller;
interface Filesystem
{
public function isFile(string $pathToFile) : bool;
public function hashFile(string $pathToFile) : string;
public function hashEquals(string $hash, string $content) : bool;
public function writeFile(string $pathToFile, string $contents) : void;
}