We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6216db commit aa1aee0Copy full SHA for aa1aee0
compiler/src/Console/CompileCommand.php
@@ -222,21 +222,6 @@ private function deleteUnnecessaryVendorCode(): void
222
@unlink($vendorDir . '/nikic/php-parser/bin/php-parse');
223
}
224
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
240
private function transformSource(): void
241
{
242
chdir(__DIR__ . '/../../..');
0 commit comments