Open
Description
On 30+ places we have code like this:
if (!in_array($state, array('open', 'closed'))) {
$state = 'open';
}
If the user misspelled the $state
we should not help them. That may cause unpredicted actions. We should throw an exception or let the API call fail.
This is a BC break. I've marked it in milestone 3.0.