Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1625

Investigate native PHP function return null or false

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • PHP Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Psalm can report static analysis error for functions that can return null or false.

      Investigate potential issues in PHPLIB by enabling this settings.

          ignoreInternalFunctionFalseReturn="false"
          ignoreInternalFunctionNullReturn="false"

      https://github.com/mongodb/mongo-php-library/pull/1576#discussion_r1950708922 

            Assignee:
            Unassigned Unassigned
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None