clouddueling/mysqldump-php — pull request #52 by caseyfw (2014-02-12 06:49:29+00:00)
Title: Changed constructor paramter settings to default to a blank array

When constructing a Mysqldump with minimalist parameters, you get an exception when array_replace_recursive attempts to compare an array and a null. This is easily fixed by making the default value for the $settings parameter a blank array instead of null.

For example:

$dump = new Mysqldump($database, $user, $password);

Throws an exception.