Make all PHP follow mediawiki's code conventions

Change-Id: I0c49956bb1ef628f77317b58a39a80d31922e3d0