Fix symfony/yaml requirement

Updated to minimum of 2.2 but not 3 and higher.