Skip to content
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

[php8] undeclared var is_test #456

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

demeritcowboy
Copy link
Contributor

No description provided.

@adixon
Copy link
Contributor

adixon commented Jun 4, 2024

@demeritcowboy
Copy link
Contributor Author

I saw that but I don't see where it's ever set in core, or where that function gets called.

@adixon
Copy link
Contributor

adixon commented Jun 4, 2024

Yeah, I think your patch here is correct, and you also discovered a core bug along the way ... but I won't tell if you don't.

@demeritcowboy
Copy link
Contributor Author

It was added at civicrm/civicrm-core@49c882a, but then the rest of that PR doesn't use it and instead uses getCancelUrl added in another part of that PR and which is an almost identical function. 🤷‍♂️
Omnipay has its own version of getReturnFailUrl but also doesn't seem to really use it. It assigns it to errorUrl but never uses that, and I don't see that in core either.

@adixon
Copy link
Contributor

adixon commented Jun 5, 2024

My best guess is that eileen was supporting an old way of identifying test submissions from legacy processors that used it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants