Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 35cd7a1

Browse files
committed
Applied CS Fixer
1 parent 3f9d7a2 commit 35cd7a1

File tree

78 files changed

+77
-208
lines changed

Some content is hidden

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

78 files changed

+77
-208
lines changed

AutoRoute/AutoRouteManager.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute;
1413

15-
use Doctrine\ODM\PHPCR\DocumentManager;
16-
use Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\AutoRouteStack;
1714
use Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\RouteStack\Builder;
1815
use Doctrine\Common\Util\ClassUtils;
1916
use Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\Driver\DriverInterface;

AutoRoute/AutoRouteStack.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute;
1413

1514
use Symfony\Cmf\Bundle\RoutingAutoBundle\Model\AutoRoute;

AutoRoute/BuilderContext.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute;
1413

1514
/**
@@ -102,6 +101,7 @@ public function getRouteStacks()
102101
public function getTopRoute()
103102
{
104103
$routes = $this->getRoutes();
104+
105105
return end($routes);
106106
}
107107

@@ -154,7 +154,7 @@ public function getContent()
154154
*
155155
* @return string
156156
*/
157-
public function getLocale()
157+
public function getLocale()
158158
{
159159
return $this->locale;
160160
}

AutoRoute/Driver/DriverInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\Driver;
1413

1514
/**

AutoRoute/Driver/PhpcrOdmDriver.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\Driver;
1413

1514
use Doctrine\ODM\PHPCR\DocumentManager;
16-
use Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\Driver\DriverInterface;
1715

1816
/**
1917
* Abstraction driver for PHPCR-ODM
@@ -43,6 +41,7 @@ public function translateObject($document, $locale)
4341
{
4442
$meta = $this->dm->getMetadataFactory()->getMetadataFor(get_class($document));
4543
$this->dm->findTranslation(get_class($document), $meta->getIdentifierValue($document), $locale);
44+
4645
return $document;
4746
}
4847
}

AutoRoute/Exception/BadProviderPositionException.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\Exception;
1413

1514
/**
@@ -18,4 +17,3 @@
1817
class BadProviderPositionException extends \RuntimeException
1918
{
2019
}
21-

AutoRoute/Exception/CannotModifyClosedRouteStackException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\Exception;
1413

1514
/**

AutoRoute/Exception/ClassNotMappedException.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\Exception;
1413

1514
/**
@@ -26,4 +25,3 @@ public function __construct($classFqn)
2625
parent::__construct($message);
2726
}
2827
}
29-

AutoRoute/Exception/CouldNotFindRouteException.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\Exception;
1413

1514
/**
@@ -26,5 +25,3 @@ public function __construct($path)
2625
parent::__construct($message);
2726
}
2827
}
29-
30-

AutoRoute/Exception/InvalidPathElementException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\Exception;
1413

1514
/**

0 commit comments

Comments
 (0)