Skip to content

Commit

Permalink
Tools: fix typo
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jrfnl committed Sep 20, 2021
1 parent 7b145b5 commit 608ad1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configs/tools.json
Expand Up @@ -210,7 +210,7 @@
"type": "custom-function",
"repository": "sebastianbergmann/phpunit",
"domain": "https://phar.phpunit.de",
"function": "phpcpd",
"function": "phpunit",
"version_prefix": "",
"version_parameter": "--version"
},
Expand Down

0 comments on commit 608ad1a

Please sign in to comment.