{"action":"created","issue":{"url":"https://api.github.com/repos/scrooloose/syntastic/issues/1290","labels_url":"https://api.github.com/repos/scrooloose/syntastic/issues/1290/labels{/name}","comments_url":"https://api.github.com/repos/scrooloose/syntastic/issues/1290/comments","events_url":"https://api.github.com/repos/scrooloose/syntastic/issues/1290/events","html_url":"https://github.com/scrooloose/syntastic/pull/1290","id":53769538,"number":1290,"title":"Make tab-width and columnchar depend on expandtab","user":{"login":"euoia","id":1271216,"avatar_url":"https://avatars.githubusercontent.com/u/1271216?v=3","gravatar_id":"","url":"https://api.github.com/users/euoia","html_url":"https://github.com/euoia","followers_url":"https://api.github.com/users/euoia/followers","following_url":"https://api.github.com/users/euoia/following{/other_user}","gists_url":"https://api.github.com/users/euoia/gists{/gist_id}","starred_url":"https://api.github.com/users/euoia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euoia/subscriptions","organizations_url":"https://api.github.com/users/euoia/orgs","repos_url":"https://api.github.com/users/euoia/repos","events_url":"https://api.github.com/users/euoia/events{/privacy}","received_events_url":"https://api.github.com/users/euoia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-08T16:27:33Z","updated_at":"2015-01-08T22:55:08Z","closed_at":"2015-01-08T22:08:02Z","pull_request":{"url":"https://api.github.com/repos/scrooloose/syntastic/pulls/1290","html_url":"https://github.com/scrooloose/syntastic/pull/1290","diff_url":"https://github.com/scrooloose/syntastic/pull/1290.diff","patch_url":"https://github.com/scrooloose/syntastic/pull/1290.patch"},"body":"This PR makes it so that when using the phpcs PHP linter, a couple of settings are dependent on whether expandtab is set. This fixes the use-case where tabs and not spaces are used to indent lines."},"comment":{"url":"https://api.github.com/repos/scrooloose/syntastic/issues/comments/69265355","html_url":"https://github.com/scrooloose/syntastic/pull/1290#issuecomment-69265355","issue_url":"https://api.github.com/repos/scrooloose/syntastic/issues/1290","id":69265355,"user":{"login":"euoia","id":1271216,"avatar_url":"https://avatars.githubusercontent.com/u/1271216?v=3","gravatar_id":"","url":"https://api.github.com/users/euoia","html_url":"https://github.com/euoia","followers_url":"https://api.github.com/users/euoia/followers","following_url":"https://api.github.com/users/euoia/following{/other_user}","gists_url":"https://api.github.com/users/euoia/gists{/gist_id}","starred_url":"https://api.github.com/users/euoia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euoia/subscriptions","organizations_url":"https://api.github.com/users/euoia/orgs","repos_url":"https://api.github.com/users/euoia/repos","events_url":"https://api.github.com/users/euoia/events{/privacy}","received_events_url":"https://api.github.com/users/euoia/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T22:55:08Z","updated_at":"2015-01-08T22:55:08Z","body":"I understood what you mean by standard options. My point is that by specifying an option like `--tab-width` on the command line, you're diverging from the default mode of operation of the tool. Even if I manage to get `phpcs` to allow `tab-width` to be specified in the ruleset, I'd expect the command line option will override it.\r\n\r\nThe specific problem I have with syntastic specifying the tab-width is that my files are tab-indented and use the PSR2.Methods.FunctionCallSignature rule with an indent value of \"1\" (as-in, 1 tab). When my files are converted to spaces, phpcs expects an additional indent of 1 space (which they don't have).\r\n\r\nWhat's the reason for specifying `--tab-width=4` in the first place?"}}