-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DI/Yaml] Remove @experimental
flag from "instanceof" and "prototype"
#22286
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
Conversation
src/Symfony/Component/Yaml/Yaml.php
Outdated
|
||
/** | ||
* @experimental in version 3.3 | ||
*/ | ||
const PARSE_CUSTOM_TAGS = 512; |
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.
I think I would then move this flag between PARSE_CONSTANT
and DUMP_EMPTY_ARRAY_AS_SEQUENCE
.
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.
moved up in the list
I also think we need to commit to these features and follow normal deprecation policies. 👍 |
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.
👍
Thank you @nicolas-grekas. |
…" and "prototype" (nicolas-grekas) This PR was merged into the 3.3-dev branch. Discussion ---------- [DI/Yaml] Remove `@experimental` flag from "instanceof" and "prototype" | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - We don't need this flag on these features: the implementation is stable, and regular deprecations should be the way to go in the event where we decide to remove this later on. That would leave only one single `@experimental` feature in 3.3: `CacheItem::getPreviousTags()`, which looks legitimate to me (since this method is aiming at interop). Commits ------- e8723df [DI/Yaml] Remove `@experimental` flag from "instanceof" and "prototype"
We don't need this flag on these features: the implementation is stable, and regular deprecations should be the way to go in the event where we decide to remove this later on.
That would leave only one single
@experimental
feature in 3.3:CacheItem::getPreviousTags()
, which looks legitimate to me (since this method is aiming at interop).