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

PHP 7.4 compatibility / defensive coding #1772

Merged
merged 1 commit into from
Jul 25, 2019

Commits on Jul 21, 2019

  1. PHP 7.4 compatibility / defensive coding

    WPCS is running into two PHP 7.4 issues where we use array access on a non-array value.
    This PR fixes both.
    
    Refs:
    * https://wiki.php.net/rfc/deprecate_curly_braces_array_access
    
    Build showing the issues:
    * https://travis-ci.com/WordPress/WordPress-Coding-Standards/jobs/218025587
    jrfnl committed Jul 21, 2019
    Configuration menu
    Copy the full SHA
    5fe9561 View commit details
    Browse the repository at this point in the history