Fix PHP 8.5 deprecations

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 1.21.3, 2.1.2
    • Affects Version/s: None
    • Component/s: None
    • 🔵 Done
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      gsteel has created Issue #1795: Support for 8.5 is declared but there are many (noisy) deprecations in mongo-php-library. This Jira ticket was filed by GromNaN

      Issue Text:
      This PR https://github.com/mongodb/mongo-php-library/pull/1758 has been merged into `v2.x` and fixes a number of deprecations on 8.5

      Is it possible we could have a patch or minor release to address the non-canonical casts considering this library already supports PHP 8.5 implicitly via `require php ^8.1`?

            Assignee:
            Jérôme Tamarelle
            Reporter:
            TPM Jira Automations Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: