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

More ini directives, functions, and forbidden parameter names. #2

Merged
merged 5 commits into from Mar 2, 2012
Merged

More ini directives, functions, and forbidden parameter names. #2

merged 5 commits into from Mar 2, 2012

Commits on Mar 2, 2012

  1. Expand DeprecatedIniDirectiveSniff to take a list of removed ini

    directives as well and publish an error when a removed directive is
    encountered.
    Laura Beth Lincoln committed Mar 2, 2012
    Copy the full SHA
    9b86658 View commit details
    Browse the repository at this point in the history
  2. Split DeprecatedFunctionSniff into deprecated and removed so that we can

    have warnings for deprecated funcations and errors for removed function.
    It is possible for someone to override $error in their ruleset, but that
    is them.
    Laura Beth Lincoln committed Mar 2, 2012
    Copy the full SHA
    476a7f1 View commit details
    Browse the repository at this point in the history
  3. Fix documentation to reflect RemovedFunctionSniff name.

    Laura Beth Lincoln committed Mar 2, 2012
    Copy the full SHA
    4e83e2b View commit details
    Browse the repository at this point in the history
  4. Move RemovedFunctionsSniff to properly named file.

    Laura Beth Lincoln committed Mar 2, 2012
    Copy the full SHA
    3d953c6 View commit details
    Browse the repository at this point in the history
  5. Add sniff for forbidden parameter names. In 5.4: 'Parameter names that

    shadow super globals now cause a fatal error.  This prohibits code like
    function foo($_GET, $POST) {}.'
    Laura Beth Lincoln committed Mar 2, 2012
    Copy the full SHA
    37ed819 View commit details
    Browse the repository at this point in the history