Skip to content

Composer: normalize the file and add script descriptions#59

Merged
jrfnl merged 2 commits intodevelopfrom
JRF/composer-tweaks
Sep 23, 2023
Merged

Composer: normalize the file and add script descriptions#59
jrfnl merged 2 commits intodevelopfrom
JRF/composer-tweaks

Conversation

@jrfnl
Copy link
Copy Markdown
Collaborator

@jrfnl jrfnl commented Sep 23, 2023

Composer: normalize the file

Well, mostly (scripts are not alphabetized, but still grouped by task).

Note: this is done as a one-time only action. The normalize script will not be run in CI to enforce normalization.

Style has been standardized to --indent-style=tab --indent-size=1.

Ref: https://github.com/ergebnis/composer-normalize

Composer: add script descriptions

These descriptions will be used when a list of the available scripts is requested on the command-line using the composer list or composer run -l commands.

These descriptions also help document the different scripts for the maintainers of the composer.json file.

Ref: https://getcomposer.org/doc/articles/scripts.md#custom-descriptions-

Well, mostly (scripts are not alphabetized, but still grouped by task).

Note: this is done as a one-time only action. The normalize script will **_not_** be run in CI to enforce normalization.

Style has been standardized to `--indent-style=tab --indent-size=1`.

Ref: https://github.com/ergebnis/composer-normalize
These descriptions will be used when a list of the available scripts is requested on the command-line using the `composer list` or `composer run -l` commands.

These descriptions also help document the different scripts for the maintainers of the `composer.json` file.

Ref: https://getcomposer.org/doc/articles/scripts.md#custom-descriptions-
@jrfnl jrfnl added this to the 1.x Next Release milestone Sep 23, 2023
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 99.099%. remained the same when pulling 31e00ef on JRF/composer-tweaks into 1762945 on develop.

@jrfnl jrfnl merged commit aac1095 into develop Sep 23, 2023
@jrfnl jrfnl deleted the JRF/composer-tweaks branch September 23, 2023 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants