Skip to content
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

Deprecate Yaml mapping #2396

Merged
merged 1 commit into from
Jan 2, 2022
Merged

Conversation

franmomu
Copy link
Collaborator

@franmomu franmomu commented Jan 1, 2022

ORM Yaml driver was deprecated long time ago and for MongoDB it was already removed for the version we are currently supporting.

So it makes sense to deprecate Yaml mapping.

I've only added the @deprecated annotation to the drivers since I guess the user is already receiving deprecation warnings from the ORM, but let me know if you think we should also trigger another deprecation warning.

I'll wait to #2364 get merged so we can see where no add the @group legacy annotation in tests.

@codecov-commenter
Copy link

codecov-commenter commented Jan 1, 2022

Codecov Report

Merging #2396 (396f421) into main (908bcee) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main    #2396   +/-   ##
=========================================
  Coverage     80.29%   80.29%           
  Complexity     3153     3153           
=========================================
  Files           159      159           
  Lines          8160     8160           
=========================================
  Hits           6552     6552           
  Misses         1608     1608           
Impacted Files Coverage Δ
src/Blameable/Mapping/Driver/Yaml.php 0.00% <ø> (ø)
src/IpTraceable/Mapping/Driver/Yaml.php 0.00% <ø> (ø)
src/Loggable/Mapping/Driver/Yaml.php 62.71% <ø> (ø)
src/ReferenceIntegrity/Mapping/Driver/Yaml.php 0.00% <ø> (ø)
src/References/Mapping/Driver/Yaml.php 0.00% <ø> (ø)
src/Sluggable/Mapping/Driver/Yaml.php 80.00% <ø> (ø)
src/SoftDeleteable/Mapping/Driver/Yaml.php 62.50% <ø> (ø)
src/Sortable/Mapping/Driver/Yaml.php 87.09% <ø> (ø)
src/Timestampable/Mapping/Driver/Yaml.php 78.57% <ø> (ø)
src/Translatable/Mapping/Driver/Yaml.php 75.00% <ø> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 908bcee...396f421. Read the comment docs.

CHANGELOG.md Outdated Show resolved Hide resolved
@phansys phansys merged commit b64fe6c into doctrine-extensions:main Jan 2, 2022
@phansys
Copy link
Collaborator

phansys commented Jan 2, 2022

Thanks @franmomu!

@franmomu franmomu deleted the deprecate_yaml branch January 2, 2022 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants