Skip to content

Commit aa1aee0

Browse files
committed
Fix
1 parent e6216db commit aa1aee0

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

compiler/src/Console/CompileCommand.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -222,21 +222,6 @@ private function deleteUnnecessaryVendorCode(): void
222222
@unlink($vendorDir . '/nikic/php-parser/bin/php-parse');
223223
}
224224

225-
private function patchFile(OutputInterface $output, string $originalFile, string $patchFile): void
226-
{
227-
exec(sprintf(
228-
'patch -d %s %s %s',
229-
escapeshellarg($this->buildDir),
230-
escapeshellarg($originalFile),
231-
escapeshellarg($patchFile),
232-
), $outputLines, $exitCode);
233-
if ($exitCode === 0) {
234-
return;
235-
}
236-
237-
$output->writeln(sprintf('Patching failed: %s', implode("\n", $outputLines)));
238-
}
239-
240225
private function transformSource(): void
241226
{
242227
chdir(__DIR__ . '/../../..');

0 commit comments

Comments
 (0)