Permalink
Browse files

minor #21472 [DependencyInjection] Remove useless implements (dunglas)

This PR was merged into the 3.3-dev branch.

Discussion
----------

[DependencyInjection] Remove useless implements

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Uniformize passes extending the new `AbstractRecursivePass` by removing the useless implementation of `CompilerPassInterface` when needed.

Commits
-------

1e949bd [DependencyInjection] Remove useless implements
  • Loading branch information...
2 parents 2183f98 + 1e949bd commit 00ab4b341270aeaadf00e4c49a1d9821a79278d0 @nicolas-grekas nicolas-grekas committed Jan 31, 2017
@@ -22,7 +22,7 @@
*
* @author Kévin Dunglas <dunglas@gmail.com>
*/
-class AutowirePass extends AbstractRecursivePass implements CompilerPassInterface
+class AutowirePass extends AbstractRecursivePass
{
private $reflectionClasses = array();
private $definedTypes = array();
@@ -20,7 +20,7 @@
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
-class CheckExceptionOnInvalidReferenceBehaviorPass extends AbstractRecursivePass implements CompilerPassInterface
+class CheckExceptionOnInvalidReferenceBehaviorPass extends AbstractRecursivePass
{
protected function processValue($value, $isRoot = false)
{
@@ -23,7 +23,7 @@
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
-class CheckReferenceValidityPass extends AbstractRecursivePass implements CompilerPassInterface
+class CheckReferenceValidityPass extends AbstractRecursivePass
{
protected function processValue($value, $isRoot = false)
{
@@ -21,7 +21,7 @@
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
-class ReplaceAliasByActualDefinitionPass extends AbstractRecursivePass implements CompilerPassInterface
+class ReplaceAliasByActualDefinitionPass extends AbstractRecursivePass
{
private $replacements;
@@ -23,7 +23,7 @@
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
* @author Nicolas Grekas <p@tchwork.com>
*/
-class ResolveDefinitionTemplatesPass extends AbstractRecursivePass implements CompilerPassInterface
+class ResolveDefinitionTemplatesPass extends AbstractRecursivePass
{
protected function processValue($value, $isRoot = false)
{
@@ -20,7 +20,7 @@
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
-class ResolveParameterPlaceHoldersPass extends AbstractRecursivePass implements CompilerPassInterface
+class ResolveParameterPlaceHoldersPass extends AbstractRecursivePass
{
private $bag;

0 comments on commit 00ab4b3

Please sign in to comment.