[pkg-php-pear] Bug#904773: phpunit: Missing dependency on PHP 7.1 or 7.2
taffit at debian.org
Fri Aug 24 03:42:56 BST 2018
Thank you for your interest in the packaged PHPUnit version.
On Fri, Jul 27, 2018 at 06:36:35PM +0200, Pierre Thierry wrote:
> Package: phpunit
> Version: 7.2.7-1
> Severity: important
> The package could be installed but when running it halts with the following
> This version of PHPUnit is supported on PHP 7.1 and PHP 7.2.
> You are using PHP 7.0.22-3 (/usr/bin/php7.0).
The error message seems explicit enough to point the user to a relevant
From the title of this bug report:
> phpunit: Missing dependency on PHP 7.1 or 7.2
phpunit already depends on php-cli, that already depends on php7.2-cli
> -- System Information:
> Debian Release: buster/sid
> APT prefers testing
> APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
> Versions of packages phpunit depends on:
> ii php-cli 1:7.0+52
Seems like you chose to stick with an old version released over a year
ago. Anyway, even if phpunit depended on php7.2-cli or
php-cli (>= 1:7.2), it wouldn’t prevent you to install the php7.0-cli
package (still available in testing/unstable) nor, as a system
administrator, to set up /usr/bin/php7.0 as the /usr/bin/php
There is little that can be enforced on the package side IMHO. It’s
working as expected when using the default value, and less so if the
system administrator chose to set up their system differently (yet
providing a meaningful error message).
FYI, even if you stick to php7.0 as default php interpreter, you can
still run phpunit via “php7.2 /usr/bin/phpunit” (assuming the relevant
php7.2 dependencies are installed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: not available
More information about the pkg-php-pear