is now a classed object, see change record: https://www.drupal.org/node/2310411
Using the right function calls to work on FormStateInterface object instead of direct object data access
Merge pull request #32 from angrycodr/change-form-state-variables-from-an-array-to-a-FormStateInterface-classed-object

$form_state is now a classed object