{"push_id":749585088,"size":5,"distinct_size":1,"ref":"refs/heads/master","head":"0a597a6de1122566a7638a0bdc10f1b06d930ab2","before":"def79553a00d871a93422f86b6391d80b1b7bdf1","commits":[{"sha":"d524cf4d3b6d0f65bf9db0688db934d5e1bef725","author":{"email":"8f426802f2f9045cbb981363c8dded848450b5c2@greenflex.com","name":"Michaël Perrin"},"message":"[Console] Use readline for user input when available\n\nThis allows to use arrow keys in the terminal instead of having weird characters","distinct":false,"url":"https://api.github.com/repos/symfony/Console/commits/d524cf4d3b6d0f65bf9db0688db934d5e1bef725"},{"sha":"99c397c4768a829c3f843bb9811a4735dd3daab0","author":{"email":"8f426802f2f9045cbb981363c8dded848450b5c2@greenflex.com","name":"Michaël Perrin"},"message":"[Console] Fix Symfony coding standards violations","distinct":false,"url":"https://api.github.com/repos/symfony/Console/commits/99c397c4768a829c3f843bb9811a4735dd3daab0"},{"sha":"a651989dc0ee7cb4fc850bfe4a8d981a348178aa","author":{"email":"d4f8dcd89cfe40276c0fbf336903f4a05ab082c9@gmail.com","name":"Fabien Potencier"},"message":"feature #15382 [Console] Use readline for user input when available #DX (michaelperrin)\n\nThis PR was merged into the 2.8 branch.\n\nDiscussion\n----------\n\n[Console] Use readline for user input when available #DX\n\n| Q             | A\n| ------------- | ---\n| Bug fix?      | no\n| New feature?  | no\n| BC breaks?    | no\n| Deprecations? | no\n| Tests pass?   | yes\n| Fixed tickets |\n| License       | MIT\n| Doc PR        |\n\nGiven I am entering data in an user input\nWhen I use left and right keys to make some changes in what I have typed\nThen the cursor should move accordingly instead of adding characters at the end of the line\n\nTo make it simple: using the arrow keys (←  →)  to make changes to what I already typed would be much handier than getting `^[[D` and `^[[C` characters in the terminal and having to delete all chars to type everything again.\n\nI could not add any extra tests to this as the STDIN can't be used during tests. But they are not breaking and I tried again all types of questions (text, choices, hidden) by myself.\n\nNote that `readline` can't be used for hidden questions, as `stty -echo` is not taken into account.\n\nCommits\n-------\n\n0534899 [Console] Fix Symfony coding standards violations\n8b63d62 [Console] Use readline for user input when available","distinct":false,"url":"https://api.github.com/repos/symfony/Console/commits/a651989dc0ee7cb4fc850bfe4a8d981a348178aa"},{"sha":"eb0fcf6f58054ac9d07539451e27aa4e17aebfe0","author":{"email":"8f426802f2f9045cbb981363c8dded848450b5c2@greenflex.com","name":"Michaël Perrin"},"message":"[Console] Handle false return value from readline\n\n\"readline()\" returns \"false\" when the user presses CTRL+D.","distinct":false,"url":"https://api.github.com/repos/symfony/Console/commits/eb0fcf6f58054ac9d07539451e27aa4e17aebfe0"},{"sha":"0a597a6de1122566a7638a0bdc10f1b06d930ab2","author":{"email":"8d3fadd4fad95f65a95a07af54a8b1c515d4d5e3@gmail.com","name":"Nicolas Grekas"},"message":"Merge branch '2.8'\n\n* 2.8:\n  [travis] Build standalone phpunit without symfony/yaml\n  Clean wrong whitespaces\n  [travis] Build phpunit with local components\n  [Console] Handle false return value from readline\n  do not remove space between attributes\n  [HttpFoundation] fixed the check of 'proxy-revalidate' in Response::mustRevalidate()\n  Allow to define Enum nodes with 1 single element\n  Fix \"[Form] Add flexibility for EntityType\"\n  Remove the duplicated rendering of deprecation messages in the profiler\n  Fix the retrieval of the default value for variadic arguments\n  Annotated routes with a variadic parameter\n  [Locale] Fix Intl requirement\n  Fixing DbalSessionHandler to work with a Oracle \"limitation\" or bug?\n  Update EngineInterface.php\n  [Form] Add flexibility for EntityType\n  [Console] Fix Symfony coding standards violations\n  [Console] Use readline for user input when available\n  Better Iban Validation\n  Added a way to define the priority of service decoration\n  let Travis builds fail when PHP 7 jobs fail\n\nConflicts:\n\t.travis.yml\n\tUPGRADE-2.8.md\n\tsrc/Symfony/Bundle/SecurityBundle/composer.json\n\tsrc/Symfony/Bundle/TwigBundle/composer.json\n\tsrc/Symfony/Component/Locale/composer.json","distinct":true,"url":"https://api.github.com/repos/symfony/Console/commits/0a597a6de1122566a7638a0bdc10f1b06d930ab2"}]}