{"action":"created","issue":{"url":"https://api.github.com/repos/dericofilho/sublime-phpfmt/issues/137","labels_url":"https://api.github.com/repos/dericofilho/sublime-phpfmt/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/dericofilho/sublime-phpfmt/issues/137/comments","events_url":"https://api.github.com/repos/dericofilho/sublime-phpfmt/issues/137/events","html_url":"https://github.com/dericofilho/sublime-phpfmt/issues/137","id":87082460,"number":137,"title":"ignore_list config setting causing plugin to not execute","user":{"login":"rufhausen","id":43862,"avatar_url":"https://avatars.githubusercontent.com/u/43862?v=3","gravatar_id":"","url":"https://api.github.com/users/rufhausen","html_url":"https://github.com/rufhausen","followers_url":"https://api.github.com/users/rufhausen/followers","following_url":"https://api.github.com/users/rufhausen/following{/other_user}","gists_url":"https://api.github.com/users/rufhausen/gists{/gist_id}","starred_url":"https://api.github.com/users/rufhausen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rufhausen/subscriptions","organizations_url":"https://api.github.com/users/rufhausen/orgs","repos_url":"https://api.github.com/users/rufhausen/repos","events_url":"https://api.github.com/users/rufhausen/events{/privacy}","received_events_url":"https://api.github.com/users/rufhausen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dericofilho/sublime-phpfmt/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-10T19:41:41Z","updated_at":"2015-06-10T20:04:12Z","closed_at":null,"body":"The ignore_list entry in the config (you had suggested this in response to my comment in issue #131) is causing the plugin to fail. Formatting a file returns the following in the console:\r\nTraceback (most recent call last):\r\nFile \"/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py\", line 556, in run_\r\nreturn self.run(edit)\r\nFile \"/Users/gtaylor/Library/Application Support/Sublime Text 3/Packages/phpfmt/phpfmt.py\", line 1350, in run\r\nsrc = dofmt(self, self.view, None, src)\r\nFile \"/Users/gtaylor/Library/Application Support/Sublime Text 3/Packages/phpfmt/phpfmt.py\", line 162, in dofmt\r\nignore_list = ignore_list.split(\" \")\r\nAttributeError: 'list' object has no attribute 'split'\r\n\r\nFull config:\r\n{\r\n\t\"autocomplete\": false,\r\n\t\"autoimport\": false,\r\n\t\"enable_auto_align\": true,\r\n\t\"excludes\":\r\n\t[\r\n\t\t\"WordWrap\",\r\n\t\t\"LeftWordWrap\"\r\n\t],\r\n\t\"format_on_save\": true,\r\n\t\"ignore_list\":\r\n\t[\r\n\t\t\".blade.php\"\r\n\t],\r\n\t\"indent_with_space\": 4,\r\n\t\"laravel_style\": false,\r\n\t\"passes\":\r\n\t[\r\n\t\t\"MergeNamespaceWithOpenTag\",\r\n\t\t\"RemoveUseLeadingSlash\",\r\n\t\t\"SpaceBetweenMethods\",\r\n\t\t\"PrettyPrintDocBlocks\",\r\n\t\t\"GeneratePHPDoc\",\r\n\t\t\"AlignEquals\",\r\n\t\t\"AlignDoubleArrow\"\r\n\t],\r\n\t\"php55warning\": true,\r\n\t\"php_bin\": \"/Applications/MAMP/bin/php/php5.6.7/bin/php\",\r\n\t\"psr1\": false,\r\n\t\"psr2\": true,\r\n\t\"version\": 3\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/dericofilho/sublime-phpfmt/issues/comments/110894627","html_url":"https://github.com/dericofilho/sublime-phpfmt/issues/137#issuecomment-110894627","issue_url":"https://api.github.com/repos/dericofilho/sublime-phpfmt/issues/137","id":110894627,"user":{"login":"rufhausen","id":43862,"avatar_url":"https://avatars.githubusercontent.com/u/43862?v=3","gravatar_id":"","url":"https://api.github.com/users/rufhausen","html_url":"https://github.com/rufhausen","followers_url":"https://api.github.com/users/rufhausen/followers","following_url":"https://api.github.com/users/rufhausen/following{/other_user}","gists_url":"https://api.github.com/users/rufhausen/gists{/gist_id}","starred_url":"https://api.github.com/users/rufhausen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rufhausen/subscriptions","organizations_url":"https://api.github.com/users/rufhausen/orgs","repos_url":"https://api.github.com/users/rufhausen/repos","events_url":"https://api.github.com/users/rufhausen/events{/privacy}","received_events_url":"https://api.github.com/users/rufhausen/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T20:04:12Z","updated_at":"2015-06-10T20:04:12Z","body":"@dericofilho Appears to work now with the previous ignore_list format. It also appears to be ignoring .blade.php files as expected.\r\n\r\nThanks."}}