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

Improve Composer configuration and support. #128

Merged
merged 5 commits into from
Jan 26, 2021
Merged

Improve Composer configuration and support. #128

merged 5 commits into from
Jan 26, 2021

Conversation

kopepasah
Copy link
Contributor

Description of the Change

  • Adds more detail to the composer.json configuration file.
  • Sets the indent style for composer.json to tabs (matches other 10up plugins).

Alternate Designs

None.

Benefits

Better information and integration when using plugin with Composer.

Possible Drawbacks

None.

Verification Process

Successfully ran the installer (albeit with the --ignore-platform-reqs flag).

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

- Adds more detail to the `composer.json` configuration file.
- Sets the indent style for `composer.json` to tabs (matches other 10up plugins).
@jeffpaul jeffpaul requested a review from dinhtungdu May 28, 2020 03:16
@jeffpaul jeffpaul added this to the 7.3.0 milestone May 28, 2020
Copy link
Contributor

@dinhtungdu dinhtungdu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank @kopepasah for the PR. I suggest some minor modification, otherwise, this looks good.

.editorconfig Outdated
Comment on lines 13 to 15
indent_style = tab
indent_size = 4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For files which is not php/css/js, we should use 2 spaces indent.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I simply followed what already existed in another 10up plugin.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the plugin you refered to?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

composer.json Outdated Show resolved Hide resolved
@kopepasah kopepasah removed their assignment Jun 5, 2020
@jeffpaul jeffpaul linked an issue Jul 9, 2020 that may be closed by this pull request
@jeffpaul jeffpaul requested a review from dinhtungdu January 4, 2021 16:27
dinhtungdu
dinhtungdu previously approved these changes Jan 25, 2021
@jeffpaul jeffpaul merged commit b12693b into 10up:develop Jan 26, 2021
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.

Improve Composer Support
3 participants