Skip to content

Upgrading symfony/process 3 to 4

Unknownv3.4.47 → v4.4.44

Fetching 105 releases from GitHub…0 / 105
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

PHP requirement changed in v4.4.11: ^5.5.9|>=7.0.8 → >=7.1.3.

Adds symfony/polyfill-php80 ^1.16.

Generated by DepDelta from published PHP source. Not mixed with prose notes.

  • removed: class ProcessBuilder
  • removed: constructor ProcessBuilder(array $arguments = …)
  • removed: method Process.areEnvironmentVariablesInherited()
  • removed: method Process.getEnhanceSigchildCompatibility()
  • removed: method Process.getEnhanceWindowsCompatibility()
  • removed: method Process.getOptions()
  • removed: method Process.setEnhanceSigchildCompatibility($enhance)
  • removed: method Process.setEnhanceWindowsCompatibility($enhance)
  • removed: method Process.setOptions(array $options)
  • removed: method ProcessBuilder.add($argument)
  • removed: method ProcessBuilder.addEnvironmentVariables(array $variables)
  • removed: method ProcessBuilder.disableOutput()
  • removed: method ProcessBuilder.enableOutput()
  • removed: method ProcessBuilder.getProcess()
  • removed: method ProcessBuilder.inheritEnvironmentVariables($inheritEnv = …)
  • removed: method ProcessBuilder.setArguments(array $arguments)
  • removed: method ProcessBuilder.setEnv($name, $value)
  • removed: method ProcessBuilder.setInput($input)
  • removed: method ProcessBuilder.setOption($name, $value)
  • removed: method ProcessBuilder.setPrefix($prefix)
  • removed: method ProcessBuilder.setTimeout($timeout)
  • removed: method ProcessBuilder.setWorkingDirectory($cwd)
  • removed: static method ProcessBuilder.create(array $arguments = …)
  • removed: static method ProcessUtils.escapeArgument($argument)
  • changed: constructor PhpProcess($script, $cwd = …, array $env = …, $timeout = …, array $options = …) → constructor PhpProcess(string $script, string $cwd = …, array $env = …, int $timeout = …, array $php = …)
  • changed: constructor Process($commandline, $cwd = …, array $env = …, $input = …, $timeout = …, array $options = …) → constructor Process($command, string $cwd = …, array $env = …, $input = …, ?float $timeout = …)
  • changed: method PhpProcess.start(callable $callback = …) → method PhpProcess.start(callable $callback = …, array $env = …)
  • changed: method Process.addErrorOutput($line) → method Process.addErrorOutput(string $line)
  • changed: method Process.addOutput($line) → method Process.addOutput(string $line)
  • changed: method Process.mustRun(callable $callback = …) → method Process.mustRun(callable $callback = …, array $env = …): self
  • changed: method Process.restart(callable $callback = …) → method Process.restart(callable $callback = …, array $env = …): self
  • changed: method Process.run($callback = …) → method Process.run(callable $callback = …, array $env = …): int
  • changed: method Process.start(callable $callback = …) → method Process.start(callable $callback = …, array $env = …)
  • added: method Process.__sleep()
  • added: method Process.__wakeup()
  • added: method Process.getLastOutputTime(): ?float
  • added: method Process.waitUntil(callable $callback): bool
  • added: static method PhpProcess.fromShellCommandline(string $command, string $cwd = …, array $env = …, $input = …, ?float $timeout = …)
  • added: static method Process.fromShellCommandline(string $command, string $cwd = …, array $env = …, $input = …, ?float $timeout = …)
  • added: static method Process.isTtySupported(): bool
  • changed: constructor ProcessTimedOutException(Process $process, $timeoutType) → constructor ProcessTimedOutException(Process $process, int $timeoutType)
  • changed: interface ExceptionInterface → interface ExceptionInterface extends \Throwable
  • added: constructor ProcessSignaledException(Process $process)
  • added: final class ProcessSignaledException extends RuntimeException
  • added: method ProcessSignaledException.getProcess(): Process
  • added: method ProcessSignaledException.getSignal(): int
  • changed: constructor UnixPipes($ttyMode, $ptyMode, $input, $haveReadSupport) → constructor UnixPipes(?bool $ttyMode, bool $ptyMode, $input, bool $haveReadSupport)
  • changed: constructor WindowsPipes($input, $haveReadSupport) → constructor WindowsPipes($input, bool $haveReadSupport)
  • changed: method AbstractPipes.handleError($type, $msg) → method AbstractPipes.handleError(int $type, string $msg)
  • changed: method PipesInterface.areOpen() → method PipesInterface.areOpen(): bool
  • changed: method PipesInterface.getDescriptors() → method PipesInterface.getDescriptors(): array
  • changed: method PipesInterface.getFiles() → method PipesInterface.getFiles(): array
  • changed: method PipesInterface.haveReadSupport() → method PipesInterface.haveReadSupport(): bool
  • changed: method PipesInterface.readAndWrite($blocking, $close = …) → method PipesInterface.readAndWrite(bool $blocking, bool $close = …): array
  • changed: method UnixPipes.areOpen() → method UnixPipes.areOpen(): bool
  • changed: method UnixPipes.getDescriptors() → method UnixPipes.getDescriptors(): array
  • changed: method UnixPipes.getFiles() → method UnixPipes.getFiles(): array
  • changed: method UnixPipes.haveReadSupport() → method UnixPipes.haveReadSupport(): bool
  • changed: method UnixPipes.readAndWrite($blocking, $close = …) → method UnixPipes.readAndWrite(bool $blocking, bool $close = …): array
  • changed: method WindowsPipes.areOpen() → method WindowsPipes.areOpen(): bool
  • changed: method WindowsPipes.getDescriptors() → method WindowsPipes.getDescriptors(): array
  • changed: method WindowsPipes.getFiles() → method WindowsPipes.getFiles(): array
  • changed: method WindowsPipes.haveReadSupport() → method WindowsPipes.haveReadSupport(): bool
  • changed: method WindowsPipes.readAndWrite($blocking, $close = …) → method WindowsPipes.readAndWrite(bool $blocking, bool $close = …): array
  • changed: protected method AbstractPipes.hasSystemCallBeenInterrupted() → protected method AbstractPipes.hasSystemCallBeenInterrupted(): bool
  • changed: protected method AbstractPipes.write() → protected method AbstractPipes.write(): ?array
  • added: method UnixPipes.__sleep()
  • added: method UnixPipes.__wakeup()
  • added: method WindowsPipes.__sleep()
  • added: method WindowsPipes.__wakeup()