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

[Validator] GH-50526: Reverting ExecutionContextInterface void return types in favor of docblock annotations.#50540

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

Merged
nicolas-grekas merged 1 commit intosymfony:6.3fromupchuk:GH-50526
Jun 5, 2023

Conversation

@upchuk
Copy link
Contributor

@upchukupchuk commentedJun 2, 2023
edited by xabbuh
Loading

QA
Branch?6.3
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#50526
LicenseMIT
Doc PR

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has acontribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (seehttps://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (seehttps://symfony.com/releases)
  • Features and deprecations must be submitted against the 6.4 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "6.4" but it seems your PR description refers to branch "6.4 for features / 5.4, 6.2, or 6.3 for bug fixes".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@stof
Copy link
Member

stof commentedJun 2, 2023

To make the CI pass, you need to regenerate the.github/expected-missing-return-types.diff file (instructions for that are at the top of the file) so that the CI does not complain about not using native types on those methods.

@wouterjwouterj modified the milestones:6.4,6.3Jun 2, 2023
@upchuk
Copy link
ContributorAuthor

@stof I'm trying but I am getting an error Uncaught Error: Failed opening required '/var/www/html/.github/../.phpunit/phpunit/vendor/autoload.php', when i runSYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.1' php .github/patch-types.php.

The phpunit folder is not there, should it be?

@stof
Copy link
Member

stof commentedJun 2, 2023

@upchuk run./phpunit install first

@upchuk
Copy link
ContributorAuthor

@stof thanks. Did that but now I get

[05-Jun-2023 06:52:32 UTC] PHP Fatal error:  Uncaught RuntimeException: Case mismatch between loaded and declared class names: "Doctrine\DBAL\Platforms\MySqlPlatform" vs "Doctrine\DBAL\Platforms\MySQLPlatform". in /var/www/html/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:331

I think you can just go ahead and make the fix yourself, it's much faster :D

@carsonbotcarsonbot changed the titleGH-50526: Reverting ExecutionContextInterface void return types in favor of docblock annotations.[Validator] GH-50526: Reverting ExecutionContextInterface void return types in favor of docblock annotations.Jun 5, 2023
@nicolas-grekas
Copy link
Member

Thank you@upchuk.

@nicolas-grekasnicolas-grekas merged commit1cceec1 intosymfony:6.3Jun 5, 2023
@fabpotfabpot mentioned this pull requestJun 26, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.3

Development

Successfully merging this pull request may close these issues.

6 participants

@upchuk@carsonbot@stof@nicolas-grekas@wouterj@xabbuh

[8]ページ先頭

©2009-2025 Movatter.jp