Skip to content

Commit 94571fc

Browse files
wouterjStyleCIBot
authored andcommitted
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent a45b3ac commit 94571fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+428
-383
lines changed

src/CmfRoutingBundle.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
use Doctrine\ODM\PHPCR\Version as PHPCRVersion;
1919
use Doctrine\ORM\Mapping\Driver\XmlDriver as ORMXmlDriver;
2020
use Doctrine\ORM\Version as ORMVersion;
21+
use Symfony\Cmf\Bundle\RoutingBundle\DependencyInjection\Compiler\SetRouterPass;
2122
use Symfony\Cmf\Bundle\RoutingBundle\DependencyInjection\Compiler\ValidationPass;
23+
use Symfony\Cmf\Component\Routing\DependencyInjection\Compiler\RegisterRouteEnhancersPass;
24+
use Symfony\Cmf\Component\Routing\DependencyInjection\Compiler\RegisterRoutersPass;
2225
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
26+
use Symfony\Component\DependencyInjection\ContainerBuilder;
2327
use Symfony\Component\DependencyInjection\Definition;
2428
use Symfony\Component\HttpKernel\Bundle\Bundle;
25-
use Symfony\Component\DependencyInjection\ContainerBuilder;
26-
use Symfony\Cmf\Component\Routing\DependencyInjection\Compiler\RegisterRoutersPass;
27-
use Symfony\Cmf\Component\Routing\DependencyInjection\Compiler\RegisterRouteEnhancersPass;
28-
use Symfony\Cmf\Bundle\RoutingBundle\DependencyInjection\Compiler\SetRouterPass;
2929

3030
/**
3131
* Bundle class.

src/Controller/RedirectController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
namespace Symfony\Cmf\Bundle\RoutingBundle\Controller;
1313

14-
use Symfony\Component\Routing\RouterInterface;
15-
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
16-
use Symfony\Component\HttpFoundation\RedirectResponse;
1714
use Symfony\Cmf\Component\Routing\RedirectRouteInterface;
15+
use Symfony\Component\HttpFoundation\RedirectResponse;
16+
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
17+
use Symfony\Component\Routing\RouterInterface;
1818

1919
/**
2020
* Default router that handles redirection route objects.

src/DependencyInjection/CmfRoutingExtension.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
namespace Symfony\Cmf\Bundle\RoutingBundle\DependencyInjection;
1313

1414
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Orm\Route;
15-
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
16-
use Symfony\Component\DependencyInjection\ContainerBuilder;
17-
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
18-
use Symfony\Component\DependencyInjection\Reference;
1915
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
2016
use Symfony\Component\Config\FileLocator;
2117
use Symfony\Component\Config\Loader\LoaderInterface;
18+
use Symfony\Component\DependencyInjection\ContainerBuilder;
19+
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
20+
use Symfony\Component\DependencyInjection\Reference;
21+
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
2222

2323
/**
2424
* @author Philippo de Santis

src/DependencyInjection/Compiler/SetRouterPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Cmf\Bundle\RoutingBundle\DependencyInjection\Compiler;
1313

14-
use Symfony\Component\DependencyInjection\ContainerBuilder;
1514
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
15+
use Symfony\Component\DependencyInjection\ContainerBuilder;
1616

1717
/**
1818
* Changes the Router implementation.

src/DependencyInjection/Compiler/ValidationPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Cmf\Bundle\RoutingBundle\DependencyInjection\Compiler;
1313

14-
use Symfony\Component\DependencyInjection\ContainerBuilder;
1514
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
15+
use Symfony\Component\DependencyInjection\ContainerBuilder;
1616

1717
/**
1818
* Register validation files if their storage is activated.

src/DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
namespace Symfony\Cmf\Bundle\RoutingBundle\DependencyInjection;
1313

14+
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Orm\Route;
1415
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
15-
use Symfony\Component\Config\Definition\ConfigurationInterface;
1616
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
17-
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Orm\Route;
17+
use Symfony\Component\Config\Definition\ConfigurationInterface;
1818

1919
/**
2020
* This class contains the configuration information for the bundle.

src/Doctrine/Orm/ContentRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Orm;
1313

14-
use Symfony\Cmf\Component\Routing\ContentRepositoryInterface;
1514
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\DoctrineProvider;
15+
use Symfony\Cmf\Component\Routing\ContentRepositoryInterface;
1616

1717
/**
1818
* Abstract content repository for ORM.

src/Doctrine/Orm/RouteProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
use Doctrine\Common\Persistence\ManagerRegistry;
1515
use Doctrine\Common\Persistence\ObjectRepository;
1616
use Doctrine\DBAL\Exception\TableNotFoundException;
17+
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\DoctrineProvider;
1718
use Symfony\Cmf\Component\Routing\Candidates\CandidatesInterface;
18-
use Symfony\Component\Routing\RouteCollection;
19-
use Symfony\Component\Routing\Exception\RouteNotFoundException;
20-
use Symfony\Component\HttpFoundation\Request;
2119
use Symfony\Cmf\Component\Routing\RouteProviderInterface;
22-
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\DoctrineProvider;
20+
use Symfony\Component\HttpFoundation\Request;
21+
use Symfony\Component\Routing\Exception\RouteNotFoundException;
22+
use Symfony\Component\Routing\RouteCollection;
2323

2424
/**
2525
* Provider loading routes from Doctrine.

src/Doctrine/Phpcr/ContentRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr;
1313

14-
use Symfony\Cmf\Component\Routing\ContentRepositoryInterface;
1514
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\DoctrineProvider;
15+
use Symfony\Cmf\Component\Routing\ContentRepositoryInterface;
1616

1717
/**
1818
* Implement ContentRepositoryInterface for PHPCR-ODM.

src/Doctrine/Phpcr/LocaleListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr;
1313

14+
use Doctrine\Common\Persistence\Event\LifecycleEventArgs;
1415
use Doctrine\ODM\PHPCR\DocumentManager;
1516
use Doctrine\ODM\PHPCR\Event\MoveEventArgs;
16-
use Doctrine\Common\Persistence\Event\LifecycleEventArgs;
1717
use Symfony\Cmf\Bundle\RoutingBundle\Model\Route as ModelRoute;
1818

1919
/**

0 commit comments

Comments
 (0)