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

Objects with __toString() can be asserted. #760

Merged
merged 3 commits into from
May 7, 2019
Merged

Commits on May 3, 2019

  1. Objects with __toString() can be asserted.

    In a recent change, some regex matches changed to stripos() calls.
    The problem is that stripos() converts the needle parameter to int
    if it is not a string. While objects having __toString() can be
    converted into string by most of the internal PHP functions, they
    cannot be converted to int, resulting in an error.
    tamasd committed May 3, 2019
    Configuration menu
    Copy the full SHA
    b1bf5ca View commit details
    Browse the repository at this point in the history
  2. Fixes code review issues.

    tamasd committed May 3, 2019
    Configuration menu
    Copy the full SHA
    3cd36f0 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2019

  1. Configuration menu
    Copy the full SHA
    4cc51d5 View commit details
    Browse the repository at this point in the history