Skip to content

#42229 update phpdoc to recommend createIndex over ensureIndex #15548

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
Jul 22, 2021

Conversation

kralos
Copy link

@kralos kralos commented Jul 22, 2021

@carsonbot carsonbot added this to the 4.4 milestone Jul 22, 2021
nicolas-grekas added a commit to symfony/symfony that referenced this pull request Jul 22, 2021
…over ensureIndex (kralos)

This PR was merged into the 4.4 branch.

Discussion
----------

[HttpFoundation] update phpdoc to recommend createIndex over ensureIndex

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no - kinda (phpdoc only fix)
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #42229
| License       | MIT
| Doc PR        | symfony/symfony-docs#15548

Updated PHPDoc to recommend using `createIndex` instead of `ensureIndex`. `ensureIndex` was deprecated in `mongodb 3.0.0` and removed in `mongodb 5.0.0`

Commits
-------

05d8ca1 #42229 update phpdoc to recommend createIndex over ensureIndex
@javiereguiluz
Copy link
Member

Thank you Joe.

@javiereguiluz javiereguiluz merged commit dad83ee into symfony:4.4 Jul 22, 2021
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.

3 participants