Upgrading symfony/options-resolver 5 to 6
Unknownv5.4.45 → v6.4.49
Fetching 31 releases from GitHub…0 / 31
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- 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.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
PHP requirement changed in v6.1.0-BETA1: >=7.2.5 → >=8.1.
Drops symfony/polyfill-php73, symfony/polyfill-php80.
Moves symfony/deprecation-contracts ^2.1|^3 → ^2.5|^3. Your build may pick other versions.
API changes
Generated by DepDelta from published PHP source. Not mixed with prose notes.
- changed:
method OptionConfigurator.allowedTypes(string ...$types): self → method OptionConfigurator.allowedTypes(string ...$types): static - changed:
method OptionConfigurator.allowedValues(...$values): self → method OptionConfigurator.allowedValues(mixed ...$values): static - changed:
method OptionConfigurator.default($value): self → method OptionConfigurator.default(mixed $value): static - changed:
method OptionConfigurator.deprecated(string $package, string $version, $message = …): self → method OptionConfigurator.deprecated(string $package, string $version, string|\Closure $message = …): static - changed:
method OptionConfigurator.info(string $info): self → method OptionConfigurator.info(string $info): static - changed:
method OptionConfigurator.normalize(\Closure $normalizer): self → method OptionConfigurator.normalize(\Closure $normalizer): static - changed:
method OptionConfigurator.required(): self → method OptionConfigurator.required(): static - changed:
method OptionsResolver.addAllowedTypes(string $option, $allowedTypes) → method OptionsResolver.addAllowedTypes(string $option, string|array $allowedTypes) - changed:
method OptionsResolver.addAllowedValues(string $option, $allowedValues) → method OptionsResolver.addAllowedValues(string $option, mixed $allowedValues) - changed:
method OptionsResolver.addNormalizer(string $option, \Closure $normalizer, bool $forcePrepend = …): self → method OptionsResolver.addNormalizer(string $option, \Closure $normalizer, bool $forcePrepend = …): static - changed:
method OptionsResolver.clear() → method OptionsResolver.clear(): static - changed:
method OptionsResolver.count() → method OptionsResolver.count(): int - changed:
method OptionsResolver.getDefinedOptions() → method OptionsResolver.getDefinedOptions(): array - changed:
method OptionsResolver.getMissingOptions() → method OptionsResolver.getMissingOptions(): array - changed:
method OptionsResolver.getRequiredOptions() → method OptionsResolver.getRequiredOptions(): array - changed:
method OptionsResolver.hasDefault(string $option) → method OptionsResolver.hasDefault(string $option): bool - changed:
method OptionsResolver.isDefined(string $option) → method OptionsResolver.isDefined(string $option): bool - changed:
method OptionsResolver.isMissing(string $option) → method OptionsResolver.isMissing(string $option): bool - changed:
method OptionsResolver.isRequired(string $option) → method OptionsResolver.isRequired(string $option): bool - changed:
method OptionsResolver.offsetExists($option) → method OptionsResolver.offsetExists(mixed $option): bool - changed:
method OptionsResolver.offsetGet($option, bool $triggerDeprecation = …) → method OptionsResolver.offsetGet(mixed $option, bool $triggerDeprecation = …): mixed - changed:
method OptionsResolver.offsetSet($option, $value) → method OptionsResolver.offsetSet(mixed $option, mixed $value): void - changed:
method OptionsResolver.offsetUnset($option) → method OptionsResolver.offsetUnset(mixed $option): void - changed:
method OptionsResolver.remove($optionNames) → method OptionsResolver.remove(string|array $optionNames): static - changed:
method OptionsResolver.resolve(array $options = …) → method OptionsResolver.resolve(array $options = …): array - changed:
method OptionsResolver.setAllowedTypes(string $option, $allowedTypes) → method OptionsResolver.setAllowedTypes(string $option, string|array $allowedTypes) - changed:
method OptionsResolver.setAllowedValues(string $option, $allowedValues) → method OptionsResolver.setAllowedValues(string $option, mixed $allowedValues) - changed:
method OptionsResolver.setDefault(string $option, $value) → method OptionsResolver.setDefault(string $option, mixed $value): static - changed:
method OptionsResolver.setDefaults(array $defaults) → method OptionsResolver.setDefaults(array $defaults): static - changed:
method OptionsResolver.setDefined($optionNames) → method OptionsResolver.setDefined(string|array $optionNames): static - changed:
method OptionsResolver.setDeprecated(string $option): self → method OptionsResolver.setDeprecated(string $option, string $package, string $version, string|\Closure $message = …): static - changed:
method OptionsResolver.setInfo(string $option, string $info): self → method OptionsResolver.setInfo(string $option, string $info): static - changed:
method OptionsResolver.setPrototype(bool $prototype): self → method OptionsResolver.setPrototype(bool $prototype): static - changed:
method OptionsResolver.setRequired($optionNames) → method OptionsResolver.setRequired(string|array $optionNames): static - added:
method OptionConfigurator.ignoreUndefined(bool $ignore = …): static - added:
method OptionsResolver.setIgnoreUndefined(bool $ignore = …): static
- removed:
method OptionsResolverIntrospector.getDeprecationMessage(string $option) - changed:
method OptionsResolverIntrospector.getDefault(string $option) → method OptionsResolverIntrospector.getDefault(string $option): mixed