-
Notifications
You must be signed in to change notification settings - Fork 138
Deprecate the form mapping feature #462
Deprecate the form mapping feature #462
Conversation
7261171
to
2bb6e0b
Compare
d254f5f
to
1564bcd
Compare
@@ -116,6 +116,10 @@ public function configureFormFactory(ContainerBuilder $container, array $config) | |||
|
|||
return; | |||
} | |||
@trigger_error( |
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.
blank line before @trigger_error
?
docs/reference/form_types.rst
Outdated
|
||
DoctrineORMSerializationType | ||
---------------------------- | ||
Sonata\CoreBundle\Form\Type\DoctrineORMSerializationType |
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.
What about using short class names instead of FQCN for titles?
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.
Yeah let's do that!
1564bcd
to
9bba27d
Compare
Build probably failing because of 35a5b84 |
UPGRADE-3.x.md
Outdated
@@ -1,6 +1,20 @@ | |||
UPGRADE 3.x | |||
=========== | |||
|
|||
UPGRADE FROM 3.6 to 3.7 | |||
======================= |
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.
Please remove this title.
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.
Woops! Done.
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.
is it cached or is the title still available @greg0ire 👀
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 must have pushed it again from work or home by accident :P
9bba27d
to
ac6db7c
Compare
@@ -17,6 +17,9 @@ | |||
use Symfony\Component\Console\Output\OutputInterface; | |||
use Symfony\Component\HttpKernel\Kernel; | |||
|
|||
/** | |||
* @deprecated the form mapping feature should be disabled |
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.
deprecated since...
please follow the format described on the contributing guide.
@@ -14,6 +14,9 @@ | |||
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\FormPass; | |||
use Symfony\Component\DependencyInjection\ContainerBuilder; | |||
|
|||
/** | |||
* @deprecated disable this compiler pass |
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.
deprecated since...
please follow the format described on the contributing guide.
@@ -20,6 +20,8 @@ | |||
/** | |||
* This proxy class help to keep BC code with < SF2.8 form behavior by restoring | |||
* the type as a code and not as a class. | |||
* | |||
* @deprecated use FQCNs instead |
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.
deprecated since...
please follow the format described on the contributing guide.
d1d9fd1
to
2be2783
Compare
2be2783
to
4eee7f6
Compare
@greg0ire It looks you did something wrong with your commit, we still see the old changes. 😕 |
4a926c4
to
82365d6
Compare
82365d6
to
2864e01
Compare
@OskarStark @soullivaneuh should be ok now. |
Thank you @greg0ire 👍 |
I am targeting this branch, because this is BC.
Changelog
To do
Subject
This feature allows users to use form names, just like, you know, before sf 2.8. Needless to say, we need to kill it with fire. It should have been conditionally deprecated as soon as we added support for sf 2.8