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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated 'form' type by FormType class #587

Merged
merged 3 commits into from
Jun 9, 2016

Conversation

soullivaneuh
Copy link
Member

@soullivaneuh soullivaneuh commented Jun 9, 2016

Replaces #587

Changelog

### Fixed
- Deprecated usage of `form` type name

@OskarStark
Copy link
Member

Good job @soullivaneuh 👍

*/
protected $datagridBuilder;
/**
* @var FormFactoryInterface|\PHPUnit_Framework_MockObject_MockObject
Copy link
Contributor

@greg0ire greg0ire Jun 9, 2016

Choose a reason for hiding this comment

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

The mock implements the interface, no need to do this IMO. Plus it would be &, not |

Copy link
Member Author

Choose a reason for hiding this comment

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

The mock implements the interface, no need to do this IMO.

IDE does not recognize it if you don't specify it.

Plus it would be &, not |

Where did you find that? It was always | on phpdoc comment AFAIK.

Copy link
Member

Choose a reason for hiding this comment

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

Where did you find that? It was always | on phpdoc comment AFAIK.

AFAIK too

Copy link
Contributor

Choose a reason for hiding this comment

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

Where did you find that? It was always | on phpdoc comment AFAIK.

Nowhere, but you don't mean that it's one or the other, you mean it is both, don't you ? Dunno what the symbol is for that.

IDE does not recognize it if you don't specify it.

Oh so it's for autocompletion… I see.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh so it's for autocompletion… I see.

Not only. Type should be specified IMO.

Mock are special, because both types are acceptable.

Dunno what the symbol is for that.

I will let it as is for the moment.

@soullivaneuh soullivaneuh merged commit 61dd1e9 into sonata-project:3.x Jun 9, 2016
@soullivaneuh soullivaneuh deleted the deprecated-form-usage branch June 9, 2016 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants