Skip to content

Commit

Permalink
bug #34562 [DI] Skip unknown method calls for factories in check type…
Browse files Browse the repository at this point in the history
…s pass (fancyweb)

This PR was merged into the 4.4 branch.

Discussion
----------

[DI] Skip unknown method calls for factories in check types pass

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | symfony/symfony#34559
| License       | MIT
| Doc PR        | -

Ref symfony/symfony#30885 and symfony/symfony#30889.

Commits
-------

592bff88f2 [DI] Skip unknown method calls for factories in check types pass
  • Loading branch information
nicolas-grekas committed Nov 28, 2019
2 parents 2c8c888 + a8302e2 commit 6732258
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Functional/Bundle/TestBundle/TestBundle.php
Expand Up @@ -49,6 +49,6 @@ public function process(ContainerBuilder $container)
}
});

$container->addCompilerPass(new CheckTypeDeclarationsPass(true, ['http_client', '.debug.http_client']), PassConfig::TYPE_AFTER_REMOVING, -100);
$container->addCompilerPass(new CheckTypeDeclarationsPass(true), PassConfig::TYPE_AFTER_REMOVING, -100);
}
}
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -20,7 +20,7 @@
"ext-xml": "*",
"symfony/cache": "^4.4|^5.0",
"symfony/config": "^4.3.4|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/dependency-injection": "^4.4.1|^5.0.1",
"symfony/http-foundation": "^4.4|^5.0",
"symfony/http-kernel": "^4.4",
"symfony/polyfill-mbstring": "~1.0",
Expand Down

0 comments on commit 6732258

Please sign in to comment.