{"action":"opened","number":159,"pull_request":{"url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/159","id":212739352,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNzM5MzUy","html_url":"https://github.com/ezsystems/LegacyBridge/pull/159","diff_url":"https://github.com/ezsystems/LegacyBridge/pull/159.diff","patch_url":"https://github.com/ezsystems/LegacyBridge/pull/159.patch","issue_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/159","number":159,"state":"open","locked":false,"title":"Check if legacy engine is set before calling it","user":{"login":"emodric","id":362286,"node_id":"MDQ6VXNlcjM2MjI4Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/362286?v=4","gravatar_id":"","url":"https://api.github.com/users/emodric","html_url":"https://github.com/emodric","followers_url":"https://api.github.com/users/emodric/followers","following_url":"https://api.github.com/users/emodric/following{/other_user}","gists_url":"https://api.github.com/users/emodric/gists{/gist_id}","starred_url":"https://api.github.com/users/emodric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emodric/subscriptions","organizations_url":"https://api.github.com/users/emodric/orgs","repos_url":"https://api.github.com/users/emodric/repos","events_url":"https://api.github.com/users/emodric/events{/privacy}","received_events_url":"https://api.github.com/users/emodric/received_events","type":"User","site_admin":false},"body":"On PHP 7.3, `loadTemplate` method is somehow called before `setEzLegacyEngine` had a chance to set the legacy engine to the `Environment` class. Checking for `null` on `$this->legacyEngine` does the job apparently, with no side-effects.","created_at":"2018-09-03T12:50:59Z","updated_at":"2018-09-03T12:50:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/159/commits","review_comments_url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/159/comments","review_comment_url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/159/comments","statuses_url":"https://api.github.com/repos/ezsystems/LegacyBridge/statuses/8b0e0bd72b62230d9f0d8572d992965e41da4e47","head":{"label":"ezsystems:legacy-engine-null-check","ref":"legacy-engine-null-check","sha":"8b0e0bd72b62230d9f0d8572d992965e41da4e47","user":{"login":"ezsystems","id":295311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTMxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/295311?v=4","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":29585452,"node_id":"MDEwOlJlcG9zaXRvcnkyOTU4NTQ1Mg==","name":"LegacyBridge","full_name":"ezsystems/LegacyBridge","owner":{"login":"ezsystems","id":295311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTMxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/295311?v=4","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezsystems/LegacyBridge","description":"[Community co-maintained] Formerly LegacyBundle, this was moved out and can be used as a optional bridge between eZ Platform and eZ Publish Legacy to simplify migration to eZ Platform","fork":false,"url":"https://api.github.com/repos/ezsystems/LegacyBridge","forks_url":"https://api.github.com/repos/ezsystems/LegacyBridge/forks","keys_url":"https://api.github.com/repos/ezsystems/LegacyBridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/LegacyBridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/LegacyBridge/teams","hooks_url":"https://api.github.com/repos/ezsystems/LegacyBridge/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/LegacyBridge/events","assignees_url":"https://api.github.com/repos/ezsystems/LegacyBridge/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/LegacyBridge/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/LegacyBridge/tags","blobs_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/LegacyBridge/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/LegacyBridge/languages","stargazers_url":"https://api.github.com/repos/ezsystems/LegacyBridge/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/LegacyBridge/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/LegacyBridge/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/LegacyBridge/subscription","commits_url":"https://api.github.com/repos/ezsystems/LegacyBridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/LegacyBridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/LegacyBridge/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/LegacyBridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/LegacyBridge/merges","archive_url":"https://api.github.com/repos/ezsystems/LegacyBridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/LegacyBridge/downloads","issues_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/LegacyBridge/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/LegacyBridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/LegacyBridge/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/LegacyBridge/releases{/id}","deployments_url":"https://api.github.com/repos/ezsystems/LegacyBridge/deployments","created_at":"2015-01-21T10:54:07Z","updated_at":"2018-08-12T14:15:44Z","pushed_at":"2018-09-03T12:50:52Z","git_url":"git://github.com/ezsystems/LegacyBridge.git","ssh_url":"git@github.com:ezsystems/LegacyBridge.git","clone_url":"https://github.com/ezsystems/LegacyBridge.git","svn_url":"https://github.com/ezsystems/LegacyBridge","homepage":"https://doc.ezplatform.com/en/latest/migrating/migrating_from_ez_publish_platform/","size":1143,"stargazers_count":11,"watchers_count":11,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":29,"open_issues":11,"watchers":11,"default_branch":"master"}},"base":{"label":"ezsystems:master","ref":"master","sha":"dacc9230719329a1014dafb152e7d03d6087c781","user":{"login":"ezsystems","id":295311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTMxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/295311?v=4","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":29585452,"node_id":"MDEwOlJlcG9zaXRvcnkyOTU4NTQ1Mg==","name":"LegacyBridge","full_name":"ezsystems/LegacyBridge","owner":{"login":"ezsystems","id":295311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTMxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/295311?v=4","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezsystems/LegacyBridge","description":"[Community co-maintained] Formerly LegacyBundle, this was moved out and can be used as a optional bridge between eZ Platform and eZ Publish Legacy to simplify migration to eZ Platform","fork":false,"url":"https://api.github.com/repos/ezsystems/LegacyBridge","forks_url":"https://api.github.com/repos/ezsystems/LegacyBridge/forks","keys_url":"https://api.github.com/repos/ezsystems/LegacyBridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/LegacyBridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/LegacyBridge/teams","hooks_url":"https://api.github.com/repos/ezsystems/LegacyBridge/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/LegacyBridge/events","assignees_url":"https://api.github.com/repos/ezsystems/LegacyBridge/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/LegacyBridge/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/LegacyBridge/tags","blobs_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/LegacyBridge/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/LegacyBridge/languages","stargazers_url":"https://api.github.com/repos/ezsystems/LegacyBridge/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/LegacyBridge/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/LegacyBridge/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/LegacyBridge/subscription","commits_url":"https://api.github.com/repos/ezsystems/LegacyBridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/LegacyBridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/LegacyBridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/LegacyBridge/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/LegacyBridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/LegacyBridge/merges","archive_url":"https://api.github.com/repos/ezsystems/LegacyBridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/LegacyBridge/downloads","issues_url":"https://api.github.com/repos/ezsystems/LegacyBridge/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/LegacyBridge/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/LegacyBridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/LegacyBridge/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/LegacyBridge/releases{/id}","deployments_url":"https://api.github.com/repos/ezsystems/LegacyBridge/deployments","created_at":"2015-01-21T10:54:07Z","updated_at":"2018-08-12T14:15:44Z","pushed_at":"2018-09-03T12:50:52Z","git_url":"git://github.com/ezsystems/LegacyBridge.git","ssh_url":"git@github.com:ezsystems/LegacyBridge.git","clone_url":"https://github.com/ezsystems/LegacyBridge.git","svn_url":"https://github.com/ezsystems/LegacyBridge","homepage":"https://doc.ezplatform.com/en/latest/migrating/migrating_from_ez_publish_platform/","size":1143,"stargazers_count":11,"watchers_count":11,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":29,"open_issues":11,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/159"},"html":{"href":"https://github.com/ezsystems/LegacyBridge/pull/159"},"issue":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/159"},"comments":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/issues/159/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/159/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/pulls/159/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/LegacyBridge/statuses/8b0e0bd72b62230d9f0d8572d992965e41da4e47"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"emodric"}}