Commit Graph
6 Commits
Author SHA1 Message Date
jrfnl 608ad1a0cf 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.
2021-09-20 02:22:42 +02:00
jrfnl fa5fbefff9 Tools: add support for phpDocumentor 2021-09-19 13:41:39 +02:00
Shivam Mathur 4d3cfaa653 Fixed support for php-cs-fixer
Added fetch_latest to tools.json. When fetch_latest is true for a tool
it will fetch the release.atom for the tool and parse that to get the
latest release.

Bumped lib version to ES2020 in tsconfig.json for string.matchAll.
2021-08-20 09:14:39 +05:30
Shivam Mathur c88f07696b Add support for phpunit-bridge 2021-07-17 08:42:11 +05:30
Shivam Mathur 1a216636c5 Use composer for composer-require-checker 2021-07-12 10:45:56 +05:30
Shivam Mathur 6449431df2 Move tools config to tools.json
Refactor tools functions to use Records and object literals
2021-07-07 22:40:02 +05:30