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.

jrfnl added 2 commits August 9, 2023 03:10
... 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.
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