Skip to content

Conversation

@mtopolski
Copy link

If ParseClient::_request() gets a bad response and self::$enableCurlExceptions is not enabled when ParseQuery::find() runs it creates PHP warnings because it's trying to foreach a bool. This should help prevent some non useful noise.

@montymxb montymxb self-assigned this Feb 23, 2018
Copy link
Contributor

@montymxb montymxb left a comment

Choose a reason for hiding this comment

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

@mtopolski the CI failure looks unrelated, I'll handle that seperately of this PR.

Regarding this addition, the single change looks good 👍 . My one nit is if you can elaborate on a repeatable case that causes this. Assuming it's straightforward to recreate, I would want to have a single test added to enforce this behavior on bad requests w/ curl exceptions disabled. You can add the necessary test case here.

dplewis added a commit to dplewis/parse-php-sdk that referenced this pull request Dec 4, 2018
dplewis added a commit that referenced this pull request Dec 4, 2018
@dplewis
Copy link
Member

dplewis commented Dec 4, 2018

Superced by #425

Thanks @mtopolski for starting on the PR🙏

@parse-github-assistant
Copy link

The label type:feature cannot be used here.

@mtopolski mtopolski deleted the mt-less-noise branch December 7, 2021 18:24
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.

4 participants