The 31-year-old was officially replaced in England 's squad by Yorkshire leg-spinner Adil Rashid , who is yet to play a senior international game , due to Flintoff 's failure to regain his fitness following a knee operation .