{"action":"closed","issue":{"url":"https://api.github.com/repos/spress/Spress/issues/33","labels_url":"https://api.github.com/repos/spress/Spress/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/spress/Spress/issues/33/comments","events_url":"https://api.github.com/repos/spress/Spress/issues/33/events","html_url":"https://github.com/spress/Spress/issues/33","id":55407178,"number":33,"title":"PHP warning thrown when building a site with plugins","user":{"login":"yosymfony","id":3321099,"avatar_url":"https://avatars.githubusercontent.com/u/3321099?v=3","gravatar_id":"","url":"https://api.github.com/users/yosymfony","html_url":"https://github.com/yosymfony","followers_url":"https://api.github.com/users/yosymfony/followers","following_url":"https://api.github.com/users/yosymfony/following{/other_user}","gists_url":"https://api.github.com/users/yosymfony/gists{/gist_id}","starred_url":"https://api.github.com/users/yosymfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosymfony/subscriptions","organizations_url":"https://api.github.com/users/yosymfony/orgs","repos_url":"https://api.github.com/users/yosymfony/repos","events_url":"https://api.github.com/users/yosymfony/events{/privacy}","received_events_url":"https://api.github.com/users/yosymfony/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spress/Spress/labels/Bug","name":"Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-25T09:33:07Z","updated_at":"2015-01-25T10:05:49Z","closed_at":"2015-01-25T10:05:49Z","body":"If you are using `spress.phar` with a site with plugins, when you run `site:build` command, PHP throw a warning: \r\n```\r\nPHP Warning:  file_get_contents(phar:///usr/local/bin/spress.phar/vendor/composer/composer/src/Composer/Json/../../../res/composer-schema.json): \r\nfailed to open stream: phar error: \"vendor/composer/composer/res/composer-schema.json\" is not a file in phar \"/usr/local/bin/spress.phar\" in \r\nphar:///usr/local/bin/spress.phar/vendor/composer/composer/src/Composer/Json/JsonFile.php on line 153\r\n```"}}