updated phpspec version to allow use of factory methods as constructors