Skip to content

Upgrading symfony/config 3 to 4

Unknownv3.4.47 → v4.4.44

Fetching 106 releases from GitHub…0 / 106
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.9: ^5.5.9|>=7.0.8 → >=7.1.3.

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

  • changed: constructor ConfigCache($file, $debug) → constructor ConfigCache(string $file, bool $debug)
  • changed: constructor ConfigCacheFactory($debug) → constructor ConfigCacheFactory(bool $debug)
  • changed: constructor ResourceCheckerConfigCache($file, $resourceCheckers = …) → constructor ResourceCheckerConfigCache(string $file, iterable $resourceCheckers = …)
  • changed: constructor ResourceCheckerConfigCacheFactory($resourceCheckers = …) → constructor ResourceCheckerConfigCacheFactory(iterable $resourceCheckers = …)
  • added: static method ResourceCheckerConfigCache.handleUnserializeCallback($class)
  • changed: constructor BaseNode($name, NodeInterface $parent = …) → constructor BaseNode(?string $name, NodeInterface $parent = …, string $pathSeparator = …)
  • changed: constructor EnumNode($name, NodeInterface $parent = …, array $values = …) → constructor EnumNode(?string $name, NodeInterface $parent = …, array $values = …, string $pathSeparator = …)
  • changed: constructor NumericNode($name, NodeInterface $parent = …, $min = …, $max = …) → constructor NumericNode(?string $name, NodeInterface $parent = …, $min = …, $max = …, string $pathSeparator = …)
  • added: const BaseNode.DEFAULT_PATH_SEPARATOR
  • added: protected method ArrayNode.allowPlaceholders(): bool
  • added: protected method BaseNode.allowPlaceholders(): bool
  • added: protected method BaseNode.getValidPlaceholderTypes(): array
  • added: protected method BaseNode.isHandlingPlaceholder(): bool
  • added: protected method BooleanNode.getValidPlaceholderTypes(): array
  • added: protected method EnumNode.allowPlaceholders(): bool
  • added: protected method FloatNode.getValidPlaceholderTypes(): array
  • added: protected method IntegerNode.getValidPlaceholderTypes(): array
  • added: protected method ScalarNode.getValidPlaceholderTypes(): array
  • added: protected property BaseNode.pathSeparator
  • added: static method BaseNode.resetPlaceholders(): void
  • added: static method BaseNode.setPlaceholder(string $placeholder, array $values): void
  • added: static method BaseNode.setPlaceholderUniquePrefix(string $prefix): void
  • removed: method ParentNodeDefinitionInterface.setBuilder(NodeBuilder $builder)
  • removed: protected property TreeBuilder.builder
  • changed: constructor ArrayNodeDefinition($name, NodeParentInterface $parent = …) → constructor ArrayNodeDefinition(?string $name, NodeParentInterface $parent = …)
  • changed: constructor BooleanNodeDefinition($name, NodeParentInterface $parent = …) → constructor BooleanNodeDefinition(?string $name, NodeParentInterface $parent = …)
  • changed: constructor NodeDefinition($name, NodeParentInterface $parent = …) → constructor NodeDefinition(?string $name, NodeParentInterface $parent = …)
  • changed: interface ParentNodeDefinitionInterface → interface ParentNodeDefinitionInterface extends BuilderAwareInterface
  • added: constructor TreeBuilder(string $name = …, string $type = …, NodeBuilder $builder = …)
  • added: interface BuilderAwareInterface
  • added: method ArrayNodeDefinition.find(string $nodePath): NodeDefinition
  • added: method ArrayNodeDefinition.getChildNodeDefinitions()
  • added: method BuilderAwareInterface.setBuilder(NodeBuilder $builder)
  • added: method NodeDefinition.setPathSeparator(string $separator)
  • added: method TreeBuilder.getRootNode(): NodeDefinition
  • added: method TreeBuilder.setPathSeparator(string $separator)
  • added: protected property NodeDefinition.pathSeparator
  • added: class TreeWithoutRootNodeException extends \RuntimeException
  • removed: class ConfigCachePass implements CompilerPassInterface
  • removed: constructor ConfigCachePass($factoryServiceId = …, $resourceCheckerTag = …)
  • removed: method ConfigCachePass.process(ContainerBuilder $container)
  • changed: class FileLoaderImportCircularReferenceException extends FileLoaderLoadException → class FileLoaderImportCircularReferenceException extends LoaderLoadException
  • changed: constructor FileLoaderImportCircularReferenceException(array $resources, $code = …, $previous = …) → constructor FileLoaderImportCircularReferenceException(array $resources, ?int $code = …, \Throwable $previous = …)
  • changed: constructor FileLoaderLoadException($resource, $sourceResource = …, $code = …, $previous = …, $type = …) → constructor FileLoaderLoadException(string $resource, string $sourceResource = …, ?int $code = …, \Throwable $previous = …, string $type = …)
  • changed: constructor FileLocatorFileNotFoundException($message = …, $code = …, $previous = …, array $paths = …) → constructor FileLocatorFileNotFoundException(string $message = …, int $code = …, \Throwable $previous = …, array $paths = …)
  • added: class LoaderLoadException extends FileLoaderLoadException
  • changed: protected method FileLoader.glob($pattern, $recursive, &$resource = …, $ignoreErrors = …) → protected method FileLoader.glob(string $pattern, bool $recursive, &$resource = …, bool $ignoreErrors = …, bool $forExclusion = …, array $excluded = …)
  • removed: class ReflectionMethodHhvmWrapper extends \ReflectionMethod
  • removed: class ReflectionParameterHhvmWrapper extends \ReflectionParameter
  • removed: method ClassExistenceResource.serialize()
  • removed: method ClassExistenceResource.unserialize($serialized)
  • removed: method ComposerResource.serialize()
  • removed: method ComposerResource.unserialize($serialized)
  • removed: method DirectoryResource.serialize()
  • removed: method DirectoryResource.unserialize($serialized)
  • removed: method FileExistenceResource.serialize()
  • removed: method FileExistenceResource.unserialize($serialized)
  • removed: method FileResource.serialize()
  • removed: method FileResource.unserialize($serialized)
  • removed: method GlobResource.serialize()
  • removed: method GlobResource.unserialize($serialized)
  • removed: method ReflectionClassResource.serialize()
  • removed: method ReflectionClassResource.unserialize($serialized)
  • removed: method ReflectionMethodHhvmWrapper.getParameters()
  • removed: method ReflectionParameterHhvmWrapper.getDefaultValue()
  • changed: class ClassExistenceResource implements SelfCheckingResourceInterface, \Serializable → class ClassExistenceResource implements SelfCheckingResourceInterface
  • changed: class ComposerResource implements SelfCheckingResourceInterface, \Serializable → class ComposerResource implements SelfCheckingResourceInterface
  • changed: class DirectoryResource implements SelfCheckingResourceInterface, \Serializable → class DirectoryResource implements SelfCheckingResourceInterface
  • changed: class FileExistenceResource implements SelfCheckingResourceInterface, \Serializable → class FileExistenceResource implements SelfCheckingResourceInterface
  • changed: class FileResource implements SelfCheckingResourceInterface, \Serializable → class FileResource implements SelfCheckingResourceInterface
  • changed: class GlobResource implements \IteratorAggregate, SelfCheckingResourceInterface, \Serializable → class GlobResource implements \IteratorAggregate, SelfCheckingResourceInterface
  • changed: class ReflectionClassResource implements SelfCheckingResourceInterface, \Serializable → class ReflectionClassResource implements SelfCheckingResourceInterface
  • changed: constructor ClassExistenceResource($resource, $exists = …) → constructor ClassExistenceResource(string $resource, bool $exists = …)
  • changed: constructor DirectoryResource($resource, $pattern = …) → constructor DirectoryResource(string $resource, string $pattern = …)
  • changed: constructor FileExistenceResource($resource) → constructor FileExistenceResource(string $resource)
  • changed: constructor FileResource($resource) → constructor FileResource(string $resource)
  • changed: constructor GlobResource($prefix, $pattern, $recursive) → constructor GlobResource(string $prefix, string $pattern, bool $recursive, bool $forExclusion = …, array $excludedPrefixes = …)
  • changed: constructor ReflectionClassResource(\ReflectionClass $classReflector, $excludedVendors = …) → constructor ReflectionClassResource(\ReflectionClass $classReflector, array $excludedVendors = …)
  • added: method ClassExistenceResource.__sleep(): array
  • added: method ClassExistenceResource.__wakeup()
  • added: method GlobResource.__sleep(): array
  • added: method GlobResource.__wakeup(): void
  • added: method ReflectionClassResource.__sleep(): array