com pftt2: Correction to check if PHP version is 7.x: src/com/mostc/pftt/model/core/PhpBuild.java
| From: | Anatol Belski | Date: | Thu, 18 Apr 2019 17:47:53 +0000 |
| Subject: | com pftt2: Correction to check if PHP version is 7.x: src/com/mostc/pftt/model/core/PhpBuild.java | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-68476@lists.php.net to get a copy of this message | ||
Commit: f6754f318f108be42f9e6c1b0afd88ec63db01ec
Author: Allen Truong <v-altruo@microsoft.com> Wed, 17 Apr 2019 16:10:08 -0700
Committer: Anatol Belski <ab@php.net> Thu, 18 Apr 2019 19:47:53 +0200
Parents: 94dfdb64fa5c0ce7ad0fa9dd056f28feef9a97cd
Branches: master
Link: http://git.php.net/?p=pftt2.git;a=commitdiff;h=f6754f318f108be42f9e6c1b0afd88ec63db01ec
Log:
Correction to check if PHP version is 7.x
Changed paths:
M src/com/mostc/pftt/model/core/PhpBuild.java
Diff:
diff --git a/src/com/mostc/pftt/model/core/PhpBuild.java
b/src/com/mostc/pftt/model/core/PhpBuild.java
index 32d53a0..f0161b5 100644
--- a/src/com/mostc/pftt/model/core/PhpBuild.java
+++ b/src/com/mostc/pftt/model/core/PhpBuild.java
@@ -645,7 +645,7 @@ public class PhpBuild extends SAPIManager {
}
public boolean is7(ConsoleManager cm, Host host) {
- return is70(cm, host) || is73(cm, host) || is73(cm, host) || is73(cm, host);
+ return is70(cm, host) || is71(cm, host) || is72(cm, host) || is73(cm, host);
}
public boolean isMaster(ConsoleManager cm, Host host) {