Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions UPGRADE-8.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,11 @@ Security
+}
```

Serializer
----------

* Remove `AbstractNormalizerContextBuilder::withDefaultContructorArguments()`, use `withDefaultConstructorArguments()` instead

TwigBridge
----------

Expand Down
5 changes: 5 additions & 0 deletions src/Symfony/Component/Serializer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
CHANGELOG
=========

8.0
---

* Remove `AbstractNormalizerContextBuilder::withDefaultContructorArguments()`, use `withDefaultConstructorArguments()` instead

7.3
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,6 @@ public function withAllowExtraAttributes(?bool $allowExtraAttributes): static
return $this->with(AbstractNormalizer::ALLOW_EXTRA_ATTRIBUTES, $allowExtraAttributes);
}

/**
* @deprecated since Symfony 7.1, use withDefaultConstructorArguments(?array $defaultConstructorArguments)" instead
*
* @param array<class-string, array<string, mixed>>|null $defaultContructorArguments
*/
public function withDefaultContructorArguments(?array $defaultContructorArguments): static
{
trigger_deprecation('symfony/serializer', '7.1', 'The "%s()" method is deprecated, use "withDefaultConstructorArguments(?array $defaultConstructorArguments)" instead.', __METHOD__);

return self::withDefaultConstructorArguments($defaultContructorArguments);
}

/**
* Configures a hashmap of classes containing hashmaps of constructor argument => default value.
*
Expand Down
Loading