Just curious who does this?

At 12 years old my Physical Therapist back then suggested I do a standing side strech against my curve. I continued to do this for years. I was recently told this is no longer recommended as when the curve has rotation it's not safe on the spine.