diff --git a/SourceGithub/SourceGithub.php b/SourceGithub/SourceGithub.php index dbae514..696adc9 100644 --- a/SourceGithub/SourceGithub.php +++ b/SourceGithub/SourceGithub.php @@ -308,15 +308,15 @@ $p_json->message, $t_user_id ); foreach( $p_json->added as $t_added ) { - $t_changeset->files[] = new SourceFile( 0, '', $t_added->filename, 'ADD' ); + $t_changeset->files[] = new SourceFile( 0, '', $t_added->filename, 'add' ); } foreach( $p_json->removed as $t_removed ) { - $t_changeset->files[] = new SourceFile( 0, '', $t_removed->filename, 'RM' ); + $t_changeset->files[] = new SourceFile( 0, '', $t_removed->filename, 'rm' ); } foreach( $p_json->modified as $t_modified ) { - $t_changeset->files[] = new SourceFile( 0, '', $t_modified->filename, 'MOD' ); + $t_changeset->files[] = new SourceFile( 0, '', $t_modified->filename, 'mod' ); } $t_changeset->bugs = Source_Parse_Buglinks( $t_changeset->message ); diff --git a/SourceSFSVN/SourceSFSVN.php b/SourceSFSVN/SourceSFSVN.php index fbae1b5..5e6bb02 100644 --- a/SourceSFSVN/SourceSFSVN.php +++ b/SourceSFSVN/SourceSFSVN.php @@ -233,9 +233,9 @@ } else { if ( preg_match( '/^\s+([a-zA-Z])\s+([\S]+)/', $t_line, $t_matches ) ) { switch( $t_matches[1] ) { - case 'A': $t_action = 'ADD'; break; - case 'D': $t_action = 'RM'; break; - case 'M': $t_action = 'MOD'; break; + case 'A': $t_action = 'add'; break; + case 'D': $t_action = 'rm'; break; + case 'M': $t_action = 'mod'; break; default: $t_action = $t_matches[1]; } diff --git a/SourceWebSVN/SourceWebSVN.php b/SourceWebSVN/SourceWebSVN.php index 6af3f8f..36c095b 100644 --- a/SourceWebSVN/SourceWebSVN.php +++ b/SourceWebSVN/SourceWebSVN.php @@ -247,9 +247,9 @@ } else { if ( preg_match( '/^\s+([a-zA-Z])\s+([\S]+)/', $t_line, $t_matches ) ) { switch( $t_matches[1] ) { - case 'A': $t_action = 'ADD'; break; - case 'D': $t_action = 'RM'; break; - case 'M': $t_action = 'MOD'; break; + case 'A': $t_action = 'add'; break; + case 'D': $t_action = 'rm'; break; + case 'M': $t_action = 'mod'; break; default: $t_action = $t_matches[1]; }