Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.