mirror of
https://github.com/php/pftt2.git
synced 2026-03-24 17:22:08 +01:00
[PR #94] Updated to support both PHPUnit 5 and PHPUnit 6. #115
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/php/pftt2/pull/94
Author: @lavturo
Created: 2/5/2020
Status: 🔄 Open
Base:
master← Head:fix_issue5📝 Commits (1)
6a7b40dUpdated to support both PHPUnit 5 and PHPUnit 6.📊 Changes
8 files changed (+270 additions, -120 deletions)
View changed files
📝
.gitignore(+1 -1)📝
cache/helloworld/tests/HelloWorldTest.php(+1 -1)📝
src/com/mostc/pftt/host/Host.java(+4 -2)📝
src/com/mostc/pftt/main/PfttAuto.java(+1 -1)📝
src/com/mostc/pftt/main/PfttMain.java(+9 -7)📝
src/com/mostc/pftt/model/app/PhpUnitDist.java(+2 -3)📝
src/com/mostc/pftt/model/app/PhpUnitTemplate.groovy(+191 -79)📝
src/com/mostc/pftt/util/HostEnvUtil.java(+61 -26)📄 Description
@dalehhirt @cmb69 Please check the changes made.
The major difference between PHPUnit 5 and PHPUnit 6 is how it reads classes/namespace.
Due to that, I had to update the HelloWorldTest. The code assumes you will use PHPUnit 6 as default unless it is for Joomla, then it uses PHPUnit 5.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.