bc43155f3f
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
103 lines
3.6 KiB
JSON
103 lines
3.6 KiB
JSON
{
|
|
"name": "symfony/framework-bundle",
|
|
"type": "symfony-bundle",
|
|
"description": "Symfony FrameworkBundle",
|
|
"keywords": [],
|
|
"homepage": "https://symfony.com",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Fabien Potencier",
|
|
"email": "fabien@symfony.com"
|
|
},
|
|
{
|
|
"name": "Symfony Community",
|
|
"homepage": "https://symfony.com/contributors"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^7.1.3",
|
|
"ext-xml": "*",
|
|
"symfony/cache": "~4.2",
|
|
"symfony/dependency-injection": "^4.2",
|
|
"symfony/config": "~4.2",
|
|
"symfony/event-dispatcher": "^4.1",
|
|
"symfony/http-foundation": "^4.1.2",
|
|
"symfony/http-kernel": "^4.2",
|
|
"symfony/polyfill-mbstring": "~1.0",
|
|
"symfony/filesystem": "~3.4|~4.0",
|
|
"symfony/finder": "~3.4|~4.0",
|
|
"symfony/routing": "^4.1"
|
|
},
|
|
"require-dev": {
|
|
"doctrine/cache": "~1.0",
|
|
"fig/link-util": "^1.0",
|
|
"symfony/asset": "~3.4|~4.0",
|
|
"symfony/browser-kit": "~3.4|~4.0",
|
|
"symfony/console": "~3.4|~4.0",
|
|
"symfony/css-selector": "~3.4|~4.0",
|
|
"symfony/dom-crawler": "~3.4|~4.0",
|
|
"symfony/polyfill-intl-icu": "~1.0",
|
|
"symfony/security": "~3.4|~4.0",
|
|
"symfony/form": "^4.2",
|
|
"symfony/expression-language": "~3.4|~4.0",
|
|
"symfony/messenger": "^4.2",
|
|
"symfony/process": "~3.4|~4.0",
|
|
"symfony/security-core": "~3.4|~4.0",
|
|
"symfony/security-csrf": "~3.4|~4.0",
|
|
"symfony/serializer": "^4.2",
|
|
"symfony/stopwatch": "~3.4|~4.0",
|
|
"symfony/translation": "~4.2",
|
|
"symfony/templating": "~3.4|~4.0",
|
|
"symfony/validator": "^4.1",
|
|
"symfony/var-dumper": "~3.4|~4.0",
|
|
"symfony/workflow": "^4.1",
|
|
"symfony/yaml": "~3.4|~4.0",
|
|
"symfony/property-info": "~3.4|~4.0",
|
|
"symfony/lock": "~3.4|~4.0",
|
|
"symfony/web-link": "~3.4|~4.0",
|
|
"doctrine/annotations": "~1.0",
|
|
"phpdocumentor/reflection-docblock": "^3.0|^4.0",
|
|
"twig/twig": "~1.34|~2.4"
|
|
},
|
|
"conflict": {
|
|
"phpdocumentor/reflection-docblock": "<3.0",
|
|
"phpdocumentor/type-resolver": "<0.2.1",
|
|
"phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
|
|
"symfony/asset": "<3.4",
|
|
"symfony/console": "<3.4",
|
|
"symfony/form": "<4.2",
|
|
"symfony/messenger": "<4.2",
|
|
"symfony/property-info": "<3.4",
|
|
"symfony/serializer": "<4.1",
|
|
"symfony/stopwatch": "<3.4",
|
|
"symfony/translation": "<4.2",
|
|
"symfony/twig-bridge": "<4.1.1",
|
|
"symfony/validator": "<4.1",
|
|
"symfony/workflow": "<4.1"
|
|
},
|
|
"suggest": {
|
|
"ext-apcu": "For best performance of the system caches",
|
|
"phpdocumentor/reflection-docblock": "For display additional information in debug:container",
|
|
"symfony/console": "For using the console commands",
|
|
"symfony/form": "For using forms",
|
|
"symfony/serializer": "For using the serializer service",
|
|
"symfony/validator": "For using validation",
|
|
"symfony/yaml": "For using the debug:config and lint:yaml commands",
|
|
"symfony/property-info": "For using the property_info service",
|
|
"symfony/web-link": "For using web links, features such as preloading, prefetching or prerendering"
|
|
},
|
|
"autoload": {
|
|
"psr-4": { "Symfony\\Bundle\\FrameworkBundle\\": "" },
|
|
"exclude-from-classmap": [
|
|
"/Tests/"
|
|
]
|
|
},
|
|
"minimum-stability": "dev",
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "4.2-dev"
|
|
}
|
|
}
|
|
}
|