alter dependency for symfony