protected function isSensitiveParameter(
        ReflectionFunctionAbstract $method,
        $name
    ) {
        $sensitive = false;

        $exp =
            '/^.*@sensitive\s+\$([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*).*$/';

        $documentation = $method->getDocComment();
        $documentation = str_replace("\r", "\n", $documentation);
        $documentation_exp = explode("\n", $documentation);
        foreach ($documentation_exp as $documentation_line) {
            $matches = array();
            if (
                preg_match($exp, $documentation_line, $matches) === 1 &&
                $matches[1] == $name
            ) {
                $sensitive = true;
                break;
            }
        }

        return $sensitive;
    }