Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpKernel] [5.0] Replace docblocks by type-hints#32276

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
tigitz wants to merge0 commits intosymfony:masterfromtigitz:http-kernel-add-type-hints
Closed

[HttpKernel] [5.0] Replace docblocks by type-hints#32276

tigitz wants to merge0 commits intosymfony:masterfromtigitz:http-kernel-add-type-hints

Conversation

@tigitz
Copy link
Contributor

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketscontinuation of#24722 and checks for#32179
LicenseMIT
Doc PRN/A

This PR replaces docblocks by type hints in the HttpKernel component considering#32179. Some docblocks without valuable information got also removed.

@fabpot
Copy link
Member

Is it still a Draft PR?

@tigitz
Copy link
ContributorAuthor

@fabpot Hello, yes, tests are failing I need to invest some time to figure it out why

}

if ($entry[1]['vary'][0] !=$vary || !$this->requestsMatch($vary,$entry[0],$storedEnv)) {
if ($entry[1]['vary'][0] !=$vary || !$this->requestsMatch($vary ??'',$entry[0],$storedEnv)) {
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

There's a similar test here:

if ($this->requestsMatch(isset($entry[1]['vary'][0]) ?implode(',',$entry[1]['vary']) :'',$request->headers->all(),$entry[0])) {

@tigitztigitz marked this pull request as ready for reviewJuly 9, 2019 13:28
@tigitz
Copy link
ContributorAuthor

Failing tests are unrelated

@tigitz
Copy link
ContributorAuthor

@nicolas-grekas@derrabus

Whenever you've got time for another review, thanks in advance.

@nicolas-grekas
Copy link
Member

Thank you@tigitz.

nicolas-grekas added a commit that referenced this pull requestAug 8, 2019
…ippe Segatori)This PR was merged into the 5.0-dev branch.Discussion----------[HttpKernel] [5.0] Replace docblocks by type-hints| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets | continuation of#24722 and checks for#32179| License       | MIT| Doc PR        | N/AThis PR replaces docblocks by type hints in the HttpKernel component considering#32179. Some docblocks without valuable information got also removed.<!--Replace this notice by a short README for your feature/bugfix. This will help peopleunderstand your PR and can be used as a start for the documentation.Additionally (seehttps://symfony.com/roadmap): - Bug fixes must be submitted against the lowest maintained branch where they apply   (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against branch 4.4. - Legacy code removals go to the master branch.-->Commits-------9e570a2 [Http-Kernel][5.0] Add type-hints
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@derrabusderrabusderrabus left review comments

Assignees

No one assigned

Projects

None yet

Milestone

5.0

Development

Successfully merging this pull request may close these issues.

5 participants

@tigitz@fabpot@nicolas-grekas@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp