Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[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

Merged
merged 1 commit into from
Apr 5, 2017

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Apr 5, 2017

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).


/**
* @experimental in version 3.3
*/
const PARSE_CUSTOM_TAGS = 512;
Copy link
Member

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.

Copy link
Member Author

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

@weaverryan
Copy link
Member

I also think we need to commit to these features and follow normal deprecation policies. 👍

Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@fabpot
Copy link
Member

fabpot commented Apr 5, 2017

Thank you @nicolas-grekas.

@fabpot fabpot merged commit e8723df into symfony:master Apr 5, 2017
fabpot added a commit that referenced this pull request Apr 5, 2017
…" 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"
@nicolas-grekas nicolas-grekas deleted the 33exp branch April 5, 2017 15:12
@fabpot fabpot mentioned this pull request May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants