changed some PHPUnit assertions to more specific ones
Merge branch '2.3' into 2.4

* 2.3:
  changed some PHPUnit assertions to more specific ones
  fixed Kernel::stripComments() normalizing new-lines
  added a BC comment
  Update FileLoader to fix issue #10339