{"action":"opened","issue":{"url":"https://api.github.com/repos/twigphp/Twig/issues/1767","labels_url":"https://api.github.com/repos/twigphp/Twig/issues/1767/labels{/name}","comments_url":"https://api.github.com/repos/twigphp/Twig/issues/1767/comments","events_url":"https://api.github.com/repos/twigphp/Twig/issues/1767/events","html_url":"https://github.com/twigphp/Twig/issues/1767","id":100723304,"number":1767,"title":"Make sure deprecations are triggered in 1.x for any deprecated features","user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-13T09:26:49Z","updated_at":"2015-08-13T09:26:49Z","closed_at":null,"body":"We need deprecations in many places in 1.x for removed things:\r\n\r\n- Twig_Environment constructor without loader\r\n- Twig_Filter, Twig_Test and Twig_Function usage when registering them\r\n- custom implementations of deprecated interfaces being passed (not sure if this is needed though, or if we consider that people would be warned about this by the DebugClassLoader of Symfony when using it)\r\n- ... (the list needs to be completed)\r\n\r\nWe should also warn about features deprecated in templates, but this would require #1756 first"}}