Skip to content

Upgrading symfony/process 4 to 5

Unknownv4.4.44 → v5.4.54

Fetching 82 releases from GitHub…0 / 82
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 v5.1.0-RC2: >=7.1.3 → >=7.2.5.

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

  • removed: method PhpProcess.setPhpBinary($php)
  • removed: method Process.inheritEnvironmentVariables($inheritEnv = …)
  • removed: method Process.setCommandLine($commandline)
  • changed: constructor PhpProcess(string $script, string $cwd = …, array $env = …, int $timeout = …, array $php = …) → constructor PhpProcess(string $script, ?string $cwd = …, ?array $env = …, int $timeout = …, ?array $php = …)
  • changed: constructor Process($command, string $cwd = …, array $env = …, $input = …, ?float $timeout = …) → constructor Process(array $command, ?string $cwd = …, ?array $env = …, $input = …, ?float $timeout = …)
  • changed: method ExecutableFinder.addSuffix($suffix) → method ExecutableFinder.addSuffix(string $suffix)
  • changed: method ExecutableFinder.find($name, $default = …, array $extraDirs = …) → method ExecutableFinder.find(string $name, ?string $default = …, array $extraDirs = …)
  • changed: method InputStream.onEmpty(callable $onEmpty = …) → method InputStream.onEmpty(?callable $onEmpty = …)
  • changed: method PhpExecutableFinder.find($includeArgs = …) → method PhpExecutableFinder.find(bool $includeArgs = …)
  • changed: method PhpProcess.start(callable $callback = …, array $env = …) → method PhpProcess.start(?callable $callback = …, array $env = …)
  • changed: method Process.getIterator($flags = …) → method Process.getIterator(int $flags = …)
  • changed: method Process.mustRun(callable $callback = …, array $env = …): self → method Process.mustRun(?callable $callback = …, array $env = …): self
  • changed: method Process.restart(callable $callback = …, array $env = …): self → method Process.restart(?callable $callback = …, array $env = …): self
  • changed: method Process.run(callable $callback = …, array $env = …): int → method Process.run(?callable $callback = …, array $env = …): int
  • changed: method Process.setIdleTimeout($timeout) → method Process.setIdleTimeout(?float $timeout)
  • changed: method Process.setPty($bool) → method Process.setPty(bool $bool)
  • changed: method Process.setTimeout($timeout) → method Process.setTimeout(?float $timeout)
  • changed: method Process.setTty($tty) → method Process.setTty(bool $tty)
  • changed: method Process.setWorkingDirectory($cwd) → method Process.setWorkingDirectory(string $cwd)
  • changed: method Process.signal($signal) → method Process.signal(int $signal)
  • changed: method Process.start(callable $callback = …, array $env = …) → method Process.start(?callable $callback = …, array $env = …)
  • changed: method Process.stop($timeout = …, $signal = …) → method Process.stop(float $timeout = …, ?int $signal = …)
  • changed: method Process.wait(callable $callback = …) → method Process.wait(?callable $callback = …)
  • changed: protected method Process.buildCallback(callable $callback = …) → protected method Process.buildCallback(?callable $callback = …)
  • changed: protected method Process.updateStatus($blocking) → protected method Process.updateStatus(bool $blocking)
  • changed: static method PhpProcess.fromShellCommandline(string $command, string $cwd = …, array $env = …, $input = …, ?float $timeout = …) → static method PhpProcess.fromShellCommandline(string $command, ?string $cwd = …, ?array $env = …, $input = …, ?float $timeout = …)
  • changed: static method Process.fromShellCommandline(string $command, string $cwd = …, array $env = …, $input = …, ?float $timeout = …) → static method Process.fromShellCommandline(string $command, ?string $cwd = …, ?array $env = …, $input = …, ?float $timeout = …)
  • changed: static method ProcessUtils.validateInput($caller, $input) → static method ProcessUtils.validateInput(string $caller, $input)
  • added: method Process.getStartTime(): float
  • added: method Process.setOptions(array $options)
  • changed: method UnixPipes.__sleep() → method UnixPipes.__sleep(): array
  • changed: method WindowsPipes.__sleep() → method WindowsPipes.__sleep(): array