{"action":"created","issue":{"url":"https://api.github.com/repos/phpmd/phpmd/issues/345","repository_url":"https://api.github.com/repos/phpmd/phpmd","labels_url":"https://api.github.com/repos/phpmd/phpmd/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/phpmd/phpmd/issues/345/comments","events_url":"https://api.github.com/repos/phpmd/phpmd/issues/345/events","html_url":"https://github.com/phpmd/phpmd/issues/345","id":131613626,"number":345,"title":"Development Code Fragment feature is not working","user":{"login":"chrisyue","id":129517,"avatar_url":"https://avatars.githubusercontent.com/u/129517?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisyue","html_url":"https://github.com/chrisyue","followers_url":"https://api.github.com/users/chrisyue/followers","following_url":"https://api.github.com/users/chrisyue/following{/other_user}","gists_url":"https://api.github.com/users/chrisyue/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisyue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisyue/subscriptions","organizations_url":"https://api.github.com/users/chrisyue/orgs","repos_url":"https://api.github.com/users/chrisyue/repos","events_url":"https://api.github.com/users/chrisyue/events{/privacy}","received_events_url":"https://api.github.com/users/chrisyue/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phpmd/phpmd/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/phpmd/phpmd/milestones/20","html_url":"https://github.com/phpmd/phpmd/milestones/2.4.3","labels_url":"https://api.github.com/repos/phpmd/phpmd/milestones/20/labels","id":1636937,"number":20,"title":"2.4.3","description":null,"creator":{"login":"manuelpichler","id":58714,"avatar_url":"https://avatars.githubusercontent.com/u/58714?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelpichler","html_url":"https://github.com/manuelpichler","followers_url":"https://api.github.com/users/manuelpichler/followers","following_url":"https://api.github.com/users/manuelpichler/following{/other_user}","gists_url":"https://api.github.com/users/manuelpichler/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelpichler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelpichler/subscriptions","organizations_url":"https://api.github.com/users/manuelpichler/orgs","repos_url":"https://api.github.com/users/manuelpichler/repos","events_url":"https://api.github.com/users/manuelpichler/events{/privacy}","received_events_url":"https://api.github.com/users/manuelpichler/received_events","type":"User","site_admin":false},"open_issues":71,"closed_issues":3,"state":"open","created_at":"2016-03-10T16:03:01Z","updated_at":"2016-03-11T10:43:53Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-02-05T11:01:02Z","updated_at":"2016-03-22T11:22:17Z","closed_at":null,"body":"```\r\n$ phpmd --version\r\nPHPMD 2.3.2\r\n\r\n$ phpmd path/to/File.php text design\r\n```\r\nthe exit code is 0, but the File.php does contain `var_dump` and `print_r`\r\n\r\nand the other features in design are working i think (I only test checking `die/exit`, `goto`, `eval`)"},"comment":{"url":"https://api.github.com/repos/phpmd/phpmd/issues/comments/199767046","html_url":"https://github.com/phpmd/phpmd/issues/345#issuecomment-199767046","issue_url":"https://api.github.com/repos/phpmd/phpmd/issues/345","id":199767046,"user":{"login":"ravage84","id":625761,"avatar_url":"https://avatars.githubusercontent.com/u/625761?v=3","gravatar_id":"","url":"https://api.github.com/users/ravage84","html_url":"https://github.com/ravage84","followers_url":"https://api.github.com/users/ravage84/followers","following_url":"https://api.github.com/users/ravage84/following{/other_user}","gists_url":"https://api.github.com/users/ravage84/gists{/gist_id}","starred_url":"https://api.github.com/users/ravage84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravage84/subscriptions","organizations_url":"https://api.github.com/users/ravage84/orgs","repos_url":"https://api.github.com/users/ravage84/repos","events_url":"https://api.github.com/users/ravage84/events{/privacy}","received_events_url":"https://api.github.com/users/ravage84/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T11:22:17Z","updated_at":"2016-03-22T11:22:17Z","body":"@chrisyue  can you reduce the example to the following and still confirm the issue?\r\n\r\n```` php\r\n<?php\r\n\r\nnamespace AppBundle\\Controller\\Front;\r\n\r\nclass Foo\r\n{\r\n    public function testFoo()\r\n    {\r\n        var_dump($hotsales = '');\r\n    }\r\n}\r\n````"}}