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/Component
Fabien Potencier bc43155f3f feature #27770 [FrameworkBundle] Moving Cache-related CompilerPass to Cache component (Korbeil)
This PR was merged into the 4.2-dev branch.

Discussion
----------

[FrameworkBundle] Moving Cache-related CompilerPass to Cache component

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

Hi, first PR here 🎉

This is related to #27479 and a first work to move Cache-related CompilerPass out of `FrameworkBundle`, it allows to decouple part of the FrameworkBundle configuration classes.

Since we didn't choosed a fixed directory organization to manage theses, I actually did same as in Bundles and used DependencyInjection folder. If we do choose to follow my [last comment directory organization proposal](https://github.com/symfony/symfony/issues/27479#issuecomment-401307685), I'll move theses CompilerPass to `Framework/DependencyInjection/Compiler` directory (nothing hard here).

Thanks to @DanieleGBX that helped me checking this PR and gave me some good advices !

Here is a list of all CompilerPass I moved, with related component (I also moved related tests when they were present):
- **Cache** - CacheCollectorPass
- **Cache** - CachePoolClearerPass
- **Cache** - CachePoolPass
- **Cache** - CachePoolPrunerPass

Commits
-------

53e7040829 moving Cache-related compiler pass from FrameworkBundle to Cache component
2018-10-10 02:39:24 -07:00
..
Asset Mark ExceptionInterfaces throwable 2018-08-29 17:58:00 +02:00
BrowserKit bug #28592 [BrowserKit] throw exception when request() wasn't called (xabbuh) 2018-09-29 23:52:52 +02:00
Cache feature #27770 [FrameworkBundle] Moving Cache-related CompilerPass to Cache component (Korbeil) 2018-10-10 02:39:24 -07:00
Config Favor LogicException for missing classes & functions 2018-09-24 09:37:12 +02:00
Console Merge branch '4.1' 2018-10-03 10:52:36 +02:00
CssSelector Merge branch '4.1' 2018-10-02 18:38:08 +02:00
Debug Merge branch '4.1' 2018-10-02 18:38:08 +02:00
DependencyInjection [DI] minor optim for dumped container 2018-10-06 20:06:14 +02:00
DomCrawler Merge branch '4.1' 2018-10-02 14:43:31 +02:00
Dotenv minor #28359 [Dotenv] use array instead of variadic in Dotenv::doLoad() (fmata) 2018-09-05 10:57:29 +02:00
EventDispatcher Remove all usages of call_user_func_array() 2018-09-11 09:53:26 +02:00
ExpressionLanguage Remove all usages of call_user_func_array() 2018-09-11 09:53:26 +02:00
Filesystem Merge branch '4.1' 2018-10-02 14:43:31 +02:00
Finder Merge branch '4.1' 2018-10-03 10:52:36 +02:00
Form simplify the form type extension registration 2018-10-08 23:29:09 +02:00
HttpFoundation Merge branch '4.1' 2018-10-03 10:52:36 +02:00
HttpKernel Make trans + %count% parameter resolve plurals 2018-10-06 18:22:22 +02:00
Inflector Merge branch '4.1' 2018-07-26 10:59:12 +02:00
Intl Merge branch '4.1' 2018-10-02 14:43:31 +02:00
Ldap Merge branch '4.1' 2018-10-02 14:43:31 +02:00
Lock [Cache] add RedisClusterProxy to create lazy connections to Redis clusters 2018-10-02 19:45:17 +02:00
Messenger [Messenger] Fix middleware docblocks 2018-10-03 21:51:11 +02:00
OptionsResolver [OptionsResolver] Passing Options argument to deprecation closure 2018-10-10 02:26:20 -07:00
Process Merge branch '4.1' 2018-10-02 14:43:31 +02:00
PropertyAccess Merge branch '4.1' 2018-10-02 14:43:31 +02:00
PropertyInfo Favor LogicException for missing classes & functions 2018-09-24 09:37:12 +02:00
Routing minor cs fix 2018-10-08 18:23:26 -07:00
Security [Security] Deprecate simple_preauth and simple_form in favor of Guard 2018-10-03 09:02:12 +02:00
Serializer [Serialized] allow configuring the serialized name of properties through metadata 2018-10-05 09:43:51 +02:00
Stopwatch Merge branch '4.1' 2018-10-02 14:43:31 +02:00
Templating Fix code examples in PHPDoc 2018-08-29 15:11:53 +02:00
Translation Make trans + %count% parameter resolve plurals 2018-10-06 18:22:22 +02:00
Validator Make trans + %count% parameter resolve plurals 2018-10-06 18:22:22 +02:00
VarDumper Merge branch '4.1' 2018-10-02 18:38:08 +02:00
VarExporter [VarExporter] add Instantiator::instantiate() to create+populate objects without calling their constructor nor any other methods 2018-09-18 17:22:26 +02:00
WebLink Merge branch '4.1' 2018-07-26 11:13:01 +02:00
Workflow Merge branch '4.1' 2018-10-02 14:43:31 +02:00
Yaml Merge branch '4.1' 2018-10-02 18:38:08 +02:00