{"action":"created","issue":{"url":"https://api.github.com/repos/phpstan/phpstan/issues/2210","repository_url":"https://api.github.com/repos/phpstan/phpstan","labels_url":"https://api.github.com/repos/phpstan/phpstan/issues/2210/labels{/name}","comments_url":"https://api.github.com/repos/phpstan/phpstan/issues/2210/comments","events_url":"https://api.github.com/repos/phpstan/phpstan/issues/2210/events","html_url":"https://github.com/phpstan/phpstan/issues/2210","id":455757319,"node_id":"MDU6SXNzdWU0NTU3NTczMTk=","number":2210,"title":"provide stacktrace on fatal errors","user":{"login":"staabm","id":120441,"node_id":"MDQ6VXNlcjEyMDQ0MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/120441?v=4","gravatar_id":"","url":"https://api.github.com/users/staabm","html_url":"https://github.com/staabm","followers_url":"https://api.github.com/users/staabm/followers","following_url":"https://api.github.com/users/staabm/following{/other_user}","gists_url":"https://api.github.com/users/staabm/gists{/gist_id}","starred_url":"https://api.github.com/users/staabm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staabm/subscriptions","organizations_url":"https://api.github.com/users/staabm/orgs","repos_url":"https://api.github.com/users/staabm/repos","events_url":"https://api.github.com/users/staabm/events{/privacy}","received_events_url":"https://api.github.com/users/staabm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2019-06-13T13:56:18Z","updated_at":"2019-11-06T09:11:30Z","closed_at":"2019-06-13T16:07:21Z","author_association":"NONE","body":"# Feature request\r\n\r\nI try to setup phpstan for a legacy project. I am at a point in which the analysis gets started but gets interrupted by a PHP Parse Error:\r\n\r\n```\r\nphpstan analyse -vvv\r\nNote: Using configuration file phpstan.neon.\r\nPHP Parse error:  syntax error, unexpected 'new' (T_NEW) in /usr/share/php/SOAP/Server/TCP.php on line 67\r\n```\r\n\r\nmy problem is, that I am not able to figure out why phpstan thinks it needs to load and analyse this PEAR file.\r\n\r\nwouldn't it be possible to get a proper stacktrace for this error, so I can see which line of code - while beeing analyzed - triggers this error?\r\n\r\n```\r\nEnv:\r\nUbuntu 18 LTS\r\n\r\nphpstan -v\r\nPHPStan - PHP Static Analysis Tool 0.11.8\r\n\r\nphp -v\r\nPHP 7.2.19-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: May 31 2019 11:17:15) ( NTS )\r\nCopyright (c) 1997-2018 The PHP Group\r\nZend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies\r\n    with Zend OPcache v7.2.19-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies\r\n    with Xdebug v2.7.1, Copyright (c) 2002-2019, by Derick Rethans\r\n    with blackfire v1.25.0~linux-x64-non_zts72, https://blackfire.io, by Blackfire\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/phpstan/phpstan/issues/comments/550216841","html_url":"https://github.com/phpstan/phpstan/issues/2210#issuecomment-550216841","issue_url":"https://api.github.com/repos/phpstan/phpstan/issues/2210","id":550216841,"node_id":"MDEyOklzc3VlQ29tbWVudDU1MDIxNjg0MQ==","user":{"login":"staabm","id":120441,"node_id":"MDQ6VXNlcjEyMDQ0MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/120441?v=4","gravatar_id":"","url":"https://api.github.com/users/staabm","html_url":"https://github.com/staabm","followers_url":"https://api.github.com/users/staabm/followers","following_url":"https://api.github.com/users/staabm/following{/other_user}","gists_url":"https://api.github.com/users/staabm/gists{/gist_id}","starred_url":"https://api.github.com/users/staabm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staabm/subscriptions","organizations_url":"https://api.github.com/users/staabm/orgs","repos_url":"https://api.github.com/users/staabm/repos","events_url":"https://api.github.com/users/staabm/events{/privacy}","received_events_url":"https://api.github.com/users/staabm/received_events","type":"User","site_admin":false},"created_at":"2019-11-06T09:11:30Z","updated_at":"2019-11-06T09:11:30Z","author_association":"NONE","body":"ok, lets see https://github.com/phpstan/phpstan-src/pull/3/files"}}
{"actor":{"display_login":"staabm"}}