Chris Brown appeared in court Friday, where a judge ordered him to stay in anger-management rehab for another two months. Court documents filed by rehab officials and obtained by TMZ indicate that Brown has been diagnosed with bipolar disorder, severe insomnia and PTSD and is currently on medication. Doctors said that Brown’s anger issues stem from self-medication over his previously undiagnosed mental health issues. The good news? The rehab center gave Brown full marks for progress, noting that he has not tested positive for illegal drugs, wakes up at 5 a.m. every day to start work, and his attitude “has been beyond exemplary in regard to his community service responsibilities.” After the hearing, Brown tweeted, "Never really goes the way u plan. #LIFE."