-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Q | A |
---|---|
Branch? | 6.4 |
Bug fix? | no |
New feature? | no |
Deprecations? | no |
Tickets | - |
License | MIT |
Doc PR | - |
The failures look related. |
5ccb82e
to
3fc02b3
Compare
e3ad58b
to
53e5180
Compare
There was a problem hiding this 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!
8000
$this->collection = null; | ||
$this->dispatcher = null; | ||
$this->factory = null; | ||
$this->form = null; | ||
} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
53e5180
to
4b35a53
Compare
the following failure looks related this PR:
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 |
4b35a53
to
4ad506b
Compare
…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 #45360 Follows #51068 and #51067 Commits ------- 7ea2461 Add types to public and protected properties