8000 fixing FormGotoCompletionRegistrarTest for form tag "form.type" removal · Ma27/idea-php-symfony2-plugin@f023e75 · GitHub
[go: up one dir, main page]

Skip to content

Commit f023e75

Browse files
committed
fixing FormGotoCompletionRegistrarTest for form tag "form.type" removal
1 parent f4efa68 commit f023e75

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

tests/fr/adrienbrault/idea/symfony2plugin/tests/ 10000 form/FormGotoCompletionRegistrarTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ public void setUp() throws Exception {
1818
super.setUp();
1919
myFixture.copyFileToProject("classes.php");
2020
myFixture.copyFileToProject("foo.de.xlf");
21-
myFixture.copyFileToProject("services.xml");
2221
}
2322

2423
protected String getTestDataPath() {

tests/fr/adrienbrault/idea/symfony2plugin/tests/form/fixtures/classes.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Symfony\Component\Form {
44
interface FormTypeInterface {
55
public function setDefaultOptions(OptionsResolverInterface $resolver);
6+
public function getName();
67
}
78
interface FormBuilderInterface {
89
public function add($child, $type = null, array $options = array());
@@ -64,7 +65,10 @@ public function getExtendedType() {
6465
}
6566

6667
namespace Form\FormType {
67-
class Foo
68+
69+
use Symfony\Component\Form\FormTypeInterface;
70+
71+
class Foo implements FormTypeInterface
6872
{
6973
public function getName()
7074
{

tests/fr/adrienbrault/idea/symfony2plugin/tests/form/fixtures/services.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0