#NEWLINE# def execute( self , path ) : #NEWLINE# #INDENT# if ( pref . scheck_run != True ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# args = [ ] #NEWLINE# if ( ( pref . phpcs_php_prefix_path != '' ) and ( self . __class__ . __name__ in pref . phpcs_commands_to_php_prefix ) ) : #NEWLINE# #INDENT# args = [ pref . phpcs_php_prefix_path ] #NEWLINE# #UNINDENT# if ( pref . scheck_executable_path != '' ) : #NEWLINE# #INDENT# application_path = pref . scheck_executable_path #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# application_path = 'scheck' #NEWLINE# #UNINDENT# if ( len ( args ) > 0 ) : #NEWLINE# #INDENT# args . append ( application_path ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# args = [ application_path ] #NEWLINE# #UNINDENT# for ( key , value ) in pref . scheck_additional_args . items ( ) : #NEWLINE# #INDENT# args . append ( key ) #NEWLINE# if ( value != '' ) : #NEWLINE# #INDENT# args . append ( value ) #NEWLINE# #UNINDENT# #UNINDENT# args . append ( os . path . normpath ( path ) ) #NEWLINE# self . parse_report ( args )