{"action":"created","issue":{"url":"https://api.github.com/repos/google/google-api-php-client-services/issues/21","repository_url":"https://api.github.com/repos/google/google-api-php-client-services","labels_url":"https://api.github.com/repos/google/google-api-php-client-services/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/google/google-api-php-client-services/issues/21/comments","events_url":"https://api.github.com/repos/google/google-api-php-client-services/issues/21/events","html_url":"https://github.com/google/google-api-php-client-services/issues/21","id":165244874,"number":21,"title":"'return' is used as a function name and cannot pass syntax check in php 5.5.30.","user":{"login":"repeat","id":11508,"avatar_url":"https://avatars.githubusercontent.com/u/11508?v=3","gravatar_id":"","url":"https://api.github.com/users/repeat","html_url":"https://github.com/repeat","followers_url":"https://api.github.com/users/repeat/followers","following_url":"https://api.github.com/users/repeat/following{/other_user}","gists_url":"https://api.github.com/users/repeat/gists{/gist_id}","starred_url":"https://api.github.com/users/repeat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repeat/subscriptions","organizations_url":"https://api.github.com/users/repeat/orgs","repos_url":"https://api.github.com/users/repeat/repos","events_url":"https://api.github.com/users/repeat/events{/privacy}","received_events_url":"https://api.github.com/users/repeat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-13T06:11:20Z","updated_at":"2016-07-15T18:40:43Z","closed_at":null,"body":"I'm using [google-api-php-client](https://github.com/google/google-api-php-client) on my project, and composer installs `dev-master` of this repository.\r\n\r\nI check all codes from composer to assert everything works by using `php -l`, however it raised a sytnax error which indicates `return` is used as a funciton name:\r\n`PHP Parse error:  syntax error, unexpected 'return' (T_RETURN), expecting identifier (T_STRING) in ./vendor/google/apiclient-services/Google/Service/Classroom/Resource/CoursesCourseWorkStudentSubmissions.php on line 205`\r\n```php\r\npublic function return($courseId, $courseWorkId, $id, Google_Service_Classroom_ReturnStudentSubmissionRequest $postBody, $optParams = array())\r\n```\r\n\r\nI'm using php 5.5.30 and it satisfies the minimum-required php version of google-api-php-client.\r\n"},"comment":{"url":"https://api.github.com/repos/google/google-api-php-client-services/issues/comments/233033959","html_url":"https://github.com/google/google-api-php-client-services/issues/21#issuecomment-233033959","issue_url":"https://api.github.com/repos/google/google-api-php-client-services/issues/21","id":233033959,"user":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T18:40:43Z","updated_at":"2016-07-15T18:40:43Z","body":"Thank you for reporting this! I'll get this fixed ASAP."}}
{"actor":{"display_login":"bshaffer"}}