From 608ad1a0cf1fb46147a9b08450a63516794a949c Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 20 Sep 2021 02:01:13 +0200 Subject: [PATCH] Tools: fix typo While the PHPCPD and PHPUnit tools use the [same function under the hood](https://github.com/shivammathur/setup-php/blob/1fa3ba1b162e818eed12eed233c9837299574948/src/tools.ts#L461-L473), I have the impression that the `function` keyword should be the tool name. If that's correct, this should fix it. --- src/configs/tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configs/tools.json b/src/configs/tools.json index 3303430e..a54cc178 100644 --- a/src/configs/tools.json +++ b/src/configs/tools.json @@ -210,7 +210,7 @@ "type": "custom-function", "repository": "sebastianbergmann/phpunit", "domain": "https://phar.phpunit.de", - "function": "phpcpd", + "function": "phpunit", "version_prefix": "", "version_parameter": "--version" },