Skip to content

Disallow usage of superglobals #91

@aik099

Description

@aik099

Report any occurence of super global (http://php.net/manual/en/language.variables.superglobals.php). In ideal world there should not be any, because the abstraction layer from one of Composer libraries (e.g. symfony/http-foundation) should be used.

Superglobals:

  • $GLOBALS (maybe not this one)
  • $_SERVER
  • $_GET
  • $_POST
  • $_FILES
  • $_COOKIE
  • $_SESSION (maybe not this one)
  • $_REQUEST
  • $_ENV

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions