8000 Add types to private and final methods by derrabus · Pull Request #33198 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Add types to private and final methods #33198

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
Aug 18, 2019

Conversation

derrabus
Copy link
Member
Q A
Branch? 4.4
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #32179
License MIT
Doc PR N/A

Backports from #33154.

@nicolas-grekas
Copy link
Member

A mock in Workflow might have an issue, see tests.

@nicolas-grekas
Copy link
Member

Maybe the fix related to the failing tests should go to #33197 btw?

@derrabus derrabus force-pushed the improvement/private-method-types branch from 1ba948e to 2c3f0a0 Compare August 16, 2019 07:39
@derrabus
Copy link
Member Author

The test was right. I cannot type-hint for WorkflowSupportStrategyInterface yet because we also have to support a legacy interface there.

@derrabus derrabus force-pushed the improvement/private-method-types branch from 2c3f0a0 to 57ddb0a Compare August 18, 2019 08:51
@derrabus derrabus force-pushed the improvement/private-method-types branch from 57ddb0a to 349108f Compare August 18, 2019 09:08
@derrabus derrabus requested a review from sroze as a code owner August 18, 2019 09:08
@derrabus derrabus force-pushed the improvement/private-method-types branch 2 times, most recently from 5709991 to 01e0b0a Compare August 18, 2019 09:35
@derrabus derrabus force-pushed the improvement/private-method-types branch from 01e0b0a to 1b88067 Compare August 18, 2019 10:00
fabpot added a commit that referenced this pull request Aug 18, 2019
…rabus)

This PR was merged into the 4.3 branch.

Discussion
----------

[Workflow] Added doc block for Registry::supports()

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

Follows #33197, prepares #33198.

Commits
-------

c76fd13 Added doc block for Registry::supports().
@fabpot
Copy link
Member
fabpot commented Aug 18, 2019

Thank you @derrabus.

fabpot added a commit that referenced this pull request Aug 18, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

Add types to private and final methods

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #32179
| License       | MIT
| Doc PR        | N/A

Backports from #33154.

Commits
-------

1b88067 Add types to private and final methods.
@fabpot fabpot merged commit 1b88067 into symfony:4.4 Aug 18, 2019
@derrabus derrabus deleted the improvement/private-method-types branch August 18, 2019 19:35
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
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.

6 participants
0