Update php version. Use di to get logger and annotations adapater.