PIM-2696: Fix regression on phpspec