Cs fixes

For PHP files those are unnecessary and even problematic to keep (there should never ever be something afterwards).
But for view files those are just pieces of the puzzle. Thus there can always be more content afterwards. Why removing something that will have to be added again with the next code change anyway? So here it makes sense to keep beginning+end intact.