{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/25757","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/25757/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/25757/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/25757/events","html_url":"https://github.com/symfony/symfony/pull/25757","id":287530031,"number":25757,"title":"Add ability to set expected deprecation message inside a test","user":{"login":"alexpott","id":769634,"avatar_url":"https://avatars3.githubusercontent.com/u/769634?v=4","gravatar_id":"","url":"https://api.github.com/users/alexpott","html_url":"https://github.com/alexpott","followers_url":"https://api.github.com/users/alexpott/followers","following_url":"https://api.github.com/users/alexpott/following{/other_user}","gists_url":"https://api.github.com/users/alexpott/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpott/subscriptions","organizations_url":"https://api.github.com/users/alexpott/orgs","repos_url":"https://api.github.com/users/alexpott/repos","events_url":"https://api.github.com/users/alexpott/events{/privacy}","received_events_url":"https://api.github.com/users/alexpott/received_events","type":"User","site_admin":false},"labels":[{"id":100378,"url":"https://api.github.com/repos/symfony/symfony/labels/Feature","name":"Feature","color":"02e10c","default":false},{"id":205587161,"url":"https://api.github.com/repos/symfony/symfony/labels/PhpUnitBridge","name":"PhpUnitBridge","color":"dddddd","default":false},{"id":237003792,"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/symfony/symfony/milestones/10","html_url":"https://github.com/symfony/symfony/milestone/10","labels_url":"https://api.github.com/repos/symfony/symfony/milestones/10/labels","id":2117464,"number":10,"title":"3.4","description":"https://symfony.com/roadmap?version=3.4#checker","creator":{"login":"javiereguiluz","id":73419,"avatar_url":"https://avatars3.githubusercontent.com/u/73419?v=4","gravatar_id":"","url":"https://api.github.com/users/javiereguiluz","html_url":"https://github.com/javiereguiluz","followers_url":"https://api.github.com/users/javiereguiluz/followers","following_url":"https://api.github.com/users/javiereguiluz/following{/other_user}","gists_url":"https://api.github.com/users/javiereguiluz/gists{/gist_id}","starred_url":"https://api.github.com/users/javiereguiluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiereguiluz/subscriptions","organizations_url":"https://api.github.com/users/javiereguiluz/orgs","repos_url":"https://api.github.com/users/javiereguiluz/repos","events_url":"https://api.github.com/users/javiereguiluz/events{/privacy}","received_events_url":"https://api.github.com/users/javiereguiluz/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":747,"state":"open","created_at":"2016-11-06T20:24:23Z","updated_at":"2018-04-07T14:30:30Z","due_on":"2020-11-30T08:00:00Z","closed_at":null},"comments":4,"created_at":"2018-01-10T18:17:13Z","updated_at":"2018-04-08T00:41:56Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/25757","html_url":"https://github.com/symfony/symfony/pull/25757","diff_url":"https://github.com/symfony/symfony/pull/25757.diff","patch_url":"https://github.com/symfony/symfony/pull/25757.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Branch?       | 4.1\r\n| Bug fix?      | no\r\n| New feature?  | yes <!-- don't forget to update src/**/CHANGELOG.md files -->\r\n| BC breaks?    | no\r\n| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->\r\n| Tests pass?   | yes\r\n| Fixed tickets | #... <!-- #-prefixed issue number(s), if any -->\r\n| License       | MIT\r\n| Doc PR        | symfony/symfony-docs#... <!--highly recommended for new features-->\r\n\r\n<!--\r\n- Bug fixes must be submitted against the lowest branch where they apply\r\n  (lowest branches are regularly merged to upper ones so they get the fixes too).\r\n- Features and deprecations must be submitted against the master branch.\r\n- Replace this comment by a description of what your PR is solving.\r\n-->\r\n\r\nIt could be useful to have the ability to dynamic set expected deprecations within tests. In https://www.drupal.org/project/drupal/issues/2858482 we are deprecating a lot of dynamically generated routes and these routes have tests that can't set an expected deprecation message because each test case has something like a provider which results in different deprecation messages."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/379509627","html_url":"https://github.com/symfony/symfony/pull/25757#issuecomment-379509627","issue_url":"https://api.github.com/repos/symfony/symfony/issues/25757","id":379509627,"user":{"login":"Majkl578","id":144181,"avatar_url":"https://avatars2.githubusercontent.com/u/144181?v=4","gravatar_id":"","url":"https://api.github.com/users/Majkl578","html_url":"https://github.com/Majkl578","followers_url":"https://api.github.com/users/Majkl578/followers","following_url":"https://api.github.com/users/Majkl578/following{/other_user}","gists_url":"https://api.github.com/users/Majkl578/gists{/gist_id}","starred_url":"https://api.github.com/users/Majkl578/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Majkl578/subscriptions","organizations_url":"https://api.github.com/users/Majkl578/orgs","repos_url":"https://api.github.com/users/Majkl578/repos","events_url":"https://api.github.com/users/Majkl578/events{/privacy}","received_events_url":"https://api.github.com/users/Majkl578/received_events","type":"User","site_admin":false},"created_at":"2018-04-08T00:41:56Z","updated_at":"2018-04-08T00:41:56Z","author_association":"NONE","body":"ping?"}}
{"actor":{"display_login":"Majkl578"}}