fixed namespace on first line (<?php)

only namespace on its own line would be found, but an accepted practice is to declare the namespace on the same line as the opening <?php (or <?) tag.
So I fixed it so that it will work as it previously did and also allow <?php namespace all on one line.