Tuleap 16 est là ! Assistez à l'événement virtuel le 17 octobre à 10h30. Inscrivez-vous ici !

    •  
      request #39732 Psalm should warn about EasyDB::insertMany empty arrays
    Infos
    #39732
    Joris MASSON (jmasson)
    2024-09-27 14:19
    2024-09-27 10:34
    41345
    Details
    Psalm should warn about EasyDB::insertMany empty arrays

    EasyDB::insertMany() function is handy, but it throws an exception when given an empty array. Most people don't know this, and since we already have a Psalm stub for it, we should modify the stub so that Psalm will warn us that empty arrays aren't allowed.

    There are already about 25 errors for this, we should add them to our baseline and fix them gradually.

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2024-09-27
    Attachments
    Empty
    References
    Referencing request #39732

    Follow-ups