-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer] Remove deprecation layer #41657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Serializer] Remove deprecation layer #41657
Conversation
derrabus
commented
Jun 10, 2021
Q | A |
---|---|
Branch? | 6.0 |
Bug fix? | no |
New feature? | no |
Deprecations? | no |
Tickets | N/A |
License | MIT |
Doc PR | N/A |
b608c8e
to
40042a6
Compare
Hey! I think @xfifix has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
40042a6
to
f6a01e8
Compare
f6a01e8
to
222ea81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please rebase so that we can see green tests :)
222ea81
to
42061be
Compare
Fabbot failure is the usual false positive, AppVeyor failure is unrelated. The remaining tests are green. |
} | ||
} | ||
|
||
public function __construct( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be on one line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when using constructor property promotion, I think we should use several lines actually
we do so already for attributes
throw new \TypeError(sprintf('"%s": Argument $typeProperty was expected to be a string or array, got "%s".', __METHOD__, get_debug_type($typeProperty))); | ||
} | ||
|
||
public function __construct( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
Signed-off-by: Alexander M. Turek <me@derrabus.de>
42061be
to
56034b5
Compare
Thank you @derrabus. |