{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony-docs/issues/5672","labels_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5672/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5672/comments","events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5672/events","html_url":"https://github.com/symfony/symfony-docs/pull/5672","id":104762209,"number":5672,"title":"Add constants to BC promise","user":{"login":"WouterJ","id":749025,"avatar_url":"https://avatars.githubusercontent.com/u/749025?v=3","gravatar_id":"","url":"https://api.github.com/users/WouterJ","html_url":"https://github.com/WouterJ","followers_url":"https://api.github.com/users/WouterJ/followers","following_url":"https://api.github.com/users/WouterJ/following{/other_user}","gists_url":"https://api.github.com/users/WouterJ/gists{/gist_id}","starred_url":"https://api.github.com/users/WouterJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WouterJ/subscriptions","organizations_url":"https://api.github.com/users/WouterJ/orgs","repos_url":"https://api.github.com/users/WouterJ/repos","events_url":"https://api.github.com/users/WouterJ/events{/privacy}","received_events_url":"https://api.github.com/users/WouterJ/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony-docs/labels/Finished","name":"Finished","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-03T19:12:57Z","updated_at":"2015-12-18T12:44:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5672","html_url":"https://github.com/symfony/symfony-docs/pull/5672","diff_url":"https://github.com/symfony/symfony-docs/pull/5672.diff","patch_url":"https://github.com/symfony/symfony-docs/pull/5672.patch"},"body":"| Q | A\r\n| --- | ---\r\n| Doc fix? | no\r\n| New docs? | yes\r\n| Applies to | all\r\n| Fixed tickets | #5224\r\n\r\nThis does things a little bit different than proposed in #5224, based on [this comment by @fabpot](https://github.com/symfony/symfony/issues/15680#issuecomment-137518154) and the fact that one uses constants, to allow to change the value without breaking the code.\r\n\r\n/cc @webmozart @stof @weaverryan @xabbuh please review this & give your opinion on this."},"comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/issues/comments/165769800","html_url":"https://github.com/symfony/symfony-docs/pull/5672#issuecomment-165769800","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5672","id":165769800,"user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T12:44:35Z","updated_at":"2015-12-18T12:44:35Z","body":":+1: "}}