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

Modernize/Dirname: respect a passed php_version #261

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 9, 2023

Modernize/Dirname: rename test case file

... in anticipation of additional test case files being added.

Modernize/Dirname: respect a passed php_version

If no php_version is passed, the sniff will behave as before.

However, is a php_version is passed, the sniff will now selectively stay silent depending on the configured PHP and whether the proposed fixes could be applied.

Includes additional tests.
Includes adding information about the support of the php_version config setting to the README docs.

... in anticipation of additional test case files being added.
If no `php_version` is passed, the sniff will behave as before.

However, is a `php_version` is passed, the sniff will now selectively stay silent depending on the configured PHP and whether the proposed fixes could be applied.

Includes additional tests.
Includes adding information about the support of the `php_version` config setting to the README docs.
@jrfnl jrfnl added this to the 1.1.x Next milestone Aug 9, 2023
@jrfnl jrfnl merged commit 8a41c8b into develop Aug 9, 2023
35 checks passed
@jrfnl jrfnl deleted the modernize/dirname-use-phpversion branch August 9, 2023 01:48
@jrfnl jrfnl mentioned this pull request Aug 26, 2023
12 tasks
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