The ones you changed are wrong, from the ReSt reference:

 >  List item bodies must be left-aligned and indented relative to the bullet; the text immediately after the bullet determines the indentation.

The problem are the XML and PHP formats, those are indented with 8 spaces intead of the expected 7 spaces. If you change them here and in the block on line 45, it'll work.