phplinter\Lint\BaseLint::security PHP Method

security() protected method

----------------------------------------------------------------------+ Search for security infractions
protected security ( $pos )
    protected function security($pos)
    {
        if ($this->config->report_on('S')) {
            $token = $this->node->tokens[$pos];
            $this->sec_strings($pos);
            if (in_array($token[1], array_keys($this->sec_5))) {
                $this->sec_callbacks($pos);
            } elseif ($token[1] == 'preg_replace') {
                // check for '//e' flag
            }
        }
    }