{"action":"created","issue":{"url":"https://api.github.com/repos/zephir/luya-kickstarter/issues/4","labels_url":"https://api.github.com/repos/zephir/luya-kickstarter/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/zephir/luya-kickstarter/issues/4/comments","events_url":"https://api.github.com/repos/zephir/luya-kickstarter/issues/4/events","html_url":"https://github.com/zephir/luya-kickstarter/pull/4","id":128076993,"number":4,"title":"Fix syntax error, unexpected 'endforeach' (T_ENDFOREACH) ","user":{"login":"faizalmansor","id":1214801,"avatar_url":"https://avatars.githubusercontent.com/u/1214801?v=3","gravatar_id":"","url":"https://api.github.com/users/faizalmansor","html_url":"https://github.com/faizalmansor","followers_url":"https://api.github.com/users/faizalmansor/followers","following_url":"https://api.github.com/users/faizalmansor/following{/other_user}","gists_url":"https://api.github.com/users/faizalmansor/gists{/gist_id}","starred_url":"https://api.github.com/users/faizalmansor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faizalmansor/subscriptions","organizations_url":"https://api.github.com/users/faizalmansor/orgs","repos_url":"https://api.github.com/users/faizalmansor/repos","events_url":"https://api.github.com/users/faizalmansor/events{/privacy}","received_events_url":"https://api.github.com/users/faizalmansor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-22T03:43:29Z","updated_at":"2016-01-22T08:56:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zephir/luya-kickstarter/pulls/4","html_url":"https://github.com/zephir/luya-kickstarter/pull/4","diff_url":"https://github.com/zephir/luya-kickstarter/pull/4.diff","patch_url":"https://github.com/zephir/luya-kickstarter/pull/4.patch"},"body":"Closing if statements in **line 46, 50, 55** are causing ```unexpected 'endforeach'``` errors. Changed the closing if statement to ```<?php endif;?>``` from the original ```<?endif;?>```. Maybe not everyone set php.ini to ```short_open_tag=On```, also to make uniform coding as you used full closing php tag like ```<?php endif; ?>``` for example, in **line 58, 62** and on many other occassions."},"comment":{"url":"https://api.github.com/repos/zephir/luya-kickstarter/issues/comments/173852017","html_url":"https://github.com/zephir/luya-kickstarter/pull/4#issuecomment-173852017","issue_url":"https://api.github.com/repos/zephir/luya-kickstarter/issues/4","id":173852017,"user":{"login":"nadar","id":3417221,"avatar_url":"https://avatars.githubusercontent.com/u/3417221?v=3","gravatar_id":"","url":"https://api.github.com/users/nadar","html_url":"https://github.com/nadar","followers_url":"https://api.github.com/users/nadar/followers","following_url":"https://api.github.com/users/nadar/following{/other_user}","gists_url":"https://api.github.com/users/nadar/gists{/gist_id}","starred_url":"https://api.github.com/users/nadar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadar/subscriptions","organizations_url":"https://api.github.com/users/nadar/orgs","repos_url":"https://api.github.com/users/nadar/repos","events_url":"https://api.github.com/users/nadar/events{/privacy}","received_events_url":"https://api.github.com/users/nadar/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T08:56:16Z","updated_at":"2016-01-22T08:56:16Z","body":"https://github.com/zephir/luya/issues/743"}}