PHP Formatting: Blank Lines

Is there any way to adjust the auto-formatting on blank lines before a namespace and before the closing brace of a class?

For instance, I'd like to be able to format my classes like:

<?php namespace Some\Name\Space;

class SomeClass {

     /**
      * @var 
      */
     public $var

     /**
      * Method to do some function
      *
      * @param SomeType $someVariable
      *
      * @return bool
      */
     public function someFunction(SomeType $someVariable)
     {
          return true;
     }
█████████████████████████████████████████████████████████████
}


Notice 0 blank lines before the namespace and the █ filled blank line before the class' closing brace...

Thanks

2 comments
Comment actions Permalink

FIle | Settings (Prefrences for Mac OS) | Code style | PHP | Blank lines.

0
Comment actions Permalink

Thanks, but neither of what I asked for is available in those settings.

0

Please sign in to leave a comment.