{"action":"created","comment":{"url":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/comments/170845315","pull_request_review_id":99592177,"id":170845315,"diff_hunk":"@@ -0,0 +1,510 @@\n+<?php\n+/**\n+ * Created by IntelliJ IDEA.\n+ * User: eduard.stroia\n+ * Date: 26.02.2018\n+ * Time: 19:02\n+ */\n+\n+require_once __DIR__.'/OrderMangement.php';\n+\n+class ConfigurationSettings\n+{\n+    private $module;\n+    static public $config;\n+    const CLASS_NAME=\"className\";\n+    const METHOD_NAME=\"method\";\n+    const LINK_BUTTON='linkbutton';\n+    const INPUT_ON_OFF='onoff';\n+    const REQUIRED='required';\n+    const SANITIZE='sanitize';\n+    const SUBMIT_BUTTON='btnSubmit';\n+    const VALUE_TEXT='value';\n+    const LABEL_TEXT='label';\n+    const PARAM_LABEL='param_name';\n+    const FIELDS_LABEL='fields';\n+    const MULTIPLE_LABEL='multiple';\n+    const CLASS_LABEL='class';\n+    const OPTION_LABEL='options';\n+\n+    const GROUP_LABEL='group';\n+\n+    const VALIDATE_MAX_CHAR = 'maxchar';\n+\n+\n+\n+    public function __construct($module)\n+    {\n+        $this->module=$module;\n+        ini_set(\n+            'include_path',\n+            ini_get('include_path')\n+            . PATH_SEPARATOR . realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR.'..' .DIRECTORY_SEPARATOR. 'vendor'\n+            . PATH_SEPARATOR . realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR.'..' .DIRECTORY_SEPARATOR. 'models'\n+        );\n+        require_once 'wirecardee_autoload.php';\n+    }\n+\n+    public function renderForm()\n+    {\n+        $radio_type = 'switch';\n+\n+        $radio_options = array(\n+            array(\n+                'id' => 'active_on',\n+                self::VALUE_TEXT => 1,\n+                self::LABEL_TEXT => $this->module->l('Enabled')\n+            ),\n+            array(\n+                'id' => 'active_off',\n+                self::VALUE_TEXT => 0,\n+                self::LABEL_TEXT => $this->module->l('Disabled')\n+            )\n+        );\n+\n+        $input_fields = array();\n+        $tabs = array();\n+\n+        foreach (self::$config as $groupKey => $group) {\n+            $tabs[$groupKey] = $this->module->l($group['tab']);\n+            foreach ($group[self::FIELDS_LABEL] as $f) {\n+                $configGroup = isset($f[self::GROUP_LABEL]) ? $f[self::GROUP_LABEL] : $groupKey;\n+                if (isset($f[self::CLASS_LABEL])) {\n+                    $configGroup = 'pt';\n+                }\n+\n+                $elem = array(\n+                    'name' => self::buildParamName($configGroup, $f['name']),\n+                    self::LABEL_TEXT => isset($f[self::LABEL_TEXT])?$this->module->l($f[self::LABEL_TEXT]):\"\",\n+                    'tab' => $groupKey,\n+                    'type' => $f['type'],\n+                    self::REQUIRED => isset($f[self::REQUIRED ]) && $f[self::REQUIRED ]\n+                );\n+\n+                if (isset($f['cssclass'])) {\n+                    $elem[self::CLASS_LABEL] = $f['cssclass'];\n+                }\n+\n+                if (isset($f['doc'])) {\n+                    if (is_array($f['doc'])) {\n+                        $elem['desc'] = '';\n+                        foreach ($f['doc'] as $d) {\n+                            if (Tools::strlen($elem['desc'])) {\n+                                $elem['desc'] .= '<br/>';\n+                            }\n+\n+                            $elem['desc'] .= $this->module->l($d);\n+                        }\n+                    } else {\n+                        $elem['desc'] = $this->module->l($f['doc']);\n+                    }\n+                }\n+\n+                if (isset($f['docref'])) {\n+                    $elem['desc'] = isset($elem['desc']) ? $elem['desc'] . ' ' : '';\n+                    $elem['desc'] .= sprintf(\n+                        '<a target=\"_blank\" href=\"%s\">%s <i class=\"icon-external-link\"></i></a>',\n+                        $f['docref'],\n+                        $this->module->l('More information')\n+                    );\n+                }\n+\n+                switch ($f['type']) {\n+                    case self::LINK_BUTTON:\n+                        $elem['buttonText'] = $f['buttonText'];\n+                        $elem['id'] = $f['id'];\n+                        $elem[self::METHOD_NAME ] = $f[self::METHOD_NAME ];\n+                        $elem['send'] = $f['send'];\n+                        break;\n+                    case self::INPUT_ON_OFF:\n+                        $elem['type'] = $radio_type;\n+                        $elem[self::CLASS_LABEL] = 't';\n+                        $elem['is_bool'] = true;\n+                        $elem['values'] = $radio_options;\n+                        break;\n+                    case 'text':\n+                        if (!isset($elem[self::CLASS_LABEL])) {\n+                            $elem[self::CLASS_LABEL] = 'fixed-width-xl';\n+                        }\n+\n+                        if (isset($f[self::VALIDATE_MAX_CHAR])) {\n+                            $elem['maxlength'] = $elem[self::VALIDATE_MAX_CHAR] = $f[self::VALIDATE_MAX_CHAR];\n+                        }\n+                        break;\n+                    case 'select':\n+                        if (isset($f[self::MULTIPLE_LABEL])) {\n+                            $elem[self::MULTIPLE_LABEL] = $f[self::MULTIPLE_LABEL];\n+                        }\n+\n+                        if (isset($f['size'])) {\n+                            $elem['size'] = $f['size'];\n+                        }\n+\n+                        if (isset($f[self::OPTION_LABEL])) {\n+                            $optfunc = $f[self::OPTION_LABEL];\n+                            $options = array();\n+                            if (is_array($optfunc)) {\n+                                $options = $optfunc;\n+                            }\n+\n+                            if (method_exists($this->module, $optfunc)) {\n+                                $options = $this->module->$optfunc();\n+                            }\n+\n+                            $elem[self::OPTION_LABEL] = array(\n+                                'query' => $options,\n+                                'id' => 'key',\n+                                'name' => self::VALUE_TEXT\n+                            );\n+                        }\n+                        break;\n+                    default:\n+                        break;\n+                }\n+\n+                $input_fields[] = $elem;\n+            }\n+        }\n+\n+        $fields_form_settings = array(\n+            'form' => array(\n+                'tabs' => $tabs,\n+                'legend' => array(\n+                    'title' => $this->module->l('Settings'),\n+                    'icon' => 'icon-cogs'\n+                ),\n+                'input' => $input_fields,\n+                'submit' => array(\n+                    'title' => $this->module->l('Save')\n+                )\n+            )\n+        );\n+        return $this->module->HelperRender($fields_form_settings, $this->getConfigFieldsValues());\n+    }\n+\n+    /**\n+     * build prestashop internal parameter name\n+     *\n+     * @since 0.0.2\n+     *\n+     * @param $group\n+     * @param $name\n+     *\n+     * @return string\n+     */\n+    static function buildParamName($group, $name)\n+    {\n+        return sprintf(\n+            'WDEE_%s_%s',\n+            Tools::strtoupper($group),\n+            Tools::strtoupper($name)\n+        );\n+    }\n+\n+    /**\n+     * return saved config parameter values\n+     *\n+     * @since 0.0.2\n+     *\n+     * @return array\n+     */\n+    public function getConfigFieldsValues()\n+    {\n+        $values = array();\n+        foreach ($this->getAllConfigurationParameters() as $parameter) {\n+            $val = Configuration::get($parameter[self::PARAM_LABEL]);\n+            if (isset($parameter[self::MULTIPLE_LABEL]) && $parameter[self::MULTIPLE_LABEL]) {\n+                if (!is_array($val)) {\n+                    $val = Tools::strlen($val) ? Tools::jsonDecode($val) : array();\n+                }\n+\n+                $x = array();\n+                foreach ($val as $v) {\n+                    $x[$v] = $v;\n+                }\n+                $pname = $parameter[self::PARAM_LABEL] . '[]';\n+                $values[$pname] = $x;\n+            } else {\n+                $values[$parameter[self::PARAM_LABEL]] = $val;\n+            }\n+        }\n+\n+        return $values;\n+    }\n+\n+    /**\n+     * return alls configuration parameters\n+     *\n+     * @since 0.0.2\n+     *\n+     * @return array\n+     */\n+    public function getAllConfigurationParameters()\n+    {\n+        $params = array();\n+        foreach (self::$config as $groupKey => $group) {\n+            foreach ($group[self::FIELDS_LABEL] as $f) {\n+                $configGroup = isset($f[self::GROUP_LABEL]) ? $f[self::GROUP_LABEL] : $groupKey;\n+\n+                if (isset($f[self::CLASS_LABEL])) {\n+                    $configGroup = 'pt';\n+                }\n+\n+                $f[self::PARAM_LABEL] = $this->buildParamName(\n+                    $configGroup,\n+                    $f['name']\n+                );\n+                $params[] = $f;\n+            }\n+        }\n+\n+        return $params;\n+    }\n+\n+    /**\n+     * validate post parameters\n+     *\n+     * @since 0.0.2\n+     *\n+     */\n+\n+    public function postValidation()\n+    {\n+        if (Tools::isSubmit(SELF::SUBMIT_BUTTON)) {\n+            foreach ($this->getAllConfigurationParameters() as $parameter) {\n+                if(!$this->validateValue($parameter)){\n+                    continue;\n+                }\n+            }\n+        }\n+    }\n+    function validateValue($parameter)\n+    {\n+        $val = Tools::getValue($parameter[self::PARAM_LABEL]);\n+\n+        if (isset($parameter[self::SANITIZE])) {\n+            if ($parameter[self::SANITIZE] == \"trim\") {\n+                $val = trim($val);\n+            }\n+        }\n+\n+        if (isset($parameter[self::REQUIRED ]) && $parameter[self::REQUIRED ] && !Tools::strlen($val)) {\n+            $this->postErrors[] = $parameter[self::LABEL_TEXT] . ' ' . $this->module->l('is required.');\n+        }\n+\n+        if (!isset($parameter['validator'])) {\n+            return false;\n+        }\n+\n+        if($parameter['validator']=='numeric'){\n+            if (Tools::strlen($val) && !is_numeric($val)) {","path":"wirecardpaymentgateway/libraries/ConfigurationSettings.php","position":300,"original_position":300,"commit_id":"702f4d62e7d6861d75063b3991fb48b169f32eed","original_commit_id":"702f4d62e7d6861d75063b3991fb48b169f32eed","user":{"login":"wirecard-bot","id":19989513,"avatar_url":"https://avatars1.githubusercontent.com/u/19989513?v=4","gravatar_id":"","url":"https://api.github.com/users/wirecard-bot","html_url":"https://github.com/wirecard-bot","followers_url":"https://api.github.com/users/wirecard-bot/followers","following_url":"https://api.github.com/users/wirecard-bot/following{/other_user}","gists_url":"https://api.github.com/users/wirecard-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/wirecard-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wirecard-bot/subscriptions","organizations_url":"https://api.github.com/users/wirecard-bot/orgs","repos_url":"https://api.github.com/users/wirecard-bot/repos","events_url":"https://api.github.com/users/wirecard-bot/events{/privacy}","received_events_url":"https://api.github.com/users/wirecard-bot/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://sonarsource.github.io/sonar-github/severity-major.png 'Severity: MAJOR') Merge this if statement with the enclosing one. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](https://sonarcloud.io/coding_rules#rule_key=php%3AS1066)\n","created_at":"2018-02-27T08:27:06Z","updated_at":"2018-02-27T08:27:06Z","html_url":"https://github.com/wirecard/prestashop-ee/pull/32#discussion_r170845315","pull_request_url":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/32","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/comments/170845315"},"html":{"href":"https://github.com/wirecard/prestashop-ee/pull/32#discussion_r170845315"},"pull_request":{"href":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/32","id":170413409,"html_url":"https://github.com/wirecard/prestashop-ee/pull/32","diff_url":"https://github.com/wirecard/prestashop-ee/pull/32.diff","patch_url":"https://github.com/wirecard/prestashop-ee/pull/32.patch","issue_url":"https://api.github.com/repos/wirecard/prestashop-ee/issues/32","number":32,"state":"open","locked":false,"title":"#24 data handeling","user":{"login":"stroiaeduard","id":35485792,"avatar_url":"https://avatars2.githubusercontent.com/u/35485792?v=4","gravatar_id":"","url":"https://api.github.com/users/stroiaeduard","html_url":"https://github.com/stroiaeduard","followers_url":"https://api.github.com/users/stroiaeduard/followers","following_url":"https://api.github.com/users/stroiaeduard/following{/other_user}","gists_url":"https://api.github.com/users/stroiaeduard/gists{/gist_id}","starred_url":"https://api.github.com/users/stroiaeduard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stroiaeduard/subscriptions","organizations_url":"https://api.github.com/users/stroiaeduard/orgs","repos_url":"https://api.github.com/users/stroiaeduard/repos","events_url":"https://api.github.com/users/stroiaeduard/events{/privacy}","received_events_url":"https://api.github.com/users/stroiaeduard/received_events","type":"User","site_admin":false},"body":"handling:\r\n- success\r\n- cancel\r\n- notify\r\n- email sent\r\n- order status change\r\n- results logged","created_at":"2018-02-21T09:21:08Z","updated_at":"2018-02-27T08:27:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c4e0444541ce67cb94f1729bd5b2174c32b6a93","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/32/commits","review_comments_url":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/32/comments","review_comment_url":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wirecard/prestashop-ee/issues/32/comments","statuses_url":"https://api.github.com/repos/wirecard/prestashop-ee/statuses/702f4d62e7d6861d75063b3991fb48b169f32eed","head":{"label":"wirecard:result_handeling","ref":"result_handeling","sha":"702f4d62e7d6861d75063b3991fb48b169f32eed","user":{"login":"wirecard","id":15652686,"avatar_url":"https://avatars3.githubusercontent.com/u/15652686?v=4","gravatar_id":"","url":"https://api.github.com/users/wirecard","html_url":"https://github.com/wirecard","followers_url":"https://api.github.com/users/wirecard/followers","following_url":"https://api.github.com/users/wirecard/following{/other_user}","gists_url":"https://api.github.com/users/wirecard/gists{/gist_id}","starred_url":"https://api.github.com/users/wirecard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wirecard/subscriptions","organizations_url":"https://api.github.com/users/wirecard/orgs","repos_url":"https://api.github.com/users/wirecard/repos","events_url":"https://api.github.com/users/wirecard/events{/privacy}","received_events_url":"https://api.github.com/users/wirecard/received_events","type":"Organization","site_admin":false},"repo":{"id":117562792,"name":"prestashop-ee","full_name":"wirecard/prestashop-ee","owner":{"login":"wirecard","id":15652686,"avatar_url":"https://avatars3.githubusercontent.com/u/15652686?v=4","gravatar_id":"","url":"https://api.github.com/users/wirecard","html_url":"https://github.com/wirecard","followers_url":"https://api.github.com/users/wirecard/followers","following_url":"https://api.github.com/users/wirecard/following{/other_user}","gists_url":"https://api.github.com/users/wirecard/gists{/gist_id}","starred_url":"https://api.github.com/users/wirecard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wirecard/subscriptions","organizations_url":"https://api.github.com/users/wirecard/orgs","repos_url":"https://api.github.com/users/wirecard/repos","events_url":"https://api.github.com/users/wirecard/events{/privacy}","received_events_url":"https://api.github.com/users/wirecard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wirecard/prestashop-ee","description":null,"fork":false,"url":"https://api.github.com/repos/wirecard/prestashop-ee","forks_url":"https://api.github.com/repos/wirecard/prestashop-ee/forks","keys_url":"https://api.github.com/repos/wirecard/prestashop-ee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wirecard/prestashop-ee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wirecard/prestashop-ee/teams","hooks_url":"https://api.github.com/repos/wirecard/prestashop-ee/hooks","issue_events_url":"https://api.github.com/repos/wirecard/prestashop-ee/issues/events{/number}","events_url":"https://api.github.com/repos/wirecard/prestashop-ee/events","assignees_url":"https://api.github.com/repos/wirecard/prestashop-ee/assignees{/user}","branches_url":"https://api.github.com/repos/wirecard/prestashop-ee/branches{/branch}","tags_url":"https://api.github.com/repos/wirecard/prestashop-ee/tags","blobs_url":"https://api.github.com/repos/wirecard/prestashop-ee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wirecard/prestashop-ee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wirecard/prestashop-ee/git/refs{/sha}","trees_url":"https://api.github.com/repos/wirecard/prestashop-ee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wirecard/prestashop-ee/statuses/{sha}","languages_url":"https://api.github.com/repos/wirecard/prestashop-ee/languages","stargazers_url":"https://api.github.com/repos/wirecard/prestashop-ee/stargazers","contributors_url":"https://api.github.com/repos/wirecard/prestashop-ee/contributors","subscribers_url":"https://api.github.com/repos/wirecard/prestashop-ee/subscribers","subscription_url":"https://api.github.com/repos/wirecard/prestashop-ee/subscription","commits_url":"https://api.github.com/repos/wirecard/prestashop-ee/commits{/sha}","git_commits_url":"https://api.github.com/repos/wirecard/prestashop-ee/git/commits{/sha}","comments_url":"https://api.github.com/repos/wirecard/prestashop-ee/comments{/number}","issue_comment_url":"https://api.github.com/repos/wirecard/prestashop-ee/issues/comments{/number}","contents_url":"https://api.github.com/repos/wirecard/prestashop-ee/contents/{+path}","compare_url":"https://api.github.com/repos/wirecard/prestashop-ee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wirecard/prestashop-ee/merges","archive_url":"https://api.github.com/repos/wirecard/prestashop-ee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wirecard/prestashop-ee/downloads","issues_url":"https://api.github.com/repos/wirecard/prestashop-ee/issues{/number}","pulls_url":"https://api.github.com/repos/wirecard/prestashop-ee/pulls{/number}","milestones_url":"https://api.github.com/repos/wirecard/prestashop-ee/milestones{/number}","notifications_url":"https://api.github.com/repos/wirecard/prestashop-ee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wirecard/prestashop-ee/labels{/name}","releases_url":"https://api.github.com/repos/wirecard/prestashop-ee/releases{/id}","deployments_url":"https://api.github.com/repos/wirecard/prestashop-ee/deployments","created_at":"2018-01-15T15:32:09Z","updated_at":"2018-02-01T09:10:50Z","pushed_at":"2018-02-27T08:24:47Z","git_url":"git://github.com/wirecard/prestashop-ee.git","ssh_url":"git@github.com:wirecard/prestashop-ee.git","clone_url":"https://github.com/wirecard/prestashop-ee.git","svn_url":"https://github.com/wirecard/prestashop-ee","homepage":null,"size":2256,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"wirecard:master","ref":"master","sha":"6c575742e218b5c1dcb7786c25f51e7990c95fb9","user":{"login":"wirecard","id":15652686,"avatar_url":"https://avatars3.githubusercontent.com/u/15652686?v=4","gravatar_id":"","url":"https://api.github.com/users/wirecard","html_url":"https://github.com/wirecard","followers_url":"https://api.github.com/users/wirecard/followers","following_url":"https://api.github.com/users/wirecard/following{/other_user}","gists_url":"https://api.github.com/users/wirecard/gists{/gist_id}","starred_url":"https://api.github.com/users/wirecard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wirecard/subscriptions","organizations_url":"https://api.github.com/users/wirecard/orgs","repos_url":"https://api.github.com/users/wirecard/repos","events_url":"https://api.github.com/users/wirecard/events{/privacy}","received_events_url":"https://api.github.com/users/wirecard/received_events","type":"Organization","site_admin":false},"repo":{"id":117562792,"name":"prestashop-ee","full_name":"wirecard/prestashop-ee","owner":{"login":"wirecard","id":15652686,"avatar_url":"https://avatars3.githubusercontent.com/u/15652686?v=4","gravatar_id":"","url":"https://api.github.com/users/wirecard","html_url":"https://github.com/wirecard","followers_url":"https://api.github.com/users/wirecard/followers","following_url":"https://api.github.com/users/wirecard/following{/other_user}","gists_url":"https://api.github.com/users/wirecard/gists{/gist_id}","starred_url":"https://api.github.com/users/wirecard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wirecard/subscriptions","organizations_url":"https://api.github.com/users/wirecard/orgs","repos_url":"https://api.github.com/users/wirecard/repos","events_url":"https://api.github.com/users/wirecard/events{/privacy}","received_events_url":"https://api.github.com/users/wirecard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wirecard/prestashop-ee","description":null,"fork":false,"url":"https://api.github.com/repos/wirecard/prestashop-ee","forks_url":"https://api.github.com/repos/wirecard/prestashop-ee/forks","keys_url":"https://api.github.com/repos/wirecard/prestashop-ee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wirecard/prestashop-ee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wirecard/prestashop-ee/teams","hooks_url":"https://api.github.com/repos/wirecard/prestashop-ee/hooks","issue_events_url":"https://api.github.com/repos/wirecard/prestashop-ee/issues/events{/number}","events_url":"https://api.github.com/repos/wirecard/prestashop-ee/events","assignees_url":"https://api.github.com/repos/wirecard/prestashop-ee/assignees{/user}","branches_url":"https://api.github.com/repos/wirecard/prestashop-ee/branches{/branch}","tags_url":"https://api.github.com/repos/wirecard/prestashop-ee/tags","blobs_url":"https://api.github.com/repos/wirecard/prestashop-ee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wirecard/prestashop-ee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wirecard/prestashop-ee/git/refs{/sha}","trees_url":"https://api.github.com/repos/wirecard/prestashop-ee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wirecard/prestashop-ee/statuses/{sha}","languages_url":"https://api.github.com/repos/wirecard/prestashop-ee/languages","stargazers_url":"https://api.github.com/repos/wirecard/prestashop-ee/stargazers","contributors_url":"https://api.github.com/repos/wirecard/prestashop-ee/contributors","subscribers_url":"https://api.github.com/repos/wirecard/prestashop-ee/subscribers","subscription_url":"https://api.github.com/repos/wirecard/prestashop-ee/subscription","commits_url":"https://api.github.com/repos/wirecard/prestashop-ee/commits{/sha}","git_commits_url":"https://api.github.com/repos/wirecard/prestashop-ee/git/commits{/sha}","comments_url":"https://api.github.com/repos/wirecard/prestashop-ee/comments{/number}","issue_comment_url":"https://api.github.com/repos/wirecard/prestashop-ee/issues/comments{/number}","contents_url":"https://api.github.com/repos/wirecard/prestashop-ee/contents/{+path}","compare_url":"https://api.github.com/repos/wirecard/prestashop-ee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wirecard/prestashop-ee/merges","archive_url":"https://api.github.com/repos/wirecard/prestashop-ee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wirecard/prestashop-ee/downloads","issues_url":"https://api.github.com/repos/wirecard/prestashop-ee/issues{/number}","pulls_url":"https://api.github.com/repos/wirecard/prestashop-ee/pulls{/number}","milestones_url":"https://api.github.com/repos/wirecard/prestashop-ee/milestones{/number}","notifications_url":"https://api.github.com/repos/wirecard/prestashop-ee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wirecard/prestashop-ee/labels{/name}","releases_url":"https://api.github.com/repos/wirecard/prestashop-ee/releases{/id}","deployments_url":"https://api.github.com/repos/wirecard/prestashop-ee/deployments","created_at":"2018-01-15T15:32:09Z","updated_at":"2018-02-01T09:10:50Z","pushed_at":"2018-02-27T08:24:47Z","git_url":"git://github.com/wirecard/prestashop-ee.git","ssh_url":"git@github.com:wirecard/prestashop-ee.git","clone_url":"https://github.com/wirecard/prestashop-ee.git","svn_url":"https://github.com/wirecard/prestashop-ee","homepage":null,"size":2256,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/32"},"html":{"href":"https://github.com/wirecard/prestashop-ee/pull/32"},"issue":{"href":"https://api.github.com/repos/wirecard/prestashop-ee/issues/32"},"comments":{"href":"https://api.github.com/repos/wirecard/prestashop-ee/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wirecard/prestashop-ee/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/wirecard/prestashop-ee/statuses/702f4d62e7d6861d75063b3991fb48b169f32eed"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"wirecard-bot"}}