If I have drush_compass installed in my .drush directory I get the following warnings on every drush command execution. (not only on drush compass commands)

array_key_exists() expects parameter 2 to be array, null given engines.inc:259                                                        [warning]
array_key_exists() expects parameter 2 to be array, null given engines.inc:259                                                        [warning]
array_key_exists() expects parameter 2 to be array, null given engines.inc:259                                                        [warning]
array_key_exists() expects parameter 2 to be array, null given engines.inc:259 

Comments

jh3’s picture

hook_drush_engine_type_info seems to require a few properties when there's only one engine type defined. The attached patch adds option, default, and description to the compass_actions engine type.

jh3’s picture

Status: Active » Needs review
pobster’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me, thanks!

Pobster

pobster’s picture

Status: Reviewed & tested by the community » Closed (fixed)