merged branch stof/use_statements (PR #4576)

Commits
-------

0d67b9f Removed useless use statements
a3c1299 [Form] Added a missing use statement and fix a phpdoc

Discussion
----------

Use statements

This adds a missing use statements in the Form component (which would cause a fatal error if the exception was thrown) and removes useless use statements in the BrowserKit component (the use statement for the current class confuses the IDEs)

---------------------------------------------------------------------------

by travisbot at 2012-06-14T08:05:41Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1617154) (merged 0d67b9f2 into 41f48b7e).
This commit is contained in:
Fabien Potencier 2012-06-14 13:31:39 +02:00
commit 4e1e08eff7
3 changed files with 2 additions and 4 deletions

View File

@ -15,9 +15,6 @@ use Symfony\Component\DomCrawler\Crawler;
use Symfony\Component\DomCrawler\Link;
use Symfony\Component\DomCrawler\Form;
use Symfony\Component\Process\PhpProcess;
use Symfony\Component\BrowserKit\Request;
use Symfony\Component\BrowserKit\Response;
use Symfony\Component\BrowserKit\Client;
/**
* Client simulates a browser.

View File

@ -12,6 +12,7 @@
namespace Symfony\Component\Form\Extension\Core\DataTransformer;
use Symfony\Component\Form\DataTransformerInterface;
use Symfony\Component\Form\Exception\UnexpectedTypeException;
abstract class BaseDateTimeTransformer implements DataTransformerInterface
{

View File

@ -76,7 +76,7 @@ class Form implements \IteratorAggregate, FormInterface
/**
* The mapper for mapping data to children and back
* @var DataMapper\DataMapperInterface
* @var DataMapperInterface
*/
private $dataMapper;