So it seems every time I post code using namespaces the PHP tags remove the slashes. Example:

<?php

namespace Foo\Bar;
// Should read: namespace Foo\Bar;

class someChild extends someParent {
   use \Foo\Baz\someTrait;
   // Should read: use \Foo\Baz\someTrait;

  public function doSomething( \Foo\Baz\Bar\someClass $obj ) {}
  // Should read: \Foo\Baz\Bar\someClass $obj
}

Any chance of fixing this or any 'trick' to posting name spaces that you guys can actually see the code as it is in the file?

    Write a Reply...