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

Use typed properties in tests as much as possible#51067

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

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?6.4
Bug fix?no
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

@xabbuh
Copy link
Member

The failures look related.

Copy link
MemberAuthor

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

PR green 🎉
Let's enforce typed properties as much as possible while reviewing PRs as of now!

$this->dispatcher =null;
$this->factory =null;
$this->form =null;
}
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

let's stop adding those useless tearDown methods

derrabus reacted with thumbs up emoji
Copy link
Member

@lyrixxlyrixxJul 25, 2023
edited
Loading

Choose a reason for hiding this comment

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

I check if the memory consumption was the same => 🎉 it's the same! 👏🏼


But there is something a bit strange. about Framework bundle (I looked at this one because it fails)

  • On Github, it consumes more than 500Mb
  • locally, it consumes 244.00Mb

And locally, I have less skipped tests!

For the form component, it's almost the same

@lyrixx
Copy link
Member

the following failure looks related this PR:

1) Symfony\Bundle\FrameworkBundle\Tests\Functional\DebugAutowiringCommandTest::testBasicFunctionalityFailed asserting that '\nIn ArrayInput.php line 191:\n                                                                  \n  [Symfony\Component\Console\Exception\InvalidArgumentException]  \n  The "decorated" argument does not exist.                        \n                                                                  \n\n

I have the same error locally, I also tried to rebase your PR (not pushed), and got the same error

On 6.4 (up to date), I don't get the error

@nicolas-grekasnicolas-grekas merged commit8ec0d08 intosymfony:6.4Jul 25, 2023
@nicolas-grekasnicolas-grekas deleted the typed-props-tests branchJuly 25, 2023 15:45
nicolas-grekas added a commit that referenced this pull requestJul 28, 2023
…grekas)This PR was merged into the 7.0 branch.Discussion----------Add types to public and protected properties| Q             | A| ------------- | ---| Branch?       | 7.0| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -:hot_face:Allowed by#45360Follows#51068 and#51067Commits-------7ea2461 Add types to public and protected properties
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@lyrixxlyrixxlyrixx approved these changes

@derrabusderrabusderrabus approved these changes

@ycerutoycerutoAwaiting requested review from ycerutoyceruto is a code owner

@wouterjwouterjAwaiting requested review from wouterj

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

@OskarStarkOskarStarkAwaiting requested review from OskarStarkOskarStark is a code owner

@jderussejderusseAwaiting requested review from jderussejderusse is a code owner

@xabbuhxabbuhAwaiting requested review from xabbuhxabbuh is a code owner

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

5 participants

@nicolas-grekas@xabbuh@lyrixx@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp