Australia batsman David Warner has been found guilty of breaching Cricket Australia's code of conduct.