declare global variable in the right context.
Merge branch '7.x-pimple' into 7.x-autoload