{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/3335","repository_url":"https://api.github.com/repos/Homebrew/homebrew-php","labels_url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/3335/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/3335/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/3335/events","html_url":"https://github.com/Homebrew/homebrew-php/issues/3335","id":163807027,"number":3335,"title":"phpunit 5.4.6 depending on php7.1","user":{"login":"MikeLund","id":17044744,"avatar_url":"https://avatars.githubusercontent.com/u/17044744?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeLund","html_url":"https://github.com/MikeLund","followers_url":"https://api.github.com/users/MikeLund/followers","following_url":"https://api.github.com/users/MikeLund/following{/other_user}","gists_url":"https://api.github.com/users/MikeLund/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeLund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeLund/subscriptions","organizations_url":"https://api.github.com/users/MikeLund/orgs","repos_url":"https://api.github.com/users/MikeLund/repos","events_url":"https://api.github.com/users/MikeLund/events{/privacy}","received_events_url":"https://api.github.com/users/MikeLund/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-05T09:23:42Z","updated_at":"2016-08-10T16:40:15Z","closed_at":"2016-08-10T16:40:14Z","body":"## Description\r\n\r\nUpgrading to phpunit 5.4.6 is requiring php 7.1 for some reason.\r\n\r\n## Context and Logs\r\n\r\nParameter | Value\r\n--------- | ------------------\r\n**OS X Version:**       | El Capitan 10.11.5\r\n**Homebrew Version:**   | 0.9.9\r\n**PHP Version in use:** | php 7.0.8\r\n**Xcode Version:**      | 7.3.1.0.1.1461711523\r\n\r\n**Output of gcc -v:**\r\nConfigured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\r\nApple LLVM version 7.3.0 (clang-703.0.31)\r\nTarget: x86_64-apple-darwin15.5.0\r\nThread model: posix\r\nInstalledDir: /Library/Developer/CommandLineTools/usr/bin\r\n\r\n**Output of php -v:**\r\nPHP 7.0.8 (cli) (built: Jun 23 2016 16:32:40) ( NTS )\r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies\r\n\r\n\r\n**Build logs:** \r\n> ~$ brew upgrade\r\n> ==> Upgrading 3 outdated packages, with result:\r\n> homebrew/php/phpunit 5.4.6, syncthing 0.13.10, youtube-dl 2016.07.03.1\r\n> ==> Upgrading homebrew/php/phpunit\r\n> ==> Installing dependencies for homebrew/php/phpunit: php71\r\n> ==> Installing homebrew/php/phpunit dependency: php71\r\n> Error: Cannot install homebrew/php/php71 because conflicting formulae are installed.\r\n>\r\n>  php70: because different php versions install the same binaries.\r\n>\r\n> Please `brew unlink php70` before continuing.\r\n>\r\n> Unlinking removes a formula's symlinks from /usr/local. You can\r\n> link the formula again after the install finishes. You can --force this\r\n> install, but the build may fail or cause obscure side-effects in the\r\n> resulting software.\r\n\r\n\r\n\r\n\r\nphpunit requires php ^5.6 || ^7.0. So my php70 package should still work fine, no?\r\n\r\nThis seems to be a bug similar to https://github.com/Homebrew/homebrew-php/issues/2945 . I imagine this isn't normal functionality, but if it is, it should really be explained better I think. Especially because if I ``brew install phpunit`` it goes fine, even without unlinking php70.\r\n\r\nThanks!"}}
{"actor":{"display_login":"javian"}}