{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/165","repository_url":"https://api.github.com/repos/yiisoft/yii2-apidoc","labels_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/165/comments","events_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/165/events","html_url":"https://github.com/yiisoft/yii2-apidoc/issues/165","id":313923692,"number":165,"title":"PHP 7.2 Cannot use yii\\base\\Object as Object because 'Object' is a special class name","user":{"login":"neoacevedo","id":438372,"avatar_url":"https://avatars0.githubusercontent.com/u/438372?v=4","gravatar_id":"","url":"https://api.github.com/users/neoacevedo","html_url":"https://github.com/neoacevedo","followers_url":"https://api.github.com/users/neoacevedo/followers","following_url":"https://api.github.com/users/neoacevedo/following{/other_user}","gists_url":"https://api.github.com/users/neoacevedo/gists{/gist_id}","starred_url":"https://api.github.com/users/neoacevedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neoacevedo/subscriptions","organizations_url":"https://api.github.com/users/neoacevedo/orgs","repos_url":"https://api.github.com/users/neoacevedo/repos","events_url":"https://api.github.com/users/neoacevedo/events{/privacy}","received_events_url":"https://api.github.com/users/neoacevedo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-12T23:43:39Z","updated_at":"2018-04-19T18:55:50Z","closed_at":null,"author_association":"NONE","body":"### What steps will reproduce the problem?\r\nrun ./vendor/bin/apidoc api . --exclude=\"vendor\"\r\n### What's expected?\r\nGenerate APIDoc \r\n### What do you get instead?\r\nPHP Fatal error:  Cannot use yii\\base\\Object as Object because 'Object' is a special class name in /home/nestor/public_html/openbiblio2/vendor/yiisoft/yii2-apidoc/models/BaseDoc.php on line 12\r\n\r\n\r\n### Additional info\r\n\r\n| Q                  | A\r\n| ------------------ | ---\r\n| Yii vesion         | 2.0.15.1\r\n| Yii APIDoc version | latest\r\n| PHP version        | 7.2.4\r\n| Operating system   | openSUSE Tumbleweed\r\n```\r\nPHP 7.2 Cannot use yii\\base\\Object as Object because 'Object' is a special class name in vendor/yiisoft/yii2-apidoc/models/BaseDoc.php on line 12\r\n```\r\nChanging in this line **Object** to **BaseObject** and in the class extension doing the same, this error is solved only for this file but is replicated in `models/ParamDoc.php` on line 11 and so on in each class that extends **Object**\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/comments/382844239","html_url":"https://github.com/yiisoft/yii2-apidoc/issues/165#issuecomment-382844239","issue_url":"https://api.github.com/repos/yiisoft/yii2-apidoc/issues/165","id":382844239,"user":{"login":"PommeVerte","id":1415875,"avatar_url":"https://avatars1.githubusercontent.com/u/1415875?v=4","gravatar_id":"","url":"https://api.github.com/users/PommeVerte","html_url":"https://github.com/PommeVerte","followers_url":"https://api.github.com/users/PommeVerte/followers","following_url":"https://api.github.com/users/PommeVerte/following{/other_user}","gists_url":"https://api.github.com/users/PommeVerte/gists{/gist_id}","starred_url":"https://api.github.com/users/PommeVerte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PommeVerte/subscriptions","organizations_url":"https://api.github.com/users/PommeVerte/orgs","repos_url":"https://api.github.com/users/PommeVerte/repos","events_url":"https://api.github.com/users/PommeVerte/events{/privacy}","received_events_url":"https://api.github.com/users/PommeVerte/received_events","type":"User","site_admin":false},"created_at":"2018-04-19T18:55:50Z","updated_at":"2018-04-19T18:55:50Z","author_association":"NONE","body":"Experiencing this as well. "}}
{"actor":{"display_login":"PommeVerte"}}