No global scope: all global variables need to be declared first. Jeroen proposed to use $GLOBALS['wgNAME'].
This is oddly phrased. Global scope assumptions need to be removed. How one does this is really not of much consequence for composer usage, hence the second sentence serves little purpose. I outlined this in more detail in this blog post.