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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer php version #639

Closed

Conversation

watarukura
Copy link


name: 🐞 Bug Fix, βš™ Improvement or πŸŽ‰ New Feature
about: You found a bug, want to improve something or add a new feature
labels: bug or enhancement


A Pull Request should be associated with a Discussion.

close #629

Related discussion:

Description

This PR add args version-file, and pick up PHP version from composer.json or .tool-versions or .php-version.

In case this PR introduced TypeScript/JavaScript code changes:

  • I have written test cases for the changes in this pull request
  • 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).

@watarukura
Copy link
Author

#629
thank you for advice, but I could not implement pickup latest version from multiple version set.
(ex: "^8.0|^8.1")

@shivammathur
Copy link
Owner

@watarukura Thanks for the PR. I will have a look this weekend.

@codecov
Copy link

codecov bot commented Sep 11, 2022

Codecov Report

Merging #639 (ae4a007) into master (e04e1d9) will decrease coverage by 2.34%.
The diff coverage is 23.52%.

@@             Coverage Diff             @@
##            master     #639      +/-   ##
===========================================
- Coverage   100.00%   97.65%   -2.35%     
===========================================
  Files            6        6              
  Lines          538      555      +17     
  Branches        80       85       +5     
===========================================
+ Hits           538      542       +4     
- Misses           0       12      +12     
- Partials         0        1       +1     
Impacted Files Coverage Ξ”
src/utils.ts 89.76% <23.52%> (-10.24%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@watarukura
Copy link
Author

Sorry, I'll retry, if I can understand this errors...

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.

pick up PHP version from composer.json
2 participants