Trying to figure out if these are OK or not. This is a typical example of the average Joe not knowing a thing about the topic, but posting their 2 cents anyway. I am not looking for an opinion, it is a simple question of fact. You can sift through thousands of such opinions.
My personal guess is that they don't cause any permanent damage, but could potentially mess up the calibration. This is easy to undo, just move the phone in a few complete circles away from any magnets, and it will calibrate itself automagically.
It sounds like some docks use magnets to tell the phone to stay on. While this is the exact opposite of what I'd want, that signals to me that it's OK for magnets to be near the phone.