Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix apparent typo #501

Merged
merged 1 commit into from Sep 20, 2021
Merged

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.

None yet

2 participants