Investigate native PHP function return null or false

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: 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
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: