Former England bowler Jimmy Anderson has spent 25 years at Lancashire but won't be offered a new contract, a decision which is expected to bring his professional career to an end