{"action":"closed","number":1655,"pull_request":{"url":"https://api.github.com/repos/mailpoet/mailpoet/pulls/1655","id":234002315,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0MDAyMzE1","html_url":"https://github.com/mailpoet/mailpoet/pull/1655","diff_url":"https://github.com/mailpoet/mailpoet/pull/1655.diff","patch_url":"https://github.com/mailpoet/mailpoet/pull/1655.patch","issue_url":"https://api.github.com/repos/mailpoet/mailpoet/issues/1655","number":1655,"state":"closed","locked":false,"title":"Replace Mozart with PHP-Scoper [MAILPOET-1651]","user":{"login":"costasovo","id":1082140,"node_id":"MDQ6VXNlcjEwODIxNDA=","avatar_url":"https://avatars0.githubusercontent.com/u/1082140?v=4","gravatar_id":"","url":"https://api.github.com/users/costasovo","html_url":"https://github.com/costasovo","followers_url":"https://api.github.com/users/costasovo/followers","following_url":"https://api.github.com/users/costasovo/following{/other_user}","gists_url":"https://api.github.com/users/costasovo/gists{/gist_id}","starred_url":"https://api.github.com/users/costasovo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/costasovo/subscriptions","organizations_url":"https://api.github.com/users/costasovo/orgs","repos_url":"https://api.github.com/users/costasovo/repos","events_url":"https://api.github.com/users/costasovo/events{/privacy}","received_events_url":"https://api.github.com/users/costasovo/received_events","type":"User","site_admin":false},"body":"Since [Mozart](https://github.com/coenjacobs/mozart) plugin is not maintained this PR replaces this plugin with [PHP-Scoper](https://github.com/humbug/php-scoper).\r\n\r\n## PHP-Scoper\r\nPHP-Scoper can be installed as phar file or thru composer as dev dependency. I've decided to go with phar file, because with this option the configuration is much easier. We don't have to list packages in vendor folder since there are no dev dependencies but packages we want to process.\r\n\r\nI've added instructions for downloading php-scoper.phar to README.md\r\n`url -sL https://github.com/humbug/php-scoper/releases/download/0.11.4/php-scoper.phar --output php-scoper.phar`\r\n\r\nInstead of `mozart` folder I've chosen to use `prefixer` which is more general name.\r\nConfiguration of the scoper can be found in `prefixer/scoper.inc.php`\r\n","created_at":"2018-11-27T17:41:35Z","updated_at":"2018-12-04T10:48:17Z","closed_at":"2018-12-04T10:48:17Z","merged_at":"2018-12-04T10:48:17Z","merge_commit_sha":"3831f127c1a6849106d3d06b8f75e34a80e1daba","assignee":{"login":"michelleshull","id":34072553,"node_id":"MDQ6VXNlcjM0MDcyNTUz","avatar_url":"https://avatars2.githubusercontent.com/u/34072553?v=4","gravatar_id":"","url":"https://api.github.com/users/michelleshull","html_url":"https://github.com/michelleshull","followers_url":"https://api.github.com/users/michelleshull/followers","following_url":"https://api.github.com/users/michelleshull/following{/other_user}","gists_url":"https://api.github.com/users/michelleshull/gists{/gist_id}","starred_url":"https://api.github.com/users/michelleshull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelleshull/subscriptions","organizations_url":"https://api.github.com/users/michelleshull/orgs","repos_url":"https://api.github.com/users/michelleshull/repos","events_url":"https://api.github.com/users/michelleshull/events{/privacy}","received_events_url":"https://api.github.com/users/michelleshull/received_events","type":"User","site_admin":false},"assignees":[{"login":"michelleshull","id":34072553,"node_id":"MDQ6VXNlcjM0MDcyNTUz","avatar_url":"https://avatars2.githubusercontent.com/u/34072553?v=4","gravatar_id":"","url":"https://api.github.com/users/michelleshull","html_url":"https://github.com/michelleshull","followers_url":"https://api.github.com/users/michelleshull/followers","following_url":"https://api.github.com/users/michelleshull/following{/other_user}","gists_url":"https://api.github.com/users/michelleshull/gists{/gist_id}","starred_url":"https://api.github.com/users/michelleshull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelleshull/subscriptions","organizations_url":"https://api.github.com/users/michelleshull/orgs","repos_url":"https://api.github.com/users/michelleshull/repos","events_url":"https://api.github.com/users/michelleshull/events{/privacy}","received_events_url":"https://api.github.com/users/michelleshull/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mailpoet/mailpoet/pulls/1655/commits","review_comments_url":"https://api.github.com/repos/mailpoet/mailpoet/pulls/1655/comments","review_comment_url":"https://api.github.com/repos/mailpoet/mailpoet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mailpoet/mailpoet/issues/1655/comments","statuses_url":"https://api.github.com/repos/mailpoet/mailpoet/statuses/401db671bc4b73e9146db7450e40c82e565895d9","head":{"label":"mailpoet:php-scoper","ref":"php-scoper","sha":"401db671bc4b73e9146db7450e40c82e565895d9","user":{"login":"mailpoet","id":4418032,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTgwMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/4418032?v=4","gravatar_id":"","url":"https://api.github.com/users/mailpoet","html_url":"https://github.com/mailpoet","followers_url":"https://api.github.com/users/mailpoet/followers","following_url":"https://api.github.com/users/mailpoet/following{/other_user}","gists_url":"https://api.github.com/users/mailpoet/gists{/gist_id}","starred_url":"https://api.github.com/users/mailpoet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailpoet/subscriptions","organizations_url":"https://api.github.com/users/mailpoet/orgs","repos_url":"https://api.github.com/users/mailpoet/repos","events_url":"https://api.github.com/users/mailpoet/events{/privacy}","received_events_url":"https://api.github.com/users/mailpoet/received_events","type":"Organization","site_admin":false},"repo":{"id":38753514,"node_id":"MDEwOlJlcG9zaXRvcnkzODc1MzUxNA==","name":"mailpoet","full_name":"mailpoet/mailpoet","private":false,"owner":{"login":"mailpoet","id":4418032,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTgwMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/4418032?v=4","gravatar_id":"","url":"https://api.github.com/users/mailpoet","html_url":"https://github.com/mailpoet","followers_url":"https://api.github.com/users/mailpoet/followers","following_url":"https://api.github.com/users/mailpoet/following{/other_user}","gists_url":"https://api.github.com/users/mailpoet/gists{/gist_id}","starred_url":"https://api.github.com/users/mailpoet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailpoet/subscriptions","organizations_url":"https://api.github.com/users/mailpoet/orgs","repos_url":"https://api.github.com/users/mailpoet/repos","events_url":"https://api.github.com/users/mailpoet/events{/privacy}","received_events_url":"https://api.github.com/users/mailpoet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mailpoet/mailpoet","description":"A free newsletter plugin for WordPress","fork":false,"url":"https://api.github.com/repos/mailpoet/mailpoet","forks_url":"https://api.github.com/repos/mailpoet/mailpoet/forks","keys_url":"https://api.github.com/repos/mailpoet/mailpoet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mailpoet/mailpoet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mailpoet/mailpoet/teams","hooks_url":"https://api.github.com/repos/mailpoet/mailpoet/hooks","issue_events_url":"https://api.github.com/repos/mailpoet/mailpoet/issues/events{/number}","events_url":"https://api.github.com/repos/mailpoet/mailpoet/events","assignees_url":"https://api.github.com/repos/mailpoet/mailpoet/assignees{/user}","branches_url":"https://api.github.com/repos/mailpoet/mailpoet/branches{/branch}","tags_url":"https://api.github.com/repos/mailpoet/mailpoet/tags","blobs_url":"https://api.github.com/repos/mailpoet/mailpoet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mailpoet/mailpoet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mailpoet/mailpoet/git/refs{/sha}","trees_url":"https://api.github.com/repos/mailpoet/mailpoet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mailpoet/mailpoet/statuses/{sha}","languages_url":"https://api.github.com/repos/mailpoet/mailpoet/languages","stargazers_url":"https://api.github.com/repos/mailpoet/mailpoet/stargazers","contributors_url":"https://api.github.com/repos/mailpoet/mailpoet/contributors","subscribers_url":"https://api.github.com/repos/mailpoet/mailpoet/subscribers","subscription_url":"https://api.github.com/repos/mailpoet/mailpoet/subscription","commits_url":"https://api.github.com/repos/mailpoet/mailpoet/commits{/sha}","git_commits_url":"https://api.github.com/repos/mailpoet/mailpoet/git/commits{/sha}","comments_url":"https://api.github.com/repos/mailpoet/mailpoet/comments{/number}","issue_comment_url":"https://api.github.com/repos/mailpoet/mailpoet/issues/comments{/number}","contents_url":"https://api.github.com/repos/mailpoet/mailpoet/contents/{+path}","compare_url":"https://api.github.com/repos/mailpoet/mailpoet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mailpoet/mailpoet/merges","archive_url":"https://api.github.com/repos/mailpoet/mailpoet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mailpoet/mailpoet/downloads","issues_url":"https://api.github.com/repos/mailpoet/mailpoet/issues{/number}","pulls_url":"https://api.github.com/repos/mailpoet/mailpoet/pulls{/number}","milestones_url":"https://api.github.com/repos/mailpoet/mailpoet/milestones{/number}","notifications_url":"https://api.github.com/repos/mailpoet/mailpoet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mailpoet/mailpoet/labels{/name}","releases_url":"https://api.github.com/repos/mailpoet/mailpoet/releases{/id}","deployments_url":"https://api.github.com/repos/mailpoet/mailpoet/deployments","created_at":"2015-07-08T12:47:37Z","updated_at":"2018-12-03T17:50:30Z","pushed_at":"2018-12-04T10:48:17Z","git_url":"git://github.com/mailpoet/mailpoet.git","ssh_url":"git@github.com:mailpoet/mailpoet.git","clone_url":"https://github.com/mailpoet/mailpoet.git","svn_url":"https://github.com/mailpoet/mailpoet","homepage":"https://wordpress.org/plugins/mailpoet/","size":58443,"stargazers_count":8,"watchers_count":8,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":13,"watchers":8,"default_branch":"master"}},"base":{"label":"mailpoet:master","ref":"master","sha":"beb7557068efd193ce089ff6c4a945921224675c","user":{"login":"mailpoet","id":4418032,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTgwMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/4418032?v=4","gravatar_id":"","url":"https://api.github.com/users/mailpoet","html_url":"https://github.com/mailpoet","followers_url":"https://api.github.com/users/mailpoet/followers","following_url":"https://api.github.com/users/mailpoet/following{/other_user}","gists_url":"https://api.github.com/users/mailpoet/gists{/gist_id}","starred_url":"https://api.github.com/users/mailpoet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailpoet/subscriptions","organizations_url":"https://api.github.com/users/mailpoet/orgs","repos_url":"https://api.github.com/users/mailpoet/repos","events_url":"https://api.github.com/users/mailpoet/events{/privacy}","received_events_url":"https://api.github.com/users/mailpoet/received_events","type":"Organization","site_admin":false},"repo":{"id":38753514,"node_id":"MDEwOlJlcG9zaXRvcnkzODc1MzUxNA==","name":"mailpoet","full_name":"mailpoet/mailpoet","private":false,"owner":{"login":"mailpoet","id":4418032,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTgwMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/4418032?v=4","gravatar_id":"","url":"https://api.github.com/users/mailpoet","html_url":"https://github.com/mailpoet","followers_url":"https://api.github.com/users/mailpoet/followers","following_url":"https://api.github.com/users/mailpoet/following{/other_user}","gists_url":"https://api.github.com/users/mailpoet/gists{/gist_id}","starred_url":"https://api.github.com/users/mailpoet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailpoet/subscriptions","organizations_url":"https://api.github.com/users/mailpoet/orgs","repos_url":"https://api.github.com/users/mailpoet/repos","events_url":"https://api.github.com/users/mailpoet/events{/privacy}","received_events_url":"https://api.github.com/users/mailpoet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mailpoet/mailpoet","description":"A free newsletter plugin for WordPress","fork":false,"url":"https://api.github.com/repos/mailpoet/mailpoet","forks_url":"https://api.github.com/repos/mailpoet/mailpoet/forks","keys_url":"https://api.github.com/repos/mailpoet/mailpoet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mailpoet/mailpoet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mailpoet/mailpoet/teams","hooks_url":"https://api.github.com/repos/mailpoet/mailpoet/hooks","issue_events_url":"https://api.github.com/repos/mailpoet/mailpoet/issues/events{/number}","events_url":"https://api.github.com/repos/mailpoet/mailpoet/events","assignees_url":"https://api.github.com/repos/mailpoet/mailpoet/assignees{/user}","branches_url":"https://api.github.com/repos/mailpoet/mailpoet/branches{/branch}","tags_url":"https://api.github.com/repos/mailpoet/mailpoet/tags","blobs_url":"https://api.github.com/repos/mailpoet/mailpoet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mailpoet/mailpoet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mailpoet/mailpoet/git/refs{/sha}","trees_url":"https://api.github.com/repos/mailpoet/mailpoet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mailpoet/mailpoet/statuses/{sha}","languages_url":"https://api.github.com/repos/mailpoet/mailpoet/languages","stargazers_url":"https://api.github.com/repos/mailpoet/mailpoet/stargazers","contributors_url":"https://api.github.com/repos/mailpoet/mailpoet/contributors","subscribers_url":"https://api.github.com/repos/mailpoet/mailpoet/subscribers","subscription_url":"https://api.github.com/repos/mailpoet/mailpoet/subscription","commits_url":"https://api.github.com/repos/mailpoet/mailpoet/commits{/sha}","git_commits_url":"https://api.github.com/repos/mailpoet/mailpoet/git/commits{/sha}","comments_url":"https://api.github.com/repos/mailpoet/mailpoet/comments{/number}","issue_comment_url":"https://api.github.com/repos/mailpoet/mailpoet/issues/comments{/number}","contents_url":"https://api.github.com/repos/mailpoet/mailpoet/contents/{+path}","compare_url":"https://api.github.com/repos/mailpoet/mailpoet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mailpoet/mailpoet/merges","archive_url":"https://api.github.com/repos/mailpoet/mailpoet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mailpoet/mailpoet/downloads","issues_url":"https://api.github.com/repos/mailpoet/mailpoet/issues{/number}","pulls_url":"https://api.github.com/repos/mailpoet/mailpoet/pulls{/number}","milestones_url":"https://api.github.com/repos/mailpoet/mailpoet/milestones{/number}","notifications_url":"https://api.github.com/repos/mailpoet/mailpoet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mailpoet/mailpoet/labels{/name}","releases_url":"https://api.github.com/repos/mailpoet/mailpoet/releases{/id}","deployments_url":"https://api.github.com/repos/mailpoet/mailpoet/deployments","created_at":"2015-07-08T12:47:37Z","updated_at":"2018-12-03T17:50:30Z","pushed_at":"2018-12-04T10:48:17Z","git_url":"git://github.com/mailpoet/mailpoet.git","ssh_url":"git@github.com:mailpoet/mailpoet.git","clone_url":"https://github.com/mailpoet/mailpoet.git","svn_url":"https://github.com/mailpoet/mailpoet","homepage":"https://wordpress.org/plugins/mailpoet/","size":58443,"stargazers_count":8,"watchers_count":8,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":13,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mailpoet/mailpoet/pulls/1655"},"html":{"href":"https://github.com/mailpoet/mailpoet/pull/1655"},"issue":{"href":"https://api.github.com/repos/mailpoet/mailpoet/issues/1655"},"comments":{"href":"https://api.github.com/repos/mailpoet/mailpoet/issues/1655/comments"},"review_comments":{"href":"https://api.github.com/repos/mailpoet/mailpoet/pulls/1655/comments"},"review_comment":{"href":"https://api.github.com/repos/mailpoet/mailpoet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mailpoet/mailpoet/pulls/1655/commits"},"statuses":{"href":"https://api.github.com/repos/mailpoet/mailpoet/statuses/401db671bc4b73e9146db7450e40c82e565895d9"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"michelleshull","id":34072553,"node_id":"MDQ6VXNlcjM0MDcyNTUz","avatar_url":"https://avatars2.githubusercontent.com/u/34072553?v=4","gravatar_id":"","url":"https://api.github.com/users/michelleshull","html_url":"https://github.com/michelleshull","followers_url":"https://api.github.com/users/michelleshull/followers","following_url":"https://api.github.com/users/michelleshull/following{/other_user}","gists_url":"https://api.github.com/users/michelleshull/gists{/gist_id}","starred_url":"https://api.github.com/users/michelleshull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelleshull/subscriptions","organizations_url":"https://api.github.com/users/michelleshull/orgs","repos_url":"https://api.github.com/users/michelleshull/repos","events_url":"https://api.github.com/users/michelleshull/events{/privacy}","received_events_url":"https://api.github.com/users/michelleshull/received_events","type":"User","site_admin":false},"comments":2,"review_comments":3,"maintainer_can_modify":false,"commits":9,"additions":393,"deletions":694,"changed_files":11}}
{"actor":{"display_login":"michelleshull"}}