This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bundle/FrameworkBundle
Nicolas Grekas 0aedb03af6 bug #26088 [FrameworkBundle] Fix using annotation_reader in compiler pass to inject configured cache provider (Laizerox)
This PR was merged into the 3.4 branch.

Discussion
----------

[FrameworkBundle] Fix using annotation_reader in compiler pass to inject configured cache provider

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #26086
| License       | MIT
| Doc PR        | -

The compilation pass of AddAnnotationsCachedReaderPass relies on already removed definition `annotations.cached_reader` due to an alias to `annotation_reader`.

Since the definition is being removed because of alias, configured annotation cache provider is not injected and will default back to ArrayCache.

This PR replaces the use of `annotations.cached_reader` to `annotation_reader` to complete the injection of configured cache provider.

Commits
-------

dfd93da bug #26086 [FrameworkBundle] Fix using annotation_reader in compiler pass to inject configured cache provider
2018-02-19 17:40:19 +01:00
..
CacheWarmer fixed some deprecation messages 2017-12-31 07:59:27 +01:00
Command fixed some deprecation messages 2017-12-31 07:59:27 +01:00
Console Don't show wanna-be-private services as public in debug:container 2018-01-31 18:08:05 +01:00
Controller fixed messages to be explicit about the package needed to be installed 2018-01-04 14:13:45 +01:00
DataCollector fixed some deprecation messages 2017-12-31 06:12:25 +01:00
DependencyInjection bug #26086 [FrameworkBundle] Fix using annotation_reader in compiler pass to inject configured cache provider 2018-02-19 17:36:43 +01:00
EventListener fixed some deprecation messages 2017-12-31 06:50:45 +01:00
HttpCache minor #25898 [minor] SCA: reduce repetitive method calls (sequential and in loop) (kalessil) 2018-01-23 20:05:41 +01:00
Kernel [DI] Turn services and aliases private by default, with BC layer 2017-09-19 11:28:48 +02:00
Resources [DI][Routing] Fix tracking of globbed resources 2018-01-31 16:05:11 +01:00
Routing fixed some deprecation messages 2017-12-31 06:12:25 +01:00
Templating fixed some deprecation messages 2017-12-31 06:12:25 +01:00
Test fixed some deprecation messages 2017-12-31 07:59:27 +01:00
Tests bug #26088 [FrameworkBundle] Fix using annotation_reader in compiler pass to inject configured cache provider (Laizerox) 2018-02-19 17:40:19 +01:00
Translation Merge branch '3.3' into 3.4 2018-01-03 18:14:19 +01:00
Validator fixed some deprecation messages 2017-12-31 06:50:45 +01:00
.gitignore
CHANGELOG.md Fixed 'RouterInteface' typo 2017-12-20 16:01:44 +01:00
Client.php Merge branch '2.8' into 3.3 2017-11-07 12:58:40 +01:00
composer.json [DI][Routing] Fix tracking of globbed resources 2018-01-31 16:05:11 +01:00
FrameworkBundle.php Merge branch '3.3' into 3.4 2018-01-10 12:30:01 +01:00
LICENSE fixed years in copyright 2018-01-03 08:23:28 +01:00
phpunit.xml.dist Merge branch '3.2' 2017-04-12 07:14:56 -07:00
README.md add readme files where missing 2016-03-07 11:36:15 +01:00