{"action":"created","issue":{"url":"https://api.github.com/repos/emacs-php/phpstan.el/issues/6","repository_url":"https://api.github.com/repos/emacs-php/phpstan.el","labels_url":"https://api.github.com/repos/emacs-php/phpstan.el/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/emacs-php/phpstan.el/issues/6/comments","events_url":"https://api.github.com/repos/emacs-php/phpstan.el/issues/6/events","html_url":"https://github.com/emacs-php/phpstan.el/issues/6","id":319281787,"number":6,"title":"error : \"Could not open input file: analyze\"","user":{"login":"kermorgant","id":10561580,"avatar_url":"https://avatars1.githubusercontent.com/u/10561580?v=4","gravatar_id":"","url":"https://api.github.com/users/kermorgant","html_url":"https://github.com/kermorgant","followers_url":"https://api.github.com/users/kermorgant/followers","following_url":"https://api.github.com/users/kermorgant/following{/other_user}","gists_url":"https://api.github.com/users/kermorgant/gists{/gist_id}","starred_url":"https://api.github.com/users/kermorgant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kermorgant/subscriptions","organizations_url":"https://api.github.com/users/kermorgant/orgs","repos_url":"https://api.github.com/users/kermorgant/repos","events_url":"https://api.github.com/users/kermorgant/events{/privacy}","received_events_url":"https://api.github.com/users/kermorgant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-01T18:26:41Z","updated_at":"2018-05-03T03:26:08Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nThank you for your work on this package.\r\n\r\nI'm been using spacemacs (develop branch) and phpstan separately for some time, but after having discovered this package, I wanted to give it a try.\r\n\r\nI tried with phpstan installed globally and falled back to docker, but had the same error on both attempts\r\n\r\n```\r\nSuspicious state from syntax checker phpstan: Flycheck checker phpstan returned non-zero exit code 1, but its output contained no errors: Could not open input file: analyze\r\n```\r\n\r\nCan that error message tell what is wrong with my setup ?\r\n\r\nI'm using this in .dir-locals.el\r\n\r\n```\r\n((nil . ((php-project-root . git)\r\n         (phpstan-executable . docker)\r\n         (phpstan-working-dir . (root . \".\"))\r\n         (phpstan-config-file . (root . \"./phpstan.neon\"))\r\n         (phpstan-level . 7))))\r\n```\r\n\r\nThen, I've begun a private php layer where I initialize some things and which could contain the source of this error, but it is more a spacemacs thing so I'lle leave it out for now.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/emacs-php/phpstan.el/issues/comments/386182742","html_url":"https://github.com/emacs-php/phpstan.el/issues/6#issuecomment-386182742","issue_url":"https://api.github.com/repos/emacs-php/phpstan.el/issues/6","id":386182742,"user":{"login":"zonuexe","id":822086,"avatar_url":"https://avatars1.githubusercontent.com/u/822086?v=4","gravatar_id":"","url":"https://api.github.com/users/zonuexe","html_url":"https://github.com/zonuexe","followers_url":"https://api.github.com/users/zonuexe/followers","following_url":"https://api.github.com/users/zonuexe/following{/other_user}","gists_url":"https://api.github.com/users/zonuexe/gists{/gist_id}","starred_url":"https://api.github.com/users/zonuexe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonuexe/subscriptions","organizations_url":"https://api.github.com/users/zonuexe/orgs","repos_url":"https://api.github.com/users/zonuexe/repos","events_url":"https://api.github.com/users/zonuexe/events{/privacy}","received_events_url":"https://api.github.com/users/zonuexe/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T03:26:08Z","updated_at":"2018-05-03T03:26:08Z","author_association":"OWNER","body":"@kermorgant Thank you for pointing that out.\r\nThe problem seems to have been resolved by your contribution. (I thought it at the time of documentation, but the implementation was missing)\r\n\r\nNow I am on a journey to visit my old friend, so I apologize that I can not respond at once."}}
{"actor":{"display_login":"zonuexe"}}