fixed CS
This commit is contained in:
parent
f373085928
commit
611b241f56
|
@ -14,7 +14,6 @@ namespace Symfony\Bridge\Propel1\Form\DataTransformer;
|
|||
use \PropelCollection;
|
||||
use Symfony\Component\Form\DataTransformerInterface;
|
||||
use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
use Symfony\Component\Form\Exception\TransformationFailedException;
|
||||
|
||||
/**
|
||||
* CollectionToArrayTransformer class.
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
namespace Symfony\Bundle\FrameworkBundle\Tests\Routing;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Routing\Router;
|
||||
use Symfony\Component\Routing\Route;
|
||||
use Symfony\Component\Routing\RouteCollection;
|
||||
use Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher;
|
||||
|
@ -58,4 +57,4 @@ class RedirectableUrlMatcherTest extends \PHPUnit_Framework_TestCase
|
|||
$matcher->match('/foo')
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,12 +13,9 @@ namespace Symfony\Component\Form\Extension\Csrf\Type;
|
|||
|
||||
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\FormInterface;
|
||||
use Symfony\Component\Form\FormBuilder;
|
||||
use Symfony\Component\Form\FormError;
|
||||
use Symfony\Component\Form\Extension\Csrf\EventListener\CsrfValidationListener;
|
||||
use Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface;
|
||||
use Symfony\Component\Form\CallbackValidator;
|
||||
|
||||
class CsrfType extends AbstractType
|
||||
{
|
||||
|
|
|
@ -248,4 +248,4 @@ class Section
|
|||
{
|
||||
return $this->events;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,6 +37,7 @@ abstract class RedirectableUrlMatcher extends UrlMatcher implements Redirectable
|
|||
|
||||
try {
|
||||
parent::match($pathinfo.'/');
|
||||
|
||||
return $this->redirect($pathinfo.'/', null);
|
||||
} catch (ResourceNotFoundException $e2) {
|
||||
throw $e;
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
namespace Symfony\Tests\Component\HttpFoundation\Session\Flash;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Session\Flash\AutoExpireFlashBag as FlashBag;
|
||||
use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface;
|
||||
|
||||
/**
|
||||
* AutoExpireFlashBagTest
|
||||
|
|
|
@ -216,4 +216,4 @@ class UrlMatcherTest extends \PHPUnit_Framework_TestCase
|
|||
$matcher = new UrlMatcher($coll, new RequestContext());
|
||||
$matcher->match('/foo');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
namespace Symfony\Tests\Component\Translation\Loader;
|
||||
|
||||
use Symfony\Component\Translation\Loader\IcuDatFileLoader;
|
||||
use Symfony\Component\Config\Resource\DirectoryResource;
|
||||
use Symfony\Component\Config\Resource\FileResource;
|
||||
|
||||
class IcuDatFileLoaderTest extends LocalizedTestCase
|
||||
|
|
|
@ -13,7 +13,6 @@ namespace Symfony\Tests\Component\Translation\Loader;
|
|||
|
||||
use Symfony\Component\Translation\Loader\IcuResFileLoader;
|
||||
use Symfony\Component\Config\Resource\DirectoryResource;
|
||||
use Symfony\Component\Config\Resource\FileResource;
|
||||
|
||||
class IcuResFileLoaderTest extends LocalizedTestCase
|
||||
{
|
||||
|
|
Reference in New Issue