remove inline condition
add unit test for doctrine_clear_use_flush_option