Edit File by line
/home/zeestwma/ajeebong.../wp-conte.../plugins/code-sni.../vendor/typistte.../imposter/src
File: ConfigFactory.php
<?php
[0] Fix | Delete
[1] Fix | Delete
declare(strict_types=1);
[2] Fix | Delete
[3] Fix | Delete
namespace TypistTech\Imposter;
[4] Fix | Delete
[5] Fix | Delete
class ConfigFactory
[6] Fix | Delete
{
[7] Fix | Delete
public static function build(string $path, Filesystem $filesystem): Config
[8] Fix | Delete
{
[9] Fix | Delete
return new Config(
[10] Fix | Delete
$filesystem->dirname($path),
[11] Fix | Delete
json_decode(
[12] Fix | Delete
$filesystem->get($path),
[13] Fix | Delete
true
[14] Fix | Delete
)
[15] Fix | Delete
);
[16] Fix | Delete
}
[17] Fix | Delete
[18] Fix | Delete
public static function buildProjectConfig(string $path, Filesystem $filesystem): ProjectConfig
[19] Fix | Delete
{
[20] Fix | Delete
return new ProjectConfig(
[21] Fix | Delete
$filesystem->dirname($path),
[22] Fix | Delete
json_decode(
[23] Fix | Delete
$filesystem->get($path),
[24] Fix | Delete
true
[25] Fix | Delete
)
[26] Fix | Delete
);
[27] Fix | Delete
}
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function