{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/pear/Text_LanguageDetect/pulls/3","id":64027665,"html_url":"https://github.com/pear/Text_LanguageDetect/pull/3","diff_url":"https://github.com/pear/Text_LanguageDetect/pull/3.diff","patch_url":"https://github.com/pear/Text_LanguageDetect/pull/3.patch","issue_url":"https://api.github.com/repos/pear/Text_LanguageDetect/issues/3","number":3,"state":"open","locked":false,"title":"Path fix and PHP7 compatibility","user":{"login":"djrieger","id":2900011,"avatar_url":"https://avatars.githubusercontent.com/u/2900011?v=3","gravatar_id":"","url":"https://api.github.com/users/djrieger","html_url":"https://github.com/djrieger","followers_url":"https://api.github.com/users/djrieger/followers","following_url":"https://api.github.com/users/djrieger/following{/other_user}","gists_url":"https://api.github.com/users/djrieger/gists{/gist_id}","starred_url":"https://api.github.com/users/djrieger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djrieger/subscriptions","organizations_url":"https://api.github.com/users/djrieger/orgs","repos_url":"https://api.github.com/users/djrieger/repos","events_url":"https://api.github.com/users/djrieger/events{/privacy}","received_events_url":"https://api.github.com/users/djrieger/received_events","type":"User","site_admin":false},"body":"I changed the constructor name in `Text_LanguageDetect_Parser` from the deprecated version to `__construct()`. Now Text_LanguageDetect runs flawlessly using PHP 7.0.0.\r\n\r\nI needed to remove the extra `/Text_LanguageDetect` directory appended to `_data_dir` in `LanguageDetect.php` so the \"data\" directory could be found. Not entirely sure if this is the correct approach. Works on a fresh installation of Text_LanguageDetect (using composer).","created_at":"2016-03-24T12:36:04Z","updated_at":"2016-03-24T12:36:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pear/Text_LanguageDetect/pulls/3/commits","review_comments_url":"https://api.github.com/repos/pear/Text_LanguageDetect/pulls/3/comments","review_comment_url":"https://api.github.com/repos/pear/Text_LanguageDetect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pear/Text_LanguageDetect/issues/3/comments","statuses_url":"https://api.github.com/repos/pear/Text_LanguageDetect/statuses/3649c412b9cb7c31feba185afbfb0b04d3a9f40f","head":{"label":"djrieger:php7-compatibility","ref":"php7-compatibility","sha":"3649c412b9cb7c31feba185afbfb0b04d3a9f40f","user":{"login":"djrieger","id":2900011,"avatar_url":"https://avatars.githubusercontent.com/u/2900011?v=3","gravatar_id":"","url":"https://api.github.com/users/djrieger","html_url":"https://github.com/djrieger","followers_url":"https://api.github.com/users/djrieger/followers","following_url":"https://api.github.com/users/djrieger/following{/other_user}","gists_url":"https://api.github.com/users/djrieger/gists{/gist_id}","starred_url":"https://api.github.com/users/djrieger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djrieger/subscriptions","organizations_url":"https://api.github.com/users/djrieger/orgs","repos_url":"https://api.github.com/users/djrieger/repos","events_url":"https://api.github.com/users/djrieger/events{/privacy}","received_events_url":"https://api.github.com/users/djrieger/received_events","type":"User","site_admin":false},"repo":{"id":54639659,"name":"Text_LanguageDetect","full_name":"djrieger/Text_LanguageDetect","owner":{"login":"djrieger","id":2900011,"avatar_url":"https://avatars.githubusercontent.com/u/2900011?v=3","gravatar_id":"","url":"https://api.github.com/users/djrieger","html_url":"https://github.com/djrieger","followers_url":"https://api.github.com/users/djrieger/followers","following_url":"https://api.github.com/users/djrieger/following{/other_user}","gists_url":"https://api.github.com/users/djrieger/gists{/gist_id}","starred_url":"https://api.github.com/users/djrieger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djrieger/subscriptions","organizations_url":"https://api.github.com/users/djrieger/orgs","repos_url":"https://api.github.com/users/djrieger/repos","events_url":"https://api.github.com/users/djrieger/events{/privacy}","received_events_url":"https://api.github.com/users/djrieger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djrieger/Text_LanguageDetect","description":null,"fork":true,"url":"https://api.github.com/repos/djrieger/Text_LanguageDetect","forks_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/forks","keys_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/teams","hooks_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/hooks","issue_events_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/issues/events{/number}","events_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/events","assignees_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/assignees{/user}","branches_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/branches{/branch}","tags_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/tags","blobs_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/git/refs{/sha}","trees_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/statuses/{sha}","languages_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/languages","stargazers_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/stargazers","contributors_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/contributors","subscribers_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/subscribers","subscription_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/subscription","commits_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/commits{/sha}","git_commits_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/git/commits{/sha}","comments_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/comments{/number}","issue_comment_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/issues/comments{/number}","contents_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/contents/{+path}","compare_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/merges","archive_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/downloads","issues_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/issues{/number}","pulls_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/pulls{/number}","milestones_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/milestones{/number}","notifications_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/labels{/name}","releases_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/releases{/id}","deployments_url":"https://api.github.com/repos/djrieger/Text_LanguageDetect/deployments","created_at":"2016-03-24T12:18:33Z","updated_at":"2016-03-24T12:18:34Z","pushed_at":"2016-03-24T12:26:25Z","git_url":"git://github.com/djrieger/Text_LanguageDetect.git","ssh_url":"git@github.com:djrieger/Text_LanguageDetect.git","clone_url":"https://github.com/djrieger/Text_LanguageDetect.git","svn_url":"https://github.com/djrieger/Text_LanguageDetect","homepage":"http://pear.php.net/package/Text_LanguageDetect","size":280,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"trunk"}},"base":{"label":"pear:trunk","ref":"trunk","sha":"588496982dc9675315ba51a1e035446b576d4ed9","user":{"login":"pear","id":97917,"avatar_url":"https://avatars.githubusercontent.com/u/97917?v=3","gravatar_id":"","url":"https://api.github.com/users/pear","html_url":"https://github.com/pear","followers_url":"https://api.github.com/users/pear/followers","following_url":"https://api.github.com/users/pear/following{/other_user}","gists_url":"https://api.github.com/users/pear/gists{/gist_id}","starred_url":"https://api.github.com/users/pear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pear/subscriptions","organizations_url":"https://api.github.com/users/pear/orgs","repos_url":"https://api.github.com/users/pear/repos","events_url":"https://api.github.com/users/pear/events{/privacy}","received_events_url":"https://api.github.com/users/pear/received_events","type":"Organization","site_admin":false},"repo":{"id":4012791,"name":"Text_LanguageDetect","full_name":"pear/Text_LanguageDetect","owner":{"login":"pear","id":97917,"avatar_url":"https://avatars.githubusercontent.com/u/97917?v=3","gravatar_id":"","url":"https://api.github.com/users/pear","html_url":"https://github.com/pear","followers_url":"https://api.github.com/users/pear/followers","following_url":"https://api.github.com/users/pear/following{/other_user}","gists_url":"https://api.github.com/users/pear/gists{/gist_id}","starred_url":"https://api.github.com/users/pear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pear/subscriptions","organizations_url":"https://api.github.com/users/pear/orgs","repos_url":"https://api.github.com/users/pear/repos","events_url":"https://api.github.com/users/pear/events{/privacy}","received_events_url":"https://api.github.com/users/pear/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pear/Text_LanguageDetect","description":null,"fork":false,"url":"https://api.github.com/repos/pear/Text_LanguageDetect","forks_url":"https://api.github.com/repos/pear/Text_LanguageDetect/forks","keys_url":"https://api.github.com/repos/pear/Text_LanguageDetect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pear/Text_LanguageDetect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pear/Text_LanguageDetect/teams","hooks_url":"https://api.github.com/repos/pear/Text_LanguageDetect/hooks","issue_events_url":"https://api.github.com/repos/pear/Text_LanguageDetect/issues/events{/number}","events_url":"https://api.github.com/repos/pear/Text_LanguageDetect/events","assignees_url":"https://api.github.com/repos/pear/Text_LanguageDetect/assignees{/user}","branches_url":"https://api.github.com/repos/pear/Text_LanguageDetect/branches{/branch}","tags_url":"https://api.github.com/repos/pear/Text_LanguageDetect/tags","blobs_url":"https://api.github.com/repos/pear/Text_LanguageDetect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pear/Text_LanguageDetect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pear/Text_LanguageDetect/git/refs{/sha}","trees_url":"https://api.github.com/repos/pear/Text_LanguageDetect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pear/Text_LanguageDetect/statuses/{sha}","languages_url":"https://api.github.com/repos/pear/Text_LanguageDetect/languages","stargazers_url":"https://api.github.com/repos/pear/Text_LanguageDetect/stargazers","contributors_url":"https://api.github.com/repos/pear/Text_LanguageDetect/contributors","subscribers_url":"https://api.github.com/repos/pear/Text_LanguageDetect/subscribers","subscription_url":"https://api.github.com/repos/pear/Text_LanguageDetect/subscription","commits_url":"https://api.github.com/repos/pear/Text_LanguageDetect/commits{/sha}","git_commits_url":"https://api.github.com/repos/pear/Text_LanguageDetect/git/commits{/sha}","comments_url":"https://api.github.com/repos/pear/Text_LanguageDetect/comments{/number}","issue_comment_url":"https://api.github.com/repos/pear/Text_LanguageDetect/issues/comments{/number}","contents_url":"https://api.github.com/repos/pear/Text_LanguageDetect/contents/{+path}","compare_url":"https://api.github.com/repos/pear/Text_LanguageDetect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pear/Text_LanguageDetect/merges","archive_url":"https://api.github.com/repos/pear/Text_LanguageDetect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pear/Text_LanguageDetect/downloads","issues_url":"https://api.github.com/repos/pear/Text_LanguageDetect/issues{/number}","pulls_url":"https://api.github.com/repos/pear/Text_LanguageDetect/pulls{/number}","milestones_url":"https://api.github.com/repos/pear/Text_LanguageDetect/milestones{/number}","notifications_url":"https://api.github.com/repos/pear/Text_LanguageDetect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pear/Text_LanguageDetect/labels{/name}","releases_url":"https://api.github.com/repos/pear/Text_LanguageDetect/releases{/id}","deployments_url":"https://api.github.com/repos/pear/Text_LanguageDetect/deployments","created_at":"2012-04-13T05:41:24Z","updated_at":"2015-08-27T04:36:42Z","pushed_at":"2016-03-24T12:36:04Z","git_url":"git://github.com/pear/Text_LanguageDetect.git","ssh_url":"git@github.com:pear/Text_LanguageDetect.git","clone_url":"https://github.com/pear/Text_LanguageDetect.git","svn_url":"https://github.com/pear/Text_LanguageDetect","homepage":"http://pear.php.net/package/Text_LanguageDetect","size":395,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":7,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/pear/Text_LanguageDetect/pulls/3"},"html":{"href":"https://github.com/pear/Text_LanguageDetect/pull/3"},"issue":{"href":"https://api.github.com/repos/pear/Text_LanguageDetect/issues/3"},"comments":{"href":"https://api.github.com/repos/pear/Text_LanguageDetect/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/pear/Text_LanguageDetect/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/pear/Text_LanguageDetect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pear/Text_LanguageDetect/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/pear/Text_LanguageDetect/statuses/3649c412b9cb7c31feba185afbfb0b04d3a9f40f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":2,"deletions":2,"changed_files":2}}