Uploaded image for project: 'PHP ORMs'
  1. PHP ORMs
  2. PHPORM-23

Update phpstan stubs

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Stubs
    • None

      phpstan stubs are not up-to-date, leading to incorrect static analysis with rector.

      https://github.com/phpstan/phpstan-src/blob/1.11.x/resources/functionMap.php#LL6797C25-L6797C41

      At least : 3rd argument of MongoDB\Driver\Client::executeBulkWrite is missing.

      Goal : update the stub and find a way to automate this process.

      Note about stubs : https://phpstan.org/user-guide/troubleshooting-types#internal-stubs

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: