{"action":"closed","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/11607","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/11607/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/11607/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/11607/events","html_url":"https://github.com/yiisoft/yii2/issues/11607","id":156119520,"number":11607,"title":"E_DEPRECATED errors in PHP 7","user":{"login":"miradnan","id":397415,"avatar_url":"https://avatars.githubusercontent.com/u/397415?v=3","gravatar_id":"","url":"https://api.github.com/users/miradnan","html_url":"https://github.com/miradnan","followers_url":"https://api.github.com/users/miradnan/followers","following_url":"https://api.github.com/users/miradnan/following{/other_user}","gists_url":"https://api.github.com/users/miradnan/gists{/gist_id}","starred_url":"https://api.github.com/users/miradnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miradnan/subscriptions","organizations_url":"https://api.github.com/users/miradnan/orgs","repos_url":"https://api.github.com/users/miradnan/repos","events_url":"https://api.github.com/users/miradnan/events{/privacy}","received_events_url":"https://api.github.com/users/miradnan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-21T20:13:25Z","updated_at":"2016-05-22T08:17:47Z","closed_at":"2016-05-22T08:17:47Z","body":"### What steps will reproduce the problem?\r\nCall a method inside another controller statically\r\nI have two controllers A and B. Class B extends Class A. My script calls self::actionFunc($id); Which is a non-static method. I cannot make it static because Yii does not support action methods to be static. Also I can't initialize the object. I get parameter error if I do ((new B())->actionFunc($id); \r\n\r\n### What is the expected result?\r\nIt should return the response from B::actionFunc($id); method.\r\n\r\n### What do you get instead?\r\nE_DEPRECATED error\r\n\r\n### Additional info\r\n\r\n| Q                | A\r\n| ---------------- | ---\r\n| Yii version      | 2.0.8\r\n| PHP version      | 7\r\n| Operating system | CentOS \r\n"}}
{"actor":{"display_login":"yii-bot"}}