BehatFixtureFactory 5.3.8 compat (wrong usage of is_a())