Using the ideal gas law expain why there are warning on aerosol cans instructing you not to dispose of them by inciceration?

The ideal gas law is pV=nRT

n (number of moles of gas) is negligible because there will be hardly any spray left in the can, and pressure (p) will be constant, but temperature (T) will increase to a very high value, and when multiplied by R (8.314), V (volume) will be very very large i.e. the can will explode.