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

feat(DowngradePhp73JsonConstRector): throw behavior #133

Merged
merged 4 commits into from
Jun 21, 2023

Commits on Jun 18, 2023

  1. chore(DowngradePhp73JsonConstRector): add code sample

    * add a code sample for `json_decode`
    sylver committed Jun 18, 2023
    Configuration menu
    Copy the full SHA
    3024cff View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. feat(DowngradePhp73JsonConstRector): throw behavior

    * Try to properly downgrade the throw behavior removed from `json_encode` and `json_decode`
      with an alternative code snippet added after the function node.
    * This is a partial solution that only handles when the flags are directly set in the function call.
    sylver committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    63abfb6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    82b1833 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    603d0e6 View commit details
    Browse the repository at this point in the history