The law is not always looking out for your safety. What you're doing is hands down the safest manner to ride in that situation, avoiding weaving in and out of a bike lane to pass and riding clear of the door zone. Are Philly cops heavily into enforcing bike laws? If they're anything like Anchorage cops, the chances of you getting a ticket are next to nil. And regardless, which would you rather get: a ticket, or a door prize?