{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/19792","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/19792/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/19792/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/19792/events","html_url":"https://github.com/symfony/symfony/issues/19792","id":174190660,"number":19792,"title":"Process setTty does not test for device existence","user":{"login":"marfillaster","id":121793,"avatar_url":"https://avatars.githubusercontent.com/u/121793?v=3","gravatar_id":"","url":"https://api.github.com/users/marfillaster","html_url":"https://github.com/marfillaster","followers_url":"https://api.github.com/users/marfillaster/followers","following_url":"https://api.github.com/users/marfillaster/following{/other_user}","gists_url":"https://api.github.com/users/marfillaster/gists{/gist_id}","starred_url":"https://api.github.com/users/marfillaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marfillaster/subscriptions","organizations_url":"https://api.github.com/users/marfillaster/orgs","repos_url":"https://api.github.com/users/marfillaster/repos","events_url":"https://api.github.com/users/marfillaster/events{/privacy}","received_events_url":"https://api.github.com/users/marfillaster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Process","name":"Process","color":"DDDDDD"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Reviewed","name":"Status: Reviewed","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-31T05:55:20Z","updated_at":"2016-10-18T14:56:10Z","closed_at":null,"body":"```\r\n[Symfony\\Component\\Debug\\Exception\\ContextErrorException]                       \r\nWarning: proc_open(/dev/tty): failed to open stream: No such device or address \r\n```\r\n\r\nCaught this when I was running the builtin webserver in docker and have not enabled tty. \r\nTo replicate run `server:run -v` against 7cc6161\r\n\r\n```bash\r\ncd project\r\nPROJECT_ROOT=./ docker-compose up dev\r\n```\r\n\r\n```yaml\r\n# docker-compose.yml\r\nversion: '2'\r\nservices:\r\n  dev:\r\n    build: .\r\n    command: bash -c \"php composer.phar install -o --prefer-dist && app/console -v server:run 0.0.0.0:8000\"\r\n    ports:\r\n      - \"8000:8000\"\r\n    volumes:\r\n      - $PROJECT_ROOT:/code\r\n#    tty: true\r\n```\r\n\r\n```\r\n# Dockerfile\r\nFROM php:5.6-fpm\r\n\r\nRUN apt-get update && apt-get install -y \\\r\n    git libicu-dev zlib1g-dev libxslt-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*\r\n\r\nRUN docker-php-ext-install pdo_mysql intl zip xsl pcntl && \\\r\n    pecl install apcu-4.0.11 &&  \\\r\n    docker-php-ext-enable apcu\r\n\r\nRUN echo \"date.timezone = Asia/Manila\" >> /usr/local/etc/php/php.ini\r\n\r\nWORKDIR /code\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/254533786","html_url":"https://github.com/symfony/symfony/issues/19792#issuecomment-254533786","issue_url":"https://api.github.com/repos/symfony/symfony/issues/19792","id":254533786,"user":{"login":"jakzal","id":190447,"avatar_url":"https://avatars.githubusercontent.com/u/190447?v=3","gravatar_id":"","url":"https://api.github.com/users/jakzal","html_url":"https://github.com/jakzal","followers_url":"https://api.github.com/users/jakzal/followers","following_url":"https://api.github.com/users/jakzal/following{/other_user}","gists_url":"https://api.github.com/users/jakzal/gists{/gist_id}","starred_url":"https://api.github.com/users/jakzal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakzal/subscriptions","organizations_url":"https://api.github.com/users/jakzal/orgs","repos_url":"https://api.github.com/users/jakzal/repos","events_url":"https://api.github.com/users/jakzal/events{/privacy}","received_events_url":"https://api.github.com/users/jakzal/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T14:56:10Z","updated_at":"2016-10-18T14:56:10Z","body":"Confirmed on master.\r\n\r\nStatus: reviewed"}}
{"actor":{"display_login":"jakzal"}}