Convert tabs to spaces
Declare namespaces at the top
Added tests for view globals set by Laravels environment