{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3967","repository_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3967/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3967/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3967/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/3967","id":349205718,"node_id":"MDU6SXNzdWUzNDkyMDU3MTg=","number":3967,"title":"Atom beautify not working with PHP.CS.Fixer","user":{"login":"YutaNakai","id":42037264,"node_id":"MDQ6VXNlcjQyMDM3MjY0","avatar_url":"https://avatars2.githubusercontent.com/u/42037264?v=4","gravatar_id":"","url":"https://api.github.com/users/YutaNakai","html_url":"https://github.com/YutaNakai","followers_url":"https://api.github.com/users/YutaNakai/followers","following_url":"https://api.github.com/users/YutaNakai/following{/other_user}","gists_url":"https://api.github.com/users/YutaNakai/gists{/gist_id}","starred_url":"https://api.github.com/users/YutaNakai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YutaNakai/subscriptions","organizations_url":"https://api.github.com/users/YutaNakai/orgs","repos_url":"https://api.github.com/users/YutaNakai/repos","events_url":"https://api.github.com/users/YutaNakai/events{/privacy}","received_events_url":"https://api.github.com/users/YutaNakai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-09T16:42:05Z","updated_at":"2018-08-09T16:44:19Z","closed_at":null,"author_association":"NONE","body":"I'm from \r\nhttps://github.com/Glavin001/atom-beautify/issues/2195\r\n\r\nI've been trying to beautify but no result with no erro messages.\r\n\r\nThe owner of Atom-beautify said that there must be something worng in PHP.CS.Fixer.\r\n\r\nPHP: 7.2.6\r\nPHP-CS-Fixer: 4.1.1\r\nPHP-CS-Fixer Conf: I don't know how to do it.\r\nATOM: 1.29.0\r\nBeautify: 0.32.5\r\nBeautify Conf: I don't know how to do it.\r\n\r\n#### If applicable, please provide minimum samples of PHP code (as plain text, not screenshots):\r\n * before running PHP CS Fixer (no changes):\r\n```php\r\n=> <?php\r\n\r\n$num = 10;\r\n$dsn = 'mysql:host=localhost;dbname=bbs;charset=utf8';\r\n$user = 'tennisuser';\r\n   $page = 0;\r\n\r\n\r\n    if (isset($_GET['page']) && $_GET['page'] > 0) {\r\n        $page = intval($_GET['page'])-1;\r\n    }\r\n\r\n    try {\r\n        $db = new PDO($dsn, $user, $password);\r\n        $db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);\r\n\r\n        $stmt = $db ->prepare(\"\r\n    SELECT * FROM bbs ORDER BY date DESC LIMIT :page, :num\r\n    \");\r\n\r\n        $page = $page * $num;\r\n        $stmt->bindParam(':page', $page, PDO::PARAM_INT);\r\n        $stmt->bindParam(':num', $num, PDO::PARAM_INT);\r\n\r\n        $stmt ->execute();\r\n    } catch (PDOException $e) {\r\n        die('エラー：'.$e->getMessage());\r\n    ?>\r\n<!DOCTYPE html>\r\n<html lang=\"en\" dir=\"ltr\">\r\n  <head>\r\n    <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\r\n    <title>掲示板</title>\r\n     </head>\r\n  <body>\r\n       <p><a href=\"index.php\">トップページに戻る</a></p>\r\n    <form class=\"\" action=\"write.html\" method=\"post\">\r\n          <p>名前:<input type=\"text\" name=\"name\"></p>\r\n      <p>タイトル:<input type=\"text\" name=\"title\"></p>\r\n                                    <textarea name=\"body\"></textarea>\r\n      <p>削除パスワード(数字4文字):<input type=\"text\" name=\"pass\"></p>\r\n      <p><input type=\"submit\" value=\"書き込む\"></p>\r\n\r\n    </form>\r\n  </body>\r\n</html>\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/411822335","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/3967#issuecomment-411822335","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3967","id":411822335,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTgyMjMzNQ==","user":{"login":"YutaNakai","id":42037264,"node_id":"MDQ6VXNlcjQyMDM3MjY0","avatar_url":"https://avatars2.githubusercontent.com/u/42037264?v=4","gravatar_id":"","url":"https://api.github.com/users/YutaNakai","html_url":"https://github.com/YutaNakai","followers_url":"https://api.github.com/users/YutaNakai/followers","following_url":"https://api.github.com/users/YutaNakai/following{/other_user}","gists_url":"https://api.github.com/users/YutaNakai/gists{/gist_id}","starred_url":"https://api.github.com/users/YutaNakai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YutaNakai/subscriptions","organizations_url":"https://api.github.com/users/YutaNakai/orgs","repos_url":"https://api.github.com/users/YutaNakai/repos","events_url":"https://api.github.com/users/YutaNakai/events{/privacy}","received_events_url":"https://api.github.com/users/YutaNakai/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T16:44:19Z","updated_at":"2018-08-09T16:44:19Z","author_association":"NONE","body":"It's working but beautify.\r\n\r\n\r\n![33](https://user-images.githubusercontent.com/42037264/43912986-c4604a1c-9c3e-11e8-87a7-2347e1ed3af6.png)\r\n\r\n![34](https://user-images.githubusercontent.com/42037264/43912999-cae559e0-9c3e-11e8-8e07-16e28a4f6584.png)\r\n\r\nHere's my path in Atom.\r\n"}}
{"actor":{"display_login":"YutaNakai"}}