public function isMerging(): bool
    {
        foreach (['MERGE_MSG', 'MERGE_HEAD', 'MERGE_MODE'] as $fileName) {
            if (file_exists($this->dotGitDir . DIRECTORY_SEPARATOR . $fileName)) {
                return true;
            }
        }
        return false;
    }
public function isMerging(): bool
    {
        foreach (['MERGE_MSG', 'MERGE_HEAD', 'MERGE_MODE'] as $fileName) {
            if (file_exists($this->dotGitDir . DIRECTORY_SEPARATOR . $fileName)) {
                return true;
            }
        }
        return false;
    }
public function isMerging ( ) : bool { foreach ( [ 'MERGE_MSG' , 'MERGE_HEAD' , 'MERGE_MODE' ] as $ fileName ) { if ( file_exists ( $ this -> dotGitDir . DIRECTORY_SEPARATOR . $ fileName ) ) { return true ; } } return false ; }
Is there a merge in progress.

@return bool
Is there a merge in progress .