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

README: minor updates #274

Merged
merged 2 commits into from
Feb 17, 2022
Merged

README: minor updates #274

merged 2 commits into from
Feb 17, 2022

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Feb 17, 2022

README: update for Composer 2.2

The dealerdirect/phpcodesniffer-composer-installer Composer plugin is a non-dev requirement for YoastCS.

As of Composer 2.2.0, Composer plugins need to be explicitly allowed to run.

This commit adds the CLI command to set those permissions to the installation instructions.

Refs:

README: update suggested linting command

The --show-deprecated option was added to PHP Parallel Lint some years ago, but never documented, so I never knew it existed.

Enabling this option allows for deprecations which can be detected at compile time to be shown (in contrast to deprecations which can only be detected at run-time).

Refs:

The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is a non-dev requirement for YoastCS.

As of Composer 2.2.0, Composer plugins need to be explicitly allowed to run.

This commit adds the CLI command to set those permissions to the installation instructions.

Refs:
* https://blog.packagist.com/composer-2-2/#more-secure-plugin-execution
The `--show-deprecated` option was added to PHP Parallel Lint some years ago, but never documented, so I never knew it existed.

Enabling this option allows for deprecations which can be detected at compile time to be shown (in contrast to deprecations which can only be detected at run-time).

Refs:
* php-parallel-lint/PHP-Parallel-Lint#81
* JakubOnderka/PHP-Parallel-Lint#94
@jrfnl jrfnl added this to the 2.2.1 milestone Feb 17, 2022
@jrfnl jrfnl merged commit 735b755 into develop Feb 17, 2022
@jrfnl jrfnl deleted the JRF/readme-minor-updates branch February 17, 2022 21:26
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.

1 participant