Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add types to constructors and private/final/internal methods (Batch III) #33770

Merged

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Sep 30, 2019

Q A
Branch? 4.4
Bug fix? no
New feature? no
Deprecations? no
Tickets #32179, #33228
License MIT
Doc PR N/A

Followup to #33709, this time with:

  • Validator
  • VarDumper
  • Workflow
  • Yaml
  • all bridges
  • all bundles

That should be the final batch. 馃槂

@@ -59,9 +61,7 @@ public function testLoadUserByUsernameWithUserLoaderRepositoryAndWithoutProperty
{
$user = new User(1, 1, 'user1');

$repository = $this->getMockBuilder('Symfony\Bridge\Doctrine\Security\User\UserLoaderInterface')
Copy link
Member

Choose a reason for hiding this comment

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

changes on this file should be reverted (and/or be submitted on 3.4)

Copy link
Member Author

Choose a reason for hiding this comment

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

and/or be submitted on 3.4

My failed attempt to do so is documented as #33771. 馃檲

The changes are necessary because the mocks are currently incomplete and because of that they wouldn't pass a return type declaration I've added.

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

(with one comment)

@nicolas-grekas nicolas-grekas force-pushed the improvement/non-breaking-types-3 branch from e4cfa7e to 6493902 Compare October 7, 2019 11:33
@nicolas-grekas
Copy link
Member

Thank you @derrabus.

@nicolas-grekas nicolas-grekas merged commit 6493902 into symfony:4.4 Oct 7, 2019
@derrabus derrabus deleted the improvement/non-breaking-types-3 branch October 7, 2019 12:58
@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.

None yet

3 participants