Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpFoundation] Publicify new consts #28880

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 1 commit into from
Oct 15, 2018
Merged

[HttpFoundation] Publicify new consts #28880

merged 1 commit into from
Oct 15, 2018

Conversation

ro0NL
Copy link
Contributor

@ro0NL ro0NL commented Oct 15, 2018

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #...
License MIT
Doc PR symfony/symfony-docs#...

Continuation of #28807

I think it's reasonable to enforce visibility for new consts, ideally solved by PHP-CS-Fixer. This makes it explicit for the consts to be consumed as part of public API.

@fabpot
Copy link
Member

fabpot commented Oct 15, 2018

Thank you @ro0NL.

@fabpot fabpot merged commit ce95d0d into symfony:master Oct 15, 2018
fabpot added a commit that referenced this pull request Oct 15, 2018
This PR was merged into the 4.2-dev branch.

Discussion
----------

[HttpFoundation] Publicify new consts

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Continuation of #28807

I think it's reasonable to enforce visibility for new consts, ideally solved by PHP-CS-Fixer. This makes it explicit for the consts to be consumed as part of public API.

Commits
-------

ce95d0d [HttpFoundation] Publicify new consts
@ro0NL ro0NL deleted the patch-1 branch October 15, 2018 15:48
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.

3 participants