sebastianbergmann / dbunit

DbUnit port for PHP/PHPUnit.
https://phpunit.de/
Other
225 stars 186 forks source link

Show better error when number of columns differ for csv dataset #208

Closed howkey666 closed 6 years ago

howkey666 commented 6 years ago

I think that it would be great if in class PHPUnit_Extensions_Database_DataSet_CsvDataSet will be check that parameters passing to function array_combine have equal number of elements. Sometimes happen that they differ and developer do not know in which file and line is the problem.