mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-01-16 02:48:39 +00:00
Automated formatting changes
This commit is contained in:
parent
77a6043638
commit
e79c8116df
|
|
@ -26,8 +26,8 @@ $fileHashs = \file_get_contents(__DIR__ . '/../../../../hashs.txt'); /* Rest::re
|
|||
)->getBody(); */
|
||||
|
||||
$hashs = [];
|
||||
$fp = \fopen("php://memory", 'r+');
|
||||
\fputs($fp, $fileHashs);
|
||||
$fp = \fopen("php://memory", 'r+');
|
||||
\fwrite($fp, $fileHashs);
|
||||
\rewind($fp);
|
||||
|
||||
while($line = \fgets($fp)){
|
||||
|
|
@ -37,9 +37,9 @@ while($line = \fgets($fp)){
|
|||
}
|
||||
|
||||
$whitespace = \stripos($line, ' ');
|
||||
$length = \strlen($line);
|
||||
$hash = \substr($line, 0, $whitespace);
|
||||
$file = \trim(\substr($line, $whitespace + 2), '.\\/');
|
||||
$length = \strlen($line);
|
||||
$hash = \substr($line, 0, $whitespace);
|
||||
$file = \trim(\substr($line, $whitespace + 2), '.\\/');
|
||||
|
||||
$hashs[$file] = $hash;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user