{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/7323","repository_url":"https://api.github.com/repos/facebook/hhvm","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/7323/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/7323/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/7323/events","html_url":"https://github.com/facebook/hhvm/issues/7323","id":175786298,"number":7323,"title":"PHP7 mode issue with composer dependency installs","user":{"login":"photodude","id":10253980,"avatar_url":"https://avatars.githubusercontent.com/u/10253980?v=3","gravatar_id":"","url":"https://api.github.com/users/photodude","html_url":"https://github.com/photodude","followers_url":"https://api.github.com/users/photodude/followers","following_url":"https://api.github.com/users/photodude/following{/other_user}","gists_url":"https://api.github.com/users/photodude/gists{/gist_id}","starred_url":"https://api.github.com/users/photodude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/photodude/subscriptions","organizations_url":"https://api.github.com/users/photodude/orgs","repos_url":"https://api.github.com/users/photodude/repos","events_url":"https://api.github.com/users/photodude/events{/privacy}","received_events_url":"https://api.github.com/users/photodude/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/hhvm/labels/duplicate","name":"duplicate","color":"000000"},{"url":"https://api.github.com/repos/facebook/hhvm/labels/framework%20parity","name":"framework parity","color":"006b75"},{"url":"https://api.github.com/repos/facebook/hhvm/labels/mid-pri","name":"mid-pri","color":"fad8c7"},{"url":"https://api.github.com/repos/facebook/hhvm/labels/php7%20incompatibility","name":"php7 incompatibility","color":"0052cc"},{"url":"https://api.github.com/repos/facebook/hhvm/labels/probably%20easy","name":"probably easy","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-08T15:33:06Z","updated_at":"2016-09-08T18:23:31Z","closed_at":"2016-09-08T18:23:31Z","body":"### HHVM Version\r\n3.15 **with PHP 7 mode fully enabled**\r\n### Standalone code, or other way to reproduce the problem\r\ninstall dependencies with composer via `composer install`\r\n### Expected result\r\ncomposer works the same way that it does in HHVM php 5 mode\r\n### Actual result\r\n```php\r\n[ErrorException] rtrim() expects parameter 1 to be string, null given\r\n```\r\nThe specifics of what `rtrim()` should have received that resulted in null being passed are unknown, as the error did not identify what line caused the failure. Based on where the travis build failed is how I extrapolated that the issue is related to something composer was expecting to be passed to `rtrim()` during the `composer install`.\r\n\r\nIMO this is not a composer issue but an issue caused by something HHVM is doing differently with PHP 7 mode fully enabled.\r\n\r\nTravis build https://travis-ci.org/photodude/joomla-cms/jobs/158463036\r\n\r\nPossibly related to another HHVM composer issue with HHVM3.14 in this travis build https://travis-ci.org/photodude/joomla-cms/jobs/157488284\r\n```php\r\nFatal error: Uncaught TypeError: Argument 1 passed to unserialize() must be an instance of string, null given in /home/travis/.phpenv/versions/hhvm-stable/bin/composer:23\r\nStack trace:\r\n#0 (): unserialize()\r\n#1 (): __SystemLib\\PharArchiveHandler->parsePhar()\r\n#2 (): __SystemLib\\PharArchiveHandler->__construct()\r\n#3 (): Phar->__construct()\r\n#4 /home/travis/.phpenv/versions/hhvm-stable/bin/composer(23): Phar::mapPhar()\r\n#5 {main}\r\n```\r\n\r\nSeems something in HHVM **with PHP 7 mode fully enabled** is causing a lot of functions to receive null for input."},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/245691717","html_url":"https://github.com/facebook/hhvm/issues/7323#issuecomment-245691717","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/7323","id":245691717,"user":{"login":"aorenste","id":19294870,"avatar_url":"https://avatars.githubusercontent.com/u/19294870?v=3","gravatar_id":"","url":"https://api.github.com/users/aorenste","html_url":"https://github.com/aorenste","followers_url":"https://api.github.com/users/aorenste/followers","following_url":"https://api.github.com/users/aorenste/following{/other_user}","gists_url":"https://api.github.com/users/aorenste/gists{/gist_id}","starred_url":"https://api.github.com/users/aorenste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aorenste/subscriptions","organizations_url":"https://api.github.com/users/aorenste/orgs","repos_url":"https://api.github.com/users/aorenste/repos","events_url":"https://api.github.com/users/aorenste/events{/privacy}","received_events_url":"https://api.github.com/users/aorenste/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T18:23:31Z","updated_at":"2016-09-08T18:23:31Z","body":"Marking as a dup of #7198\r\n"}}
{"actor":{"display_login":"aorenste"}}