{"action":"created","issue":{"url":"https://api.github.com/repos/teamdeeson/warden/issues/64","repository_url":"https://api.github.com/repos/teamdeeson/warden","labels_url":"https://api.github.com/repos/teamdeeson/warden/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/teamdeeson/warden/issues/64/comments","events_url":"https://api.github.com/repos/teamdeeson/warden/issues/64/events","html_url":"https://github.com/teamdeeson/warden/issues/64","id":183210229,"number":64,"title":"PHP 7 compatibility","user":{"login":"asrob","id":251897,"avatar_url":"https://avatars.githubusercontent.com/u/251897?v=3","gravatar_id":"","url":"https://api.github.com/users/asrob","html_url":"https://github.com/asrob","followers_url":"https://api.github.com/users/asrob/followers","following_url":"https://api.github.com/users/asrob/following{/other_user}","gists_url":"https://api.github.com/users/asrob/gists{/gist_id}","starred_url":"https://api.github.com/users/asrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asrob/subscriptions","organizations_url":"https://api.github.com/users/asrob/orgs","repos_url":"https://api.github.com/users/asrob/repos","events_url":"https://api.github.com/users/asrob/events{/privacy}","received_events_url":"https://api.github.com/users/asrob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-15T13:39:08Z","updated_at":"2016-12-14T14:24:34Z","closed_at":null,"body":"Hi!\n\nI tried to install warden (mondodb-32 branch) but I could not because of this error below. I use PHP 7.0 via homebrew, here is my installed packages:\n\n> php70\n> php70-intl\n> php70-mcrypt\n> php70-mongodb\n> php70-opcache\n\n`$ php --version`\n\n> PHP 7.0.12 (cli) (built: Oct 14 2016 09:55:03) ( NTS )\n> Copyright (c) 1997-2016 The PHP Group\n> Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies\n>     with Zend OPcache v7.0.12, Copyright (c) 1999-2016, by Zend Technologies\n\n`$ composer --version`\n\n> Composer version 1.2.1 2016-09-12 11:27:19\n\nError message:\n\n> Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache\n> \n> Fatal error: Cannot use 'String' as class name as it is reserved in /Users/asrob/Sites/warden/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/String.php on line 23\n> PHP Fatal error:  Cannot use 'String' as class name as it is reserved in /Users/asrob/Sites/warden/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/String.php on line 23\n> Script Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception\n> \n>   [RuntimeException]\n>   An error occurred when executing the \"'cache:clear --no-warmup'\" command:\n>   Fatal error: Cannot use 'String' as class name as it is reserved in /Users/asrob/Sites/warden/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/String.php on line 23\n>   PHP Fatal error:  Cannot use 'String' as class name as it is reserved in /Users/asrob/Sites/warden/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/String.php on line 23\n"},"comment":{"url":"https://api.github.com/repos/teamdeeson/warden/issues/comments/267046232","html_url":"https://github.com/teamdeeson/warden/issues/64#issuecomment-267046232","issue_url":"https://api.github.com/repos/teamdeeson/warden/issues/64","id":267046232,"user":{"login":"mikeddeeson","id":5821740,"avatar_url":"https://avatars.githubusercontent.com/u/5821740?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeddeeson","html_url":"https://github.com/mikeddeeson","followers_url":"https://api.github.com/users/mikeddeeson/followers","following_url":"https://api.github.com/users/mikeddeeson/following{/other_user}","gists_url":"https://api.github.com/users/mikeddeeson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeddeeson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeddeeson/subscriptions","organizations_url":"https://api.github.com/users/mikeddeeson/orgs","repos_url":"https://api.github.com/users/mikeddeeson/repos","events_url":"https://api.github.com/users/mikeddeeson/events{/privacy}","received_events_url":"https://api.github.com/users/mikeddeeson/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T14:24:34Z","updated_at":"2016-12-14T14:24:34Z","body":"Is it these lines which is causing the problem in the MongoDB ODM - if you comment them out does it work?\r\n\r\nI'm looking at the MongoDB ODB github to see if there are any issues around this as well"}}
{"actor":{"display_login":"mikeddeeson"}}