stable
Clone or download
Read-only
Implement request #39732 Psalm should warn about EasyDB::insertMany empty arrays No functional change. Psalm should pass. Why? EasyDB::insertMany() throws an exception when given an empty array. Most people don't know this, so there are cases where we did not properly check that the array is not empty. Such errors are added to the baseline, we can fix them gradually. New usages will be warned about it. Change-Id: I51f3702b082c545e2d2a86ee7c29513794892f6b
Modified Files
Name | ||||
---|---|---|---|---|
M | tests/psalm/stubs/ParagonIE/EasyDB/EasyDB.phpstub | +2 | −1 | Go to diff View file |
M | tests/psalm/tuleap-baseline.xml | +105 | −9 | Go to diff View file |