{"action":"created","comment":{"url":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/comments/98881163","pull_request_review_id":19536134,"id":98881163,"diff_hunk":"@@ -30,12 +30,20 @@ class calculator implements LoggerAwareInterface\n     // Граница плотности, делит товары на товары с высокой и низкой плотностью\n     const ITEM_DENSITY_LIMIT = 250;\n \n+    // Доля общей скидки (на все товары).\n+    const TOTAL_DISCOUNT_VALUE = 0;\n+\n     /**\n      * @var float Результат расчета\n      */\n     protected $result;\n \n     /**\n+     * @var float Результат расчета\n+     */\n+    protected $additionalResult;","path":"src/Calculator.php","position":24,"original_position":24,"commit_id":"22baf17dedb3c898c97eaf2083eb8fe808abab94","original_commit_id":"22baf17dedb3c898c97eaf2083eb8fe808abab94","user":{"login":"pastuhov","id":7937221,"avatar_url":"https://avatars.githubusercontent.com/u/7937221?v=3","gravatar_id":"","url":"https://api.github.com/users/pastuhov","html_url":"https://github.com/pastuhov","followers_url":"https://api.github.com/users/pastuhov/followers","following_url":"https://api.github.com/users/pastuhov/following{/other_user}","gists_url":"https://api.github.com/users/pastuhov/gists{/gist_id}","starred_url":"https://api.github.com/users/pastuhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pastuhov/subscriptions","organizations_url":"https://api.github.com/users/pastuhov/orgs","repos_url":"https://api.github.com/users/pastuhov/repos","events_url":"https://api.github.com/users/pastuhov/events{/privacy}","received_events_url":"https://api.github.com/users/pastuhov/received_events","type":"User","site_admin":false},"body":"старое?","created_at":"2017-02-01T12:13:14Z","updated_at":"2017-02-01T12:34:39Z","html_url":"https://github.com/sima-land/delivery-php-calculator/pull/3#discussion_r98881163","pull_request_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/comments/98881163"},"html":{"href":"https://github.com/sima-land/delivery-php-calculator/pull/3#discussion_r98881163"},"pull_request":{"href":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/3","id":103921603,"html_url":"https://github.com/sima-land/delivery-php-calculator/pull/3","diff_url":"https://github.com/sima-land/delivery-php-calculator/pull/3.diff","patch_url":"https://github.com/sima-land/delivery-php-calculator/pull/3.patch","issue_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/issues/3","number":3,"state":"open","locked":false,"title":"Sl 6809","user":{"login":"danilfromekb","id":3324850,"avatar_url":"https://avatars.githubusercontent.com/u/3324850?v=3","gravatar_id":"","url":"https://api.github.com/users/danilfromekb","html_url":"https://github.com/danilfromekb","followers_url":"https://api.github.com/users/danilfromekb/followers","following_url":"https://api.github.com/users/danilfromekb/following{/other_user}","gists_url":"https://api.github.com/users/danilfromekb/gists{/gist_id}","starred_url":"https://api.github.com/users/danilfromekb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danilfromekb/subscriptions","organizations_url":"https://api.github.com/users/danilfromekb/orgs","repos_url":"https://api.github.com/users/danilfromekb/repos","events_url":"https://api.github.com/users/danilfromekb/events{/privacy}","received_events_url":"https://api.github.com/users/danilfromekb/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-01-31T11:58:23Z","updated_at":"2017-02-01T12:34:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12b5058eade54b2b169f83113b9f738dae481088","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/3/commits","review_comments_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/3/comments","review_comment_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/issues/3/comments","statuses_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/statuses/22baf17dedb3c898c97eaf2083eb8fe808abab94","head":{"label":"sima-land:SL-6809","ref":"SL-6809","sha":"22baf17dedb3c898c97eaf2083eb8fe808abab94","user":{"login":"sima-land","id":12048422,"avatar_url":"https://avatars.githubusercontent.com/u/12048422?v=3","gravatar_id":"","url":"https://api.github.com/users/sima-land","html_url":"https://github.com/sima-land","followers_url":"https://api.github.com/users/sima-land/followers","following_url":"https://api.github.com/users/sima-land/following{/other_user}","gists_url":"https://api.github.com/users/sima-land/gists{/gist_id}","starred_url":"https://api.github.com/users/sima-land/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sima-land/subscriptions","organizations_url":"https://api.github.com/users/sima-land/orgs","repos_url":"https://api.github.com/users/sima-land/repos","events_url":"https://api.github.com/users/sima-land/events{/privacy}","received_events_url":"https://api.github.com/users/sima-land/received_events","type":"Organization","site_admin":false},"repo":{"id":73701387,"name":"delivery-php-calculator","full_name":"sima-land/delivery-php-calculator","owner":{"login":"sima-land","id":12048422,"avatar_url":"https://avatars.githubusercontent.com/u/12048422?v=3","gravatar_id":"","url":"https://api.github.com/users/sima-land","html_url":"https://github.com/sima-land","followers_url":"https://api.github.com/users/sima-land/followers","following_url":"https://api.github.com/users/sima-land/following{/other_user}","gists_url":"https://api.github.com/users/sima-land/gists{/gist_id}","starred_url":"https://api.github.com/users/sima-land/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sima-land/subscriptions","organizations_url":"https://api.github.com/users/sima-land/orgs","repos_url":"https://api.github.com/users/sima-land/repos","events_url":"https://api.github.com/users/sima-land/events{/privacy}","received_events_url":"https://api.github.com/users/sima-land/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sima-land/delivery-php-calculator","description":"Класс для расчета стоимости платной доставки ООО Сима-Ленд","fork":false,"url":"https://api.github.com/repos/sima-land/delivery-php-calculator","forks_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/forks","keys_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/teams","hooks_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/hooks","issue_events_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/issues/events{/number}","events_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/events","assignees_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/assignees{/user}","branches_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/branches{/branch}","tags_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/tags","blobs_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/git/refs{/sha}","trees_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/statuses/{sha}","languages_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/languages","stargazers_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/stargazers","contributors_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/contributors","subscribers_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/subscribers","subscription_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/subscription","commits_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/commits{/sha}","git_commits_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/git/commits{/sha}","comments_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/comments{/number}","issue_comment_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/issues/comments{/number}","contents_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/contents/{+path}","compare_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/merges","archive_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/downloads","issues_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/issues{/number}","pulls_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls{/number}","milestones_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/milestones{/number}","notifications_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/labels{/name}","releases_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/releases{/id}","deployments_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/deployments","created_at":"2016-11-14T12:12:48Z","updated_at":"2017-01-16T07:40:26Z","pushed_at":"2017-02-01T11:48:27Z","git_url":"git://github.com/sima-land/delivery-php-calculator.git","ssh_url":"git@github.com:sima-land/delivery-php-calculator.git","clone_url":"https://github.com/sima-land/delivery-php-calculator.git","svn_url":"https://github.com/sima-land/delivery-php-calculator","homepage":null,"size":40,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"sima-land:master","ref":"master","sha":"46577cdc0a1c3f846f2c9ca07941e6d2a0ede59b","user":{"login":"sima-land","id":12048422,"avatar_url":"https://avatars.githubusercontent.com/u/12048422?v=3","gravatar_id":"","url":"https://api.github.com/users/sima-land","html_url":"https://github.com/sima-land","followers_url":"https://api.github.com/users/sima-land/followers","following_url":"https://api.github.com/users/sima-land/following{/other_user}","gists_url":"https://api.github.com/users/sima-land/gists{/gist_id}","starred_url":"https://api.github.com/users/sima-land/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sima-land/subscriptions","organizations_url":"https://api.github.com/users/sima-land/orgs","repos_url":"https://api.github.com/users/sima-land/repos","events_url":"https://api.github.com/users/sima-land/events{/privacy}","received_events_url":"https://api.github.com/users/sima-land/received_events","type":"Organization","site_admin":false},"repo":{"id":73701387,"name":"delivery-php-calculator","full_name":"sima-land/delivery-php-calculator","owner":{"login":"sima-land","id":12048422,"avatar_url":"https://avatars.githubusercontent.com/u/12048422?v=3","gravatar_id":"","url":"https://api.github.com/users/sima-land","html_url":"https://github.com/sima-land","followers_url":"https://api.github.com/users/sima-land/followers","following_url":"https://api.github.com/users/sima-land/following{/other_user}","gists_url":"https://api.github.com/users/sima-land/gists{/gist_id}","starred_url":"https://api.github.com/users/sima-land/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sima-land/subscriptions","organizations_url":"https://api.github.com/users/sima-land/orgs","repos_url":"https://api.github.com/users/sima-land/repos","events_url":"https://api.github.com/users/sima-land/events{/privacy}","received_events_url":"https://api.github.com/users/sima-land/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sima-land/delivery-php-calculator","description":"Класс для расчета стоимости платной доставки ООО Сима-Ленд","fork":false,"url":"https://api.github.com/repos/sima-land/delivery-php-calculator","forks_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/forks","keys_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/teams","hooks_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/hooks","issue_events_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/issues/events{/number}","events_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/events","assignees_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/assignees{/user}","branches_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/branches{/branch}","tags_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/tags","blobs_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/git/refs{/sha}","trees_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/statuses/{sha}","languages_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/languages","stargazers_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/stargazers","contributors_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/contributors","subscribers_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/subscribers","subscription_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/subscription","commits_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/commits{/sha}","git_commits_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/git/commits{/sha}","comments_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/comments{/number}","issue_comment_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/issues/comments{/number}","contents_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/contents/{+path}","compare_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/merges","archive_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/downloads","issues_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/issues{/number}","pulls_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls{/number}","milestones_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/milestones{/number}","notifications_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/labels{/name}","releases_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/releases{/id}","deployments_url":"https://api.github.com/repos/sima-land/delivery-php-calculator/deployments","created_at":"2016-11-14T12:12:48Z","updated_at":"2017-01-16T07:40:26Z","pushed_at":"2017-02-01T11:48:27Z","git_url":"git://github.com/sima-land/delivery-php-calculator.git","ssh_url":"git@github.com:sima-land/delivery-php-calculator.git","clone_url":"https://github.com/sima-land/delivery-php-calculator.git","svn_url":"https://github.com/sima-land/delivery-php-calculator","homepage":null,"size":40,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/3"},"html":{"href":"https://github.com/sima-land/delivery-php-calculator/pull/3"},"issue":{"href":"https://api.github.com/repos/sima-land/delivery-php-calculator/issues/3"},"comments":{"href":"https://api.github.com/repos/sima-land/delivery-php-calculator/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sima-land/delivery-php-calculator/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/sima-land/delivery-php-calculator/statuses/22baf17dedb3c898c97eaf2083eb8fe808abab94"}}}}
{"actor":{"display_login":"pastuhov"}}