minor #15734 drop unused private methods (ewgRa)
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #15734).
Discussion
----------
drop unused private methods
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Just drop two unused methods.
Commits
-------
0ffcc4f
drop unused private methods
This commit is contained in:
commit
753d46ac03
@ -76,14 +76,6 @@ class PropertyPathMapperTest extends \PHPUnit_Framework_TestCase
|
|||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return \PHPUnit_Framework_MockObject_MockObject
|
|
||||||
*/
|
|
||||||
private function getDataMapper()
|
|
||||||
{
|
|
||||||
return $this->getMock('Symfony\Component\Form\DataMapperInterface');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testMapDataToFormsPassesObjectRefIfByReference()
|
public function testMapDataToFormsPassesObjectRefIfByReference()
|
||||||
{
|
{
|
||||||
$car = new \stdClass();
|
$car = new \stdClass();
|
||||||
|
@ -489,11 +489,6 @@ class FormFactoryTest extends \PHPUnit_Framework_TestCase
|
|||||||
return $this->getMock('Symfony\Component\Form\ResolvedFormTypeInterface');
|
return $this->getMock('Symfony\Component\Form\ResolvedFormTypeInterface');
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getMockType()
|
|
||||||
{
|
|
||||||
return $this->getMock('Symfony\Component\Form\FormTypeInterface');
|
|
||||||
}
|
|
||||||
|
|
||||||
private function getMockFormBuilder()
|
private function getMockFormBuilder()
|
||||||
{
|
{
|
||||||
return $this->getMock('Symfony\Component\Form\Test\FormBuilderInterface');
|
return $this->getMock('Symfony\Component\Form\Test\FormBuilderInterface');
|
||||||
|
Reference in New Issue
Block a user