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

RATESWSX-162: add support for multiple tracking ids #16

Merged
merged 1 commit into from
Mar 10, 2021
Merged

RATESWSX-162: add support for multiple tracking ids #16

merged 1 commit into from
Mar 10, 2021

Conversation

rommelfreddy
Copy link
Contributor

Copy link
Contributor

@eiriarte-mendez eiriarte-mendez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rommelfreddy
there could be some problem using count on newer PHP versions.
it would be nice if you change the runner in .github/workflows/push.yml:
ubuntu-18.04 instead of ubuntu-latest to allow other checks to run.

public function setProvider($provider)
{
$ids = $this->getIds();
if (count($ids[0]) === null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

count on null will throw error on PHP 7.3+

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ids[0] is also bullsh*t. :)
fixed the whole line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eiriarte-mendez changed the ubuntu-version in separate PR:
#17
(but why? - please see my comment in the PR)

@eiriarte-mendez eiriarte-mendez merged commit 8ab5c84 into ratepay:master Mar 10, 2021
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.

3 participants