Skip to content

Enhancement: Configure visibility_required fixer #349

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

Merged
merged 2 commits into from
Jul 5, 2019

Conversation

localheinz
Copy link
Contributor

@localheinz localheinz commented Jun 21, 2019

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets n/a
Documentation n/a
License MIT

What's in this PR?

This PR

  • fixes the indentation in php_cs.dist
  • configures the visibility_required fixer to also require visibility on constants

Somewhat related to #348.

Why?

The minimum required PHP version is PHP 7.1, so we might just as well make use of the features.

@dbu dbu merged commit dfb5048 into php-http:master Jul 5, 2019
@localheinz localheinz deleted the feature/visibility-required branch July 5, 2019 08:08
@localheinz
Copy link
Contributor Author

Thank you, @dbu!

@dbu
Copy link
Collaborator

dbu commented Jul 5, 2019

thanks!
we should port such config to https://github.com/php-http/boilerplate/ for what we can, and apply it in all repos of this organization. that process is not automated, but it would be good to be consistent. do you want to do that?

@localheinz
Copy link
Contributor Author

@dbu

Can do!

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.

2 participants