{"action":"created","comment":{"url":"https://api.github.com/repos/prettier/plugin-php/pulls/comments/204791262","pull_request_review_id":139933839,"id":204791262,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDc5MTI2Mg==","diff_hunk":"@@ -482,6 +460,559 @@ There are <?php echo $variable; ?> examples\n \n `;\n \n+exports[`mixed-8.php 1`] = `\n+<div>\n+    <?php\n+    echo \"1\";\n+    echo \"2\";\n+    ?>\n+</div>\n+\n+<div>\n+    <?php echo \"1\"; echo \"2\"; ?>\n+</div>\n+\n+<div>\n+  <?php echo \"1\"; ?>\n+  <?php echo \"2\"; ?>\n+</div>\n+\n+<div>\n+    <?php function func($x){\n+        return $x;\n+    }\n+    function other_func($x){\n+        return $x;\n+    } ?>\n+</div>\n+\n+<div>\n+    <?php function func($x){\n+        return $x;\n+    } ?>\n+    <?php function other_func($x){\n+        return $x;\n+    } ?>\n+</div>\n+\n+<div>\n+    <?php echo \"1\"; ?>\n+</div>\n+<div>\n+    <?php\n+    echo \"1\";\n+    ?>\n+</div>\n+<div>\n+    <?php\n+    echo \"1\";\n+    echo \"2\";\n+    ?>\n+</div>\n+<div>\n+    <?php\n+    echo \"1\";\n+    echo \"2\";\n+    echo \"3\";\n+    ?>\n+</div>\n+<div>\n+    <?php\n+    echo \"1\";\n+    echo \"2\";\n+    echo \"3\";\n+    echo \"4\";\n+    echo \"5\";\n+    ?>\n+</div>\n+<div>\n+  <div>\n+    <div>\n+      <div>\n+          <?php echo \"1\"; ?>\n+      </div>\n+    </div>\n+  </div>\n+</div>\n+<div>\n+  <div>\n+    <div>\n+      <div>\n+          <?php\n+          echo \"1\";\n+          echo \"2\";\n+          ?>\n+      </div>\n+    </div>\n+  </div>\n+</div>\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+<div>\n+    <?php echo \"1\";\n+    echo \"2\"; ?>\n+</div>\n+\n+<div>\n+    <?php echo \"1\";\n+    echo \"2\"; ?>\n+</div>\n+\n+<div>\n+  <?php echo \"1\"; ?>\n+  <?php echo \"2\"; ?>\n+</div>\n+\n+<div>\n+    <?php function func($x)\n+    {\n+        return $x;\n+    }\n+    function other_func($x)\n+    {\n+        return $x;\n+    } ?>\n+</div>\n+\n+<div>\n+    <?php function func($x)\n+    {\n+        return $x;\n+    } ?>\n+    <?php function other_func($x)\n+    {\n+        return $x;\n+    } ?>\n+</div>\n+\n+<div>\n+    <?php echo \"1\"; ?>\n+</div>\n+<div>\n+    <?php echo \"1\"; ?>\n+</div>\n+<div>\n+    <?php echo \"1\";\n+    echo \"2\"; ?>\n+</div>\n+<div>\n+    <?php echo \"1\";\n+    echo \"2\";\n+    echo \"3\"; ?>\n+</div>\n+<div>\n+    <?php echo \"1\";\n+    echo \"2\";\n+    echo \"3\";\n+    echo \"4\";","path":"tests/inline/__snapshots__/jsfmt.spec.js.snap","position":348,"original_position":348,"commit_id":"535b7fd3007f8e497c79f883e2b1ceb0ef787203","original_commit_id":"535b7fd3007f8e497c79f883e2b1ceb0ef787203","user":{"login":"evilebottnawi","id":4567934,"node_id":"MDQ6VXNlcjQ1Njc5MzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4567934?v=4","gravatar_id":"","url":"https://api.github.com/users/evilebottnawi","html_url":"https://github.com/evilebottnawi","followers_url":"https://api.github.com/users/evilebottnawi/followers","following_url":"https://api.github.com/users/evilebottnawi/following{/other_user}","gists_url":"https://api.github.com/users/evilebottnawi/gists{/gist_id}","starred_url":"https://api.github.com/users/evilebottnawi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilebottnawi/subscriptions","organizations_url":"https://api.github.com/users/evilebottnawi/orgs","repos_url":"https://api.github.com/users/evilebottnawi/repos","events_url":"https://api.github.com/users/evilebottnawi/events{/privacy}","received_events_url":"https://api.github.com/users/evilebottnawi/received_events","type":"User","site_admin":false},"body":"Support align with multiple statements","created_at":"2018-07-24T14:59:25Z","updated_at":"2018-07-24T14:59:25Z","html_url":"https://github.com/prettier/plugin-php/pull/492#discussion_r204791262","pull_request_url":"https://api.github.com/repos/prettier/plugin-php/pulls/492","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/prettier/plugin-php/pulls/comments/204791262"},"html":{"href":"https://github.com/prettier/plugin-php/pull/492#discussion_r204791262"},"pull_request":{"href":"https://api.github.com/repos/prettier/plugin-php/pulls/492"}}},"pull_request":{"url":"https://api.github.com/repos/prettier/plugin-php/pulls/492","id":203555434,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNTU1NDM0","html_url":"https://github.com/prettier/plugin-php/pull/492","diff_url":"https://github.com/prettier/plugin-php/pull/492.diff","patch_url":"https://github.com/prettier/plugin-php/pull/492.patch","issue_url":"https://api.github.com/repos/prettier/plugin-php/issues/492","number":492,"state":"open","locked":false,"title":"[WIP] Feat better print inline","user":{"login":"evilebottnawi","id":4567934,"node_id":"MDQ6VXNlcjQ1Njc5MzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4567934?v=4","gravatar_id":"","url":"https://api.github.com/users/evilebottnawi","html_url":"https://github.com/evilebottnawi","followers_url":"https://api.github.com/users/evilebottnawi/followers","following_url":"https://api.github.com/users/evilebottnawi/following{/other_user}","gists_url":"https://api.github.com/users/evilebottnawi/gists{/gist_id}","starred_url":"https://api.github.com/users/evilebottnawi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilebottnawi/subscriptions","organizations_url":"https://api.github.com/users/evilebottnawi/orgs","repos_url":"https://api.github.com/users/evilebottnawi/repos","events_url":"https://api.github.com/users/evilebottnawi/events{/privacy}","received_events_url":"https://api.github.com/users/evilebottnawi/received_events","type":"User","site_admin":false},"body":"Feel free to feedback, it was very hard, but looks i found how we can solve this problems\r\n\r\nShortly:\r\n1. Remove old logic and implement new (also remove utils around inline).\r\n2. A lot of new tests (you can see what all prints better).\r\n3. A lot of fixed with inline nodes (with old logic you can move all test and looks what it is break code in many places and very very ugly)","created_at":"2018-07-24T14:53:21Z","updated_at":"2018-07-24T14:59:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9321627d2d1072d857f36d7e6b66f58342192937","assignee":null,"assignees":[],"requested_reviewers":[{"login":"czosel","id":7962156,"node_id":"MDQ6VXNlcjc5NjIxNTY=","avatar_url":"https://avatars2.githubusercontent.com/u/7962156?v=4","gravatar_id":"","url":"https://api.github.com/users/czosel","html_url":"https://github.com/czosel","followers_url":"https://api.github.com/users/czosel/followers","following_url":"https://api.github.com/users/czosel/following{/other_user}","gists_url":"https://api.github.com/users/czosel/gists{/gist_id}","starred_url":"https://api.github.com/users/czosel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czosel/subscriptions","organizations_url":"https://api.github.com/users/czosel/orgs","repos_url":"https://api.github.com/users/czosel/repos","events_url":"https://api.github.com/users/czosel/events{/privacy}","received_events_url":"https://api.github.com/users/czosel/received_events","type":"User","site_admin":false},{"login":"mgrip","id":13454680,"node_id":"MDQ6VXNlcjEzNDU0Njgw","avatar_url":"https://avatars2.githubusercontent.com/u/13454680?v=4","gravatar_id":"","url":"https://api.github.com/users/mgrip","html_url":"https://github.com/mgrip","followers_url":"https://api.github.com/users/mgrip/followers","following_url":"https://api.github.com/users/mgrip/following{/other_user}","gists_url":"https://api.github.com/users/mgrip/gists{/gist_id}","starred_url":"https://api.github.com/users/mgrip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgrip/subscriptions","organizations_url":"https://api.github.com/users/mgrip/orgs","repos_url":"https://api.github.com/users/mgrip/repos","events_url":"https://api.github.com/users/mgrip/events{/privacy}","received_events_url":"https://api.github.com/users/mgrip/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/prettier/plugin-php/pulls/492/commits","review_comments_url":"https://api.github.com/repos/prettier/plugin-php/pulls/492/comments","review_comment_url":"https://api.github.com/repos/prettier/plugin-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prettier/plugin-php/issues/492/comments","statuses_url":"https://api.github.com/repos/prettier/plugin-php/statuses/535b7fd3007f8e497c79f883e2b1ceb0ef787203","head":{"label":"prettier:feat-better-print-inline","ref":"feat-better-print-inline","sha":"535b7fd3007f8e497c79f883e2b1ceb0ef787203","user":{"login":"prettier","id":25822731,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1ODIyNzMx","avatar_url":"https://avatars2.githubusercontent.com/u/25822731?v=4","gravatar_id":"","url":"https://api.github.com/users/prettier","html_url":"https://github.com/prettier","followers_url":"https://api.github.com/users/prettier/followers","following_url":"https://api.github.com/users/prettier/following{/other_user}","gists_url":"https://api.github.com/users/prettier/gists{/gist_id}","starred_url":"https://api.github.com/users/prettier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettier/subscriptions","organizations_url":"https://api.github.com/users/prettier/orgs","repos_url":"https://api.github.com/users/prettier/repos","events_url":"https://api.github.com/users/prettier/events{/privacy}","received_events_url":"https://api.github.com/users/prettier/received_events","type":"Organization","site_admin":false},"repo":{"id":115235915,"node_id":"MDEwOlJlcG9zaXRvcnkxMTUyMzU5MTU=","name":"plugin-php","full_name":"prettier/plugin-php","owner":{"login":"prettier","id":25822731,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1ODIyNzMx","avatar_url":"https://avatars2.githubusercontent.com/u/25822731?v=4","gravatar_id":"","url":"https://api.github.com/users/prettier","html_url":"https://github.com/prettier","followers_url":"https://api.github.com/users/prettier/followers","following_url":"https://api.github.com/users/prettier/following{/other_user}","gists_url":"https://api.github.com/users/prettier/gists{/gist_id}","starred_url":"https://api.github.com/users/prettier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettier/subscriptions","organizations_url":"https://api.github.com/users/prettier/orgs","repos_url":"https://api.github.com/users/prettier/repos","events_url":"https://api.github.com/users/prettier/events{/privacy}","received_events_url":"https://api.github.com/users/prettier/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prettier/plugin-php","description":"Prettier PHP Plugin","fork":false,"url":"https://api.github.com/repos/prettier/plugin-php","forks_url":"https://api.github.com/repos/prettier/plugin-php/forks","keys_url":"https://api.github.com/repos/prettier/plugin-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prettier/plugin-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prettier/plugin-php/teams","hooks_url":"https://api.github.com/repos/prettier/plugin-php/hooks","issue_events_url":"https://api.github.com/repos/prettier/plugin-php/issues/events{/number}","events_url":"https://api.github.com/repos/prettier/plugin-php/events","assignees_url":"https://api.github.com/repos/prettier/plugin-php/assignees{/user}","branches_url":"https://api.github.com/repos/prettier/plugin-php/branches{/branch}","tags_url":"https://api.github.com/repos/prettier/plugin-php/tags","blobs_url":"https://api.github.com/repos/prettier/plugin-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prettier/plugin-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prettier/plugin-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/prettier/plugin-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prettier/plugin-php/statuses/{sha}","languages_url":"https://api.github.com/repos/prettier/plugin-php/languages","stargazers_url":"https://api.github.com/repos/prettier/plugin-php/stargazers","contributors_url":"https://api.github.com/repos/prettier/plugin-php/contributors","subscribers_url":"https://api.github.com/repos/prettier/plugin-php/subscribers","subscription_url":"https://api.github.com/repos/prettier/plugin-php/subscription","commits_url":"https://api.github.com/repos/prettier/plugin-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/prettier/plugin-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/prettier/plugin-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/prettier/plugin-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/prettier/plugin-php/contents/{+path}","compare_url":"https://api.github.com/repos/prettier/plugin-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prettier/plugin-php/merges","archive_url":"https://api.github.com/repos/prettier/plugin-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prettier/plugin-php/downloads","issues_url":"https://api.github.com/repos/prettier/plugin-php/issues{/number}","pulls_url":"https://api.github.com/repos/prettier/plugin-php/pulls{/number}","milestones_url":"https://api.github.com/repos/prettier/plugin-php/milestones{/number}","notifications_url":"https://api.github.com/repos/prettier/plugin-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prettier/plugin-php/labels{/name}","releases_url":"https://api.github.com/repos/prettier/plugin-php/releases{/id}","deployments_url":"https://api.github.com/repos/prettier/plugin-php/deployments","created_at":"2017-12-24T02:56:22Z","updated_at":"2018-07-24T09:24:24Z","pushed_at":"2018-07-24T14:53:22Z","git_url":"git://github.com/prettier/plugin-php.git","ssh_url":"git@github.com:prettier/plugin-php.git","clone_url":"https://github.com/prettier/plugin-php.git","svn_url":"https://github.com/prettier/plugin-php","homepage":null,"size":818,"stargazers_count":388,"watchers_count":388,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":16,"open_issues":28,"watchers":388,"default_branch":"master"}},"base":{"label":"prettier:master","ref":"master","sha":"d3a7aa1ca1ed6ca551f80813eb3df7deb31be909","user":{"login":"prettier","id":25822731,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1ODIyNzMx","avatar_url":"https://avatars2.githubusercontent.com/u/25822731?v=4","gravatar_id":"","url":"https://api.github.com/users/prettier","html_url":"https://github.com/prettier","followers_url":"https://api.github.com/users/prettier/followers","following_url":"https://api.github.com/users/prettier/following{/other_user}","gists_url":"https://api.github.com/users/prettier/gists{/gist_id}","starred_url":"https://api.github.com/users/prettier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettier/subscriptions","organizations_url":"https://api.github.com/users/prettier/orgs","repos_url":"https://api.github.com/users/prettier/repos","events_url":"https://api.github.com/users/prettier/events{/privacy}","received_events_url":"https://api.github.com/users/prettier/received_events","type":"Organization","site_admin":false},"repo":{"id":115235915,"node_id":"MDEwOlJlcG9zaXRvcnkxMTUyMzU5MTU=","name":"plugin-php","full_name":"prettier/plugin-php","owner":{"login":"prettier","id":25822731,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1ODIyNzMx","avatar_url":"https://avatars2.githubusercontent.com/u/25822731?v=4","gravatar_id":"","url":"https://api.github.com/users/prettier","html_url":"https://github.com/prettier","followers_url":"https://api.github.com/users/prettier/followers","following_url":"https://api.github.com/users/prettier/following{/other_user}","gists_url":"https://api.github.com/users/prettier/gists{/gist_id}","starred_url":"https://api.github.com/users/prettier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettier/subscriptions","organizations_url":"https://api.github.com/users/prettier/orgs","repos_url":"https://api.github.com/users/prettier/repos","events_url":"https://api.github.com/users/prettier/events{/privacy}","received_events_url":"https://api.github.com/users/prettier/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prettier/plugin-php","description":"Prettier PHP Plugin","fork":false,"url":"https://api.github.com/repos/prettier/plugin-php","forks_url":"https://api.github.com/repos/prettier/plugin-php/forks","keys_url":"https://api.github.com/repos/prettier/plugin-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prettier/plugin-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prettier/plugin-php/teams","hooks_url":"https://api.github.com/repos/prettier/plugin-php/hooks","issue_events_url":"https://api.github.com/repos/prettier/plugin-php/issues/events{/number}","events_url":"https://api.github.com/repos/prettier/plugin-php/events","assignees_url":"https://api.github.com/repos/prettier/plugin-php/assignees{/user}","branches_url":"https://api.github.com/repos/prettier/plugin-php/branches{/branch}","tags_url":"https://api.github.com/repos/prettier/plugin-php/tags","blobs_url":"https://api.github.com/repos/prettier/plugin-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prettier/plugin-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prettier/plugin-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/prettier/plugin-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prettier/plugin-php/statuses/{sha}","languages_url":"https://api.github.com/repos/prettier/plugin-php/languages","stargazers_url":"https://api.github.com/repos/prettier/plugin-php/stargazers","contributors_url":"https://api.github.com/repos/prettier/plugin-php/contributors","subscribers_url":"https://api.github.com/repos/prettier/plugin-php/subscribers","subscription_url":"https://api.github.com/repos/prettier/plugin-php/subscription","commits_url":"https://api.github.com/repos/prettier/plugin-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/prettier/plugin-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/prettier/plugin-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/prettier/plugin-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/prettier/plugin-php/contents/{+path}","compare_url":"https://api.github.com/repos/prettier/plugin-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prettier/plugin-php/merges","archive_url":"https://api.github.com/repos/prettier/plugin-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prettier/plugin-php/downloads","issues_url":"https://api.github.com/repos/prettier/plugin-php/issues{/number}","pulls_url":"https://api.github.com/repos/prettier/plugin-php/pulls{/number}","milestones_url":"https://api.github.com/repos/prettier/plugin-php/milestones{/number}","notifications_url":"https://api.github.com/repos/prettier/plugin-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prettier/plugin-php/labels{/name}","releases_url":"https://api.github.com/repos/prettier/plugin-php/releases{/id}","deployments_url":"https://api.github.com/repos/prettier/plugin-php/deployments","created_at":"2017-12-24T02:56:22Z","updated_at":"2018-07-24T09:24:24Z","pushed_at":"2018-07-24T14:53:22Z","git_url":"git://github.com/prettier/plugin-php.git","ssh_url":"git@github.com:prettier/plugin-php.git","clone_url":"https://github.com/prettier/plugin-php.git","svn_url":"https://github.com/prettier/plugin-php","homepage":null,"size":818,"stargazers_count":388,"watchers_count":388,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":16,"open_issues":28,"watchers":388,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prettier/plugin-php/pulls/492"},"html":{"href":"https://github.com/prettier/plugin-php/pull/492"},"issue":{"href":"https://api.github.com/repos/prettier/plugin-php/issues/492"},"comments":{"href":"https://api.github.com/repos/prettier/plugin-php/issues/492/comments"},"review_comments":{"href":"https://api.github.com/repos/prettier/plugin-php/pulls/492/comments"},"review_comment":{"href":"https://api.github.com/repos/prettier/plugin-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prettier/plugin-php/pulls/492/commits"},"statuses":{"href":"https://api.github.com/repos/prettier/plugin-php/statuses/535b7fd3007f8e497c79f883e2b1ceb0ef787203"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"evilebottnawi"}}