The Eagles waited until after June 1 to make the deal (which is still pending a physical) for salary cap purposes. More details from Over The Cap’s Jason Fitzgerald:
The trade [...] will result in the Eagles taking on $4.94 million in dead money this year. They will defer $16.6 million to next season. While there is a lot of chatter about the Eagles creating over $15 million in space this year the reality is Huff’s original cap number was just $7.4 million so really the team is only $2.4 million better off than originally expected.