{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-phpmd/issues/38","labels_url":"https://api.github.com/repos/AtomLinter/linter-phpmd/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-phpmd/issues/38/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-phpmd/issues/38/events","html_url":"https://github.com/AtomLinter/linter-phpmd/issues/38","id":124125795,"number":38,"title":"\"Mandatory arguments\" error","user":{"login":"rugk","id":11966684,"avatar_url":"https://avatars.githubusercontent.com/u/11966684?v=3","gravatar_id":"","url":"https://api.github.com/users/rugk","html_url":"https://github.com/rugk","followers_url":"https://api.github.com/users/rugk/followers","following_url":"https://api.github.com/users/rugk/following{/other_user}","gists_url":"https://api.github.com/users/rugk/gists{/gist_id}","starred_url":"https://api.github.com/users/rugk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rugk/subscriptions","organizations_url":"https://api.github.com/users/rugk/orgs","repos_url":"https://api.github.com/users/rugk/repos","events_url":"https://api.github.com/users/rugk/events{/privacy}","received_events_url":"https://api.github.com/users/rugk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-28T20:59:30Z","updated_at":"2015-12-29T11:46:56Z","closed_at":null,"body":"Juts after installing and editing a PHP file I get this error:\r\n\r\n> Error: Mandatory arguments: 1) A php source code filename or directory. Can be a comma-separated string 2) A report format 3) A ruleset filename or a comma-separated string of rulesetfilenames\r\n\r\n>Available formats: xml, text, html. Available rulesets: cleancode, codesize, controversial, design, naming, unusedcode.\r\n\r\n>Optional arguments that may be put after the mandatory arguments: --minimumpriority: rule priority threshold; rules \r\n\r\n>```\r\nError: Mandatory arguments:\r\n1) A php source code filename or directory. Can be a comma-separated string\r\n2) A report format\r\n3) A ruleset filename or a comma-separated string of rulesetfilenames\r\n\r\n>Available formats: xml, text, html.\r\nAvailable rulesets: cleancode, codesize, controversial, design, naming, unusedcode.\r\n\r\n>Optional arguments that may be put after the mandatory arguments:\r\n--minimumpriority: rule priority threshold; rules with lower priority than this will not be used\r\n--reportfile: send report output to a file; default to STDOUT\r\n--suffixes: comma-separated string of valid source code filename extensions\r\n--exclude: comma-separated string of patterns that are used to ignore directories\r\n--strict: also report those nodes with a @SuppressWarnings annotation\r\n\r\n>    at parameters.exit (D:\\Users\\%username%\\.atom\\packages\\linter-phpmd\\node_modules\\atom-linter\\lib\\helpers.js:58:20)\r\n    at triggerExitCallback (C:\\Users\\%username%\\AppData\\Local\\atom\\app-1.3.2\\resources\\app.asar\\src\\buffered-process.js:213:47)\r\n    at ChildProcess.<anonymous> (C:\\Users\\%username%\\AppData\\Local\\atom\\app-1.3.2\\resources\\app.asar\\src\\buffered-process.js:235:18)\r\n    at emitTwo (events.js:87:13)\r\n    at ChildProcess.emit (events.js:172:7)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\n```"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-phpmd/issues/comments/167772290","html_url":"https://github.com/AtomLinter/linter-phpmd/issues/38#issuecomment-167772290","issue_url":"https://api.github.com/repos/AtomLinter/linter-phpmd/issues/38","id":167772290,"user":{"login":"rugk","id":11966684,"avatar_url":"https://avatars.githubusercontent.com/u/11966684?v=3","gravatar_id":"","url":"https://api.github.com/users/rugk","html_url":"https://github.com/rugk","followers_url":"https://api.github.com/users/rugk/followers","following_url":"https://api.github.com/users/rugk/following{/other_user}","gists_url":"https://api.github.com/users/rugk/gists{/gist_id}","starred_url":"https://api.github.com/users/rugk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rugk/subscriptions","organizations_url":"https://api.github.com/users/rugk/orgs","repos_url":"https://api.github.com/users/rugk/repos","events_url":"https://api.github.com/users/rugk/events{/privacy}","received_events_url":"https://api.github.com/users/rugk/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T11:46:56Z","updated_at":"2015-12-29T11:46:56Z","body":"I've just set up the path to the phpmd.phar. The rulesets are the default ones.\r\n\r\n![configphpmd](https://cloud.githubusercontent.com/assets/11966684/12033934/f32ec946-ae29-11e5-8c12-bf6910391962.PNG)\r\n\r\nWhen this package activated I get this error every time I save a PHP file."}}