Skip to content

Allow checking if a branch is already merged to master (or another branch) #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

shanecp
Copy link

@shanecp shanecp commented Nov 6, 2019

To check if a branch is merged to master, use

$isMerged = $branch->isMergedTo('master');

@shanecp
Copy link
Author

shanecp commented Nov 6, 2019

This is a solution for #111

The CI builds fail for PHP5.6, 7.0, but passes for 7.1, 7.2, 7.3.
Perhaps like the git params are missing for failing PHP versions?

@GrahamCampbell
Copy link
Member

Thanks for the PR. No, it looks like your code doesn't work on Symfony 3, so not related to the PHP setup in Travis.

@GrahamCampbell
Copy link
Member

Please see the re-triggered Travis output. :)

@GrahamCampbell
Copy link
Member

Closing due to inactivity.

lyrixx pushed a commit that referenced this pull request Nov 8, 2022
* added code from PR #151

* added user credentials which are needed for the next commands

* stylistic changes to satisfy style-ci

* moved user credentials to the top

* stylistic changes to satisfy style-ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants