Bill Mitchell

Results 24 issues of Bill Mitchell

* Blank lines at start/end of function/method * Blank lines before/after function/method * Blank lines after class declaration. * Blank lines around namespaces/use statement.

Just a warning to suggest to the developer to see if an object could be returned instead.

Could wrap the array of tokens inside a collection and each token could be a value object.

enhancement

Maybe could make this more generic. Could have a config file where you list functions and how many parameters you expect them to be called with.

New Sniff

Sometimes you don't want to have anonymous functions. Example is you may not want them in your routes.php file for Laravel. This sniff will probably be one you only run...

New Sniff

Not sure if this is a good idea or not but I guess users can always disable if they don't want to use it. If the file ends in `Controller.php`...

New Sniff

Think it would be good to have these classes: * Wrapper around the Token array data to make it more OO to obtain information about a token. * Perhaps a...

enhancement
help wanted