Skip to content

Upgrading phpro/grumphp 0.16 to 0.17

Breakingv0.16.2 → v0.17.2Breaking1New2Changed4Fixed5Other2

BreakingUpgrade verdict

1 breaking change.

  • Support for old Symfony Process versions before 5.x was removed.
1 item needs code or config changes

PHP requirement changed in v0.17.0: ^7.1 → ^7.2.

Breaking1
Removes the old compatibility layer for pre-5.x Symfony Process.

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

  • removed: const GrumPHPPlugin.PACKAGE_NAME
  • removed: method GrumPHPPlugin.postPackageInstall(PackageEvent $event): void
  • removed: method GrumPHPPlugin.postPackageUpdate(PackageEvent $event): void
  • removed: method GrumPHPPlugin.prePackageUninstall(PackageEvent $event): void
  • removed: protected method GrumPHPPlugin.deInitGitHook(): void
  • removed: protected method GrumPHPPlugin.guardIsGrumPhpPackage(PackageInterface $package): bool
  • removed: protected method GrumPHPPlugin.initGitHook(): void
  • removed: protected method GrumPHPPlugin.runGrumPhpCommand(string $command): void
  • removed: protected property GrumPHPPlugin.composer
  • removed: protected property GrumPHPPlugin.configureScheduled
  • removed: protected property GrumPHPPlugin.initScheduled
  • removed: protected property GrumPHPPlugin.io
  • added: method GrumPHPPlugin.detectGrumphpAction(PackageEvent $event): void
  • changed: constructor ConfigureCommand(GrumPHP $config, Filesystem $filesystem) → constructor ConfigureCommand(GrumPHP $config, Filesystem $filesystem, Paths $paths)
  • changed: method ConfigureCommand.execute(InputInterface $input, OutputInterface $output) → method ConfigureCommand.execute(InputInterface $input, OutputInterface $output): int
  • changed: method RunCommand.execute(InputInterface $input, OutputInterface $output) → method RunCommand.execute(InputInterface $input, OutputInterface $output): int
  • changed: protected method ConfigureCommand.writeConfiguration(array $configuration): bool → protected method ConfigureCommand.writeConfiguration(string $configFile, array $configuration): bool
  • changed: method CommitMsgCommand.execute(InputInterface $input, OutputInterface $output) → method CommitMsgCommand.execute(InputInterface $input, OutputInterface $output): int
  • changed: method DeInitCommand.execute(InputInterface $input, OutputInterface $output) → method DeInitCommand.execute(InputInterface $input, OutputInterface $output): int
  • changed: method InitCommand.execute(InputInterface $input, OutputInterface $output) → method InitCommand.execute(InputInterface $input, OutputInterface $output): int
  • changed: method PreCommitCommand.execute(InputInterface $input, OutputInterface $output) → method PreCommitCommand.execute(InputInterface $input, OutputInterface $output): int
  • changed: constructor TaskRunnerHelper(GrumPHP $config, TaskRunner $taskRunner, EventDispatcherInterface $eventDispatcher, AsciiLocator $asciiLocator) → constructor TaskRunnerHelper(GrumPHP $config, TaskRunner $taskRunner, EventDispatcher $eventDispatcher, AsciiLocator $asciiLocator)
  • removed: final class EventDispatcherFactory
  • removed: static method EventDispatcherFactory.create(ContainerInterface $container): EventDispatcherInterface
  • added: class Event extends SymfonyEventContract
  • added: class Event extends SymfonyLegacyEvent
  • added: interface EventDispatcherInterface
  • added: method EventDispatcherInterface.dispatch(Event $event, string $name = …)
  • added: class SymfonyEventDispatcher implements EventDispatcherInterface
  • added: constructor SymfonyEventDispatcher($eventDispatcher)
  • added: method SymfonyEventDispatcher.dispatch(Event $event, string $eventName = …): void
  • changed: constructor ProgressSubscriber(OutputInterface $output, ProgressBar $progressBar) → constructor ProgressSubscriber(OutputInterface $output)
  • added: method ProgressSubscriber.createProgressBar(int $totalTasks): ProgressBar
  • added: method Paths.getConfigFile(): string