{"action":"created","issue":{"url":"https://api.github.com/repos/zendframework/zendframework/issues/7771","repository_url":"https://api.github.com/repos/zendframework/zendframework","labels_url":"https://api.github.com/repos/zendframework/zendframework/issues/7771/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zendframework/issues/7771/comments","events_url":"https://api.github.com/repos/zendframework/zendframework/issues/7771/events","html_url":"https://github.com/zendframework/zendframework/issues/7771","id":263159495,"number":7771,"title":"ZF3, Doctrine and PHP 7.1+","user":{"login":"Nukeface","id":3327864,"avatar_url":"https://avatars0.githubusercontent.com/u/3327864?v=4","gravatar_id":"","url":"https://api.github.com/users/Nukeface","html_url":"https://github.com/Nukeface","followers_url":"https://api.github.com/users/Nukeface/followers","following_url":"https://api.github.com/users/Nukeface/following{/other_user}","gists_url":"https://api.github.com/users/Nukeface/gists{/gist_id}","starred_url":"https://api.github.com/users/Nukeface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nukeface/subscriptions","organizations_url":"https://api.github.com/users/Nukeface/orgs","repos_url":"https://api.github.com/users/Nukeface/repos","events_url":"https://api.github.com/users/Nukeface/events{/privacy}","received_events_url":"https://api.github.com/users/Nukeface/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-05T15:03:09Z","updated_at":"2017-10-06T09:42:22Z","closed_at":null,"author_association":"NONE","body":"Been trying to upgrade ZF2 to ZF3 and stumbled upon the issue that ZF3 does not support PHP7.1. News a few months ago was that this would be supported. As such, I've had to downgrade my project.\r\n\r\n**What are the plans for upgrading ZF repo's to support PHP 7.1?** \r\n\r\nBlog: https://framework.zend.com/blog/2017-06-06-zf-php-7-1.html\r\nQuote: \r\n\r\n> As such, our plan is this:\r\n> \r\n> We will start releasing new major versions of components that pin to PHP 7.1+, so we can take advantage of the latest language features.\r\n> \r\n> We will no longer test against HHVM. Most of our components were failing against HHVM already, so this does not pose a BC break at this time.\r\n> \r\n> We will continue providing security patches only to the last release branch supporting PHP 5.6 until PHP 5.6 reaches its end-of-life date. This allows us to minimize the amount of maintenance we need for supporting these versions, while still providing stable, secure releases for our PHP 5 users.\r\n> \r\n> New components will pin to PHP 7.1+.\r\n \r\n**A result of having to downgrade when using Doctrine**\r\n> **composer output**\r\n>   - Updating doctrine/instantiator (1.1.0 => 1.0.5):  Checking out 8e884e78f9\r\n>   - Updating doctrine/collections (v1.5.0 => v1.4.0):  Checking out 1a4fb7e902\r\n>   - Updating doctrine/cache (v1.7.1 => v1.6.2):  Checking out eb152c5100\r\n>   - Updating doctrine/annotations (v1.5.0 => v1.4.0):  Checking out 54cacc9b81\r\n>   - Updating doctrine/common (v2.8.1 => v2.7.3):  Checking out 4acb8f8962\r\n>   - Updating doctrine/dbal (v2.6.2 => v2.5.13):  Checking out 729340d8d1\r\n\r\nAlso, the End of Active Support of PHP 7.0 is coming up on 3rd December 2017 (EOL on 3rd Dec 2018)\r\nhttp://php.net/supported-versions.php\r\n\r\nMaybe @Ocramius or @weierophinney could render an opinion/share plans for this?"},"comment":{"url":"https://api.github.com/repos/zendframework/zendframework/issues/comments/334708702","html_url":"https://github.com/zendframework/zendframework/issues/7771#issuecomment-334708702","issue_url":"https://api.github.com/repos/zendframework/zendframework/issues/7771","id":334708702,"user":{"login":"Nukeface","id":3327864,"avatar_url":"https://avatars0.githubusercontent.com/u/3327864?v=4","gravatar_id":"","url":"https://api.github.com/users/Nukeface","html_url":"https://github.com/Nukeface","followers_url":"https://api.github.com/users/Nukeface/followers","following_url":"https://api.github.com/users/Nukeface/following{/other_user}","gists_url":"https://api.github.com/users/Nukeface/gists{/gist_id}","starred_url":"https://api.github.com/users/Nukeface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nukeface/subscriptions","organizations_url":"https://api.github.com/users/Nukeface/orgs","repos_url":"https://api.github.com/users/Nukeface/repos","events_url":"https://api.github.com/users/Nukeface/events{/privacy}","received_events_url":"https://api.github.com/users/Nukeface/received_events","type":"User","site_admin":false},"created_at":"2017-10-06T09:42:22Z","updated_at":"2017-10-06T09:42:22Z","author_association":"NONE","body":"Hi, thanks for your quick reply.\r\n\r\nGoing back over what I've done and tested before writing the above and before your reply, I think I found that the problem was on my side. \r\n\r\nI did 2 things wrong: misinterpreted the `^` with composer (`^7.0` locks php version to minimum of `>=7.0.0.0-stable <8.0.0.0-stable`, where as I was thinking `7.0.*` instead) and I during the mucking about with composer to get an install-able package I had lowered my PHP version to 7.0.23, which caused composer to install earlier versions of the Doctrine packages I cited, but I of course had forgotten that I had lowered it.\r\n\r\nI just corrected the second (PHP version) and ran `composer update --prefer-source` and it gave me:\r\n\r\n> $ composer update --prefer-source\r\n> Loading composer repositories with package information\r\n> Updating dependencies (including require-dev)\r\n> Package operations: 0 installs, 11 updates, 0 removals\r\n>   - Updating zendframework/zend-code (3.1.0 => 3.2.0):  Checking out 02944646c1\r\n>   - Updating doctrine/instantiator (1.0.5 => 1.1.0):  Checking out 185b8868aa\r\n>   - Updating phpunit/phpunit (6.3.1 => 6.4.0):  Checking out a1bcaca096\r\n>   - Updating doctrine/annotations (v1.4.0 => v1.5.0):  Checking out 5beebb01b0\r\n>   - Updating doctrine/cache (v1.6.2 => v1.7.1):  Checking out b3217d5860\r\n>   - Updating doctrine/collections (v1.4.0 => v1.5.0):  Checking out a01ee38fcd\r\n>   - Updating doctrine/common (v2.7.3 => v2.8.1):  Checking out f68c297ce6\r\n>   - Updating doctrine/dbal (v2.5.13 => v2.6.2):  Checking out 1a4ee83a5a\r\n>   - Updating symfony/debug (v3.3.9 => v3.3.10):  Checking out eb95d9ce8f\r\n>   - Updating symfony/console (v3.3.9 => v3.3.10):  Checking out 116bc56e45\r\n>   - Updating symfony/process (v3.3.9 => v3.3.10):  Checking out fdf89e57a7\r\n> Writing lock file\r\n> Generating autoload files\r\n\r\nSo, sorry for the trouble and thanks for the reply. 👍 \r\n"}}
{"actor":{"display_login":"Nukeface"}}