Oops, changelist should’ve said cut mention of the “trash compactor”, just fixed that in OP. I left the initial line about the garbage chute just so we know why Phasma is no longer in the film. There’s actually a comic that shows how she escapes in time.
No one should have to go outside of a film and rely on stuff such as comics, sequels, etc. in order for it to make sense.