Fix AdminAppKernel

We need a hook to lint every php file on commit so this kind of errors are caught before…