Skip to content

Conversation

@jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Sep 20, 2021


name: 🐞 Bug Fix
about: You found a bug
labels: bug

A Pull Request should be associated with a Discussion.

N/A

Description

While the PHPCPD and PHPUnit tools use the same function under the hood, I have the impression that the function keyword should be the tool name.

If that's correct, this should fix it.

In case this PR introduced TypeScript/JavaScript code changes:

  • I have written test cases for the changes in this pull request
    This change is already covered by existing tests
  • I have run npm run format before the commit.
  • I have run npm run lint before the commit.
  • I have run npm run release before the commit.
  • npm test returns with no unit test errors and all code covered.

In case this PR edits any scripts:

  • I have checked the edited scripts for syntax.
  • I have tested the changes in an integration test (If yes, provide workflow YAML and link).

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.
@shivammathur shivammathur merged commit e0dd9c9 into shivammathur:develop Sep 20, 2021
@shivammathur
Copy link
Owner

@jrfnl Thanks!

@jrfnl jrfnl deleted the feature/fix-typo branch September 20, 2021 01:05
@jrfnl
Copy link
Contributor Author

jrfnl commented Sep 20, 2021

yvw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants