Bug 219014 - devel/phpunit: Ignore with PHP 70 & 71
Summary: devel/phpunit: Ignore with PHP 70 & 71
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Torsten Zuehlsdorff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-02 15:20 UTC by Jochen Neumeister
Modified: 2017-05-03 14:22 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (tz)


Attachments
Patch (590 bytes, patch)
2017-05-02 15:20 UTC, Jochen Neumeister
joneum: maintainer-approval? (tz)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Neumeister freebsd_committer freebsd_triage 2017-05-02 15:20:58 UTC
Created attachment 182247 [details]
Patch

devel/phpinit is only for PHP 56.
For PHP 70, there is devel/phpunit6
Comment 1 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2017-05-03 10:40:56 UTC
It currently works with PHP 7.0 and PHP 7.1. (Didn't it?)

So: is there any other reason for the ignore?
Comment 2 Jochen Neumeister freebsd_committer freebsd_triage 2017-05-03 13:51:56 UTC
(In reply to Torsten Zuehlsdorff from comment #1)

The release notes show that PHP 70 and PHP 71 are not supported. If it is, it is random.
Comment 3 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2017-05-03 13:55:05 UTC
(In reply to Jochen Neumeister from comment #2)

> The release notes show that PHP 70 and PHP 71 are not supported. 
> If it is, it is random.

That is right. But "not supported" is justified with "PHP 5.6 is no longer supported". Not with "it doesn't work". 

Also PHP 7.0 and 7.1 syntax, functions or semantics are very unlikely to change. So i'm hesitant to remove something working, which will work much longer, without another reason.
Comment 4 Jochen Neumeister freebsd_committer freebsd_triage 2017-05-03 14:00:42 UTC
(In reply to Torsten Zuehlsdorff from comment #3)

So we can remove this Port, ans use devel/phpunit6 for all PHP versions. There must then also be released for PHP56 (So, phpunit6 works with PHP56)
Comment 5 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2017-05-03 14:13:26 UTC
Not really. phpunit6 is under active development and therefore changes regularly. Therefore there is a high change to break PHP 5.6 support in the future. phpunit5 on the other side did not change. To break devel/phpunit we need an very unlikle API, Syntax or Semantik change in PHP - which is guaranteed not to happen until PHP 7.2.

But we can remove phpunit5 when we finally bump our default PHP version to 7. :)
Comment 6 Jochen Neumeister freebsd_committer freebsd_triage 2017-05-03 14:20:14 UTC
Okay, then we close the PR here
Comment 7 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2017-05-03 14:22:49 UTC
Done. :)

Thanks for the patch and the discussion!