PHP Class DebugKit\Shell\WhitespaceShell

Based on jperras' shell found at http://bin.cakephp.org/view/626544881
Inheritance: extends Cake\Console\Shell
Datei anzeigen Open project: cakephp/debug_kit

Public Methods

Method Description
getOptionParser ( ) : Cake\Console\ConsoleOptionParser get the option parser
main ( ) : void Will check files for whitespace and notify you of any files containing leading or trailing whitespace.
trim ( ) : void Much like main() except files are modified. Be sure to have backups or use version control.

Method Details

getOptionParser() public method

get the option parser
public getOptionParser ( ) : Cake\Console\ConsoleOptionParser
return Cake\Console\ConsoleOptionParser

main() public method

Will check files for whitespace and notify you of any files containing leading or trailing whitespace.
public main ( ) : void
return void

trim() public method

Much like main() except files are modified. Be sure to have backups or use version control.
public trim ( ) : void
return void