This PR was merged into the 3.3-dev branch.
Discussion
----------
[DI] Implement PSR-11
TODO:
- [x] wait for a stable version of the psr/container package;
- [x] ~~deprecate instanciating ServiceNotFoundException directly, or using any of its methods directly;~~ not relevant anymore
- [x] act on the outcome of https://github.com/php-fig/container/issues/8 (solved in https://github.com/php-fig/container/issues/9) ;
- [x] ~~solve the mandatory NotFoundExceptionInterface on non-existing service
problem (with a flag ?);~~ non-issue, see comments below
- [x] provide meta-package psr/container-implementation if all problems can
be solved.
| Q | A
| ------------- | ---
| Branch? | master
| New feature? | yes
| BC breaks? | not at the moment
| Tests pass? | didn't pass before pushing, or even starting to code, will see Travis
| License | MIT
| Doc PR | TODO
This PR is a first attempt at implementing PSR-11, or at least trying to get closer to it.
Delegate lookup is optional, and thus not implemented for now.
Commits
-------
bde0efd01c
Implement PSR-11
136 lines
5.0 KiB
JSON
136 lines
5.0 KiB
JSON
{
|
|
"name": "symfony/symfony",
|
|
"type": "library",
|
|
"description": "The Symfony PHP framework",
|
|
"keywords": ["framework"],
|
|
"homepage": "https://symfony.com",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Fabien Potencier",
|
|
"email": "fabien@symfony.com"
|
|
},
|
|
{
|
|
"name": "Symfony Community",
|
|
"homepage": "https://symfony.com/contributors"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=5.5.9",
|
|
"doctrine/common": "~2.4",
|
|
"twig/twig": "~1.28|~2.0",
|
|
"psr/cache": "~1.0",
|
|
"psr/container": "^1.0",
|
|
"psr/log": "~1.0",
|
|
"psr/simple-cache": "^1.0",
|
|
"symfony/polyfill-intl-icu": "~1.0",
|
|
"symfony/polyfill-mbstring": "~1.0",
|
|
"symfony/polyfill-php56": "~1.0",
|
|
"symfony/polyfill-php70": "~1.0",
|
|
"symfony/polyfill-util": "~1.0"
|
|
},
|
|
"replace": {
|
|
"symfony/asset": "self.version",
|
|
"symfony/browser-kit": "self.version",
|
|
"symfony/cache": "self.version",
|
|
"symfony/class-loader": "self.version",
|
|
"symfony/config": "self.version",
|
|
"symfony/console": "self.version",
|
|
"symfony/css-selector": "self.version",
|
|
"symfony/dependency-injection": "self.version",
|
|
"symfony/debug": "self.version",
|
|
"symfony/debug-bundle": "self.version",
|
|
"symfony/doctrine-bridge": "self.version",
|
|
"symfony/dom-crawler": "self.version",
|
|
"symfony/dotenv": "self.version",
|
|
"symfony/event-dispatcher": "self.version",
|
|
"symfony/expression-language": "self.version",
|
|
"symfony/filesystem": "self.version",
|
|
"symfony/finder": "self.version",
|
|
"symfony/form": "self.version",
|
|
"symfony/framework-bundle": "self.version",
|
|
"symfony/http-foundation": "self.version",
|
|
"symfony/http-kernel": "self.version",
|
|
"symfony/inflector": "self.version",
|
|
"symfony/intl": "self.version",
|
|
"symfony/ldap": "self.version",
|
|
"symfony/monolog-bridge": "self.version",
|
|
"symfony/options-resolver": "self.version",
|
|
"symfony/process": "self.version",
|
|
"symfony/property-access": "self.version",
|
|
"symfony/property-info": "self.version",
|
|
"symfony/proxy-manager-bridge": "self.version",
|
|
"symfony/routing": "self.version",
|
|
"symfony/security": "self.version",
|
|
"symfony/security-core": "self.version",
|
|
"symfony/security-csrf": "self.version",
|
|
"symfony/security-guard": "self.version",
|
|
"symfony/security-http": "self.version",
|
|
"symfony/security-bundle": "self.version",
|
|
"symfony/serializer": "self.version",
|
|
"symfony/stopwatch": "self.version",
|
|
"symfony/templating": "self.version",
|
|
"symfony/translation": "self.version",
|
|
"symfony/twig-bridge": "self.version",
|
|
"symfony/twig-bundle": "self.version",
|
|
"symfony/validator": "self.version",
|
|
"symfony/var-dumper": "self.version",
|
|
"symfony/web-profiler-bundle": "self.version",
|
|
"symfony/web-server-bundle": "self.version",
|
|
"symfony/workflow": "self.version",
|
|
"symfony/yaml": "self.version"
|
|
},
|
|
"require-dev": {
|
|
"cache/integration-tests": "^0.15.0",
|
|
"doctrine/cache": "~1.6",
|
|
"doctrine/data-fixtures": "1.0.*",
|
|
"doctrine/dbal": "~2.4",
|
|
"doctrine/orm": "~2.4,>=2.4.5",
|
|
"doctrine/doctrine-bundle": "~1.4",
|
|
"monolog/monolog": "~1.11",
|
|
"ocramius/proxy-manager": "~0.4|~1.0|~2.0",
|
|
"predis/predis": "~1.0",
|
|
"egulias/email-validator": "~1.2,>=1.2.8|~2.0",
|
|
"symfony/phpunit-bridge": "~3.2",
|
|
"symfony/polyfill-apcu": "~1.1",
|
|
"symfony/security-acl": "~2.8|~3.0",
|
|
"phpdocumentor/reflection-docblock": "^3.0",
|
|
"sensio/framework-extra-bundle": "^3.0.2"
|
|
},
|
|
"conflict": {
|
|
"phpdocumentor/reflection-docblock": "<3.0",
|
|
"phpdocumentor/type-resolver": "<0.2.0"
|
|
},
|
|
"provide": {
|
|
"psr/cache-implementation": "1.0",
|
|
"psr/container-implementation": "1.0",
|
|
"psr/simple-cache-implementation": "1.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Symfony\\Bridge\\Doctrine\\": "src/Symfony/Bridge/Doctrine/",
|
|
"Symfony\\Bridge\\Monolog\\": "src/Symfony/Bridge/Monolog/",
|
|
"Symfony\\Bridge\\ProxyManager\\": "src/Symfony/Bridge/ProxyManager/",
|
|
"Symfony\\Bridge\\Swiftmailer\\": "src/Symfony/Bridge/Swiftmailer/",
|
|
"Symfony\\Bridge\\Twig\\": "src/Symfony/Bridge/Twig/",
|
|
"Symfony\\Bundle\\": "src/Symfony/Bundle/",
|
|
"Symfony\\Component\\": "src/Symfony/Component/"
|
|
},
|
|
"classmap": [
|
|
"src/Symfony/Component/Intl/Resources/stubs"
|
|
],
|
|
"exclude-from-classmap": [
|
|
"**/Tests/"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"files": [ "src/Symfony/Component/VarDumper/Resources/functions/dump.php" ]
|
|
},
|
|
"minimum-stability": "dev",
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "3.3-dev"
|
|
}
|
|
}
|
|
}
|