ヤミRoot VoidGate
User / IP
:
216.73.216.49
Host / Server
:
146.88.233.70 / www.dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
src
/
Console
/
Formatter
/
Viewing: ConsoleDiffer.php
<?php declare (strict_types=1); namespace Rector\Console\Formatter; use RectorPrefix202411\SebastianBergmann\Diff\Differ; use RectorPrefix202411\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder; final class ConsoleDiffer { /** * @readonly * @var \Rector\Console\Formatter\ColorConsoleDiffFormatter */ private $colorConsoleDiffFormatter; /** * @readonly * @var \SebastianBergmann\Diff\Differ */ private $differ; public function __construct(\Rector\Console\Formatter\ColorConsoleDiffFormatter $colorConsoleDiffFormatter) { $this->colorConsoleDiffFormatter = $colorConsoleDiffFormatter; // @see https://github.com/sebastianbergmann/diff#strictunifieddiffoutputbuilder // @see https://github.com/sebastianbergmann/diff/compare/4.0.4...5.0.0#diff-251edf56a6344c03fa264a4926b06c2cee43c25f66192d5f39ebee912b7442dc for upgrade $unifiedDiffOutputBuilder = new UnifiedDiffOutputBuilder(); $this->differ = new Differ($unifiedDiffOutputBuilder); } public function diff(string $old, string $new) : string { $diff = $this->differ->diff($old, $new); return $this->colorConsoleDiffFormatter->format($diff); } }
Coded With 💗 by
0x6ick