Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Use PSR-4 everywhere instead of PSR-0 #11190

Closed
wants to merge 1 commit into from

5 participants

@Tobion
Collaborator
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #11189
License MIT
@Tobion Tobion Use PSR-4 everywhere instead of PSR-0
06387ac
@Taluu Taluu commented on the diff
composer.json
@@ -78,7 +78,7 @@
"egulias/email-validator": "1.1.0"
},
"autoload": {
- "psr-0": { "Symfony\\": "src/" },
+ "psr-4": { "Symfony\\": "src/Symfony/" },
@Taluu
Taluu added a note

I'm not sure the root composer.json should change to PSR-4. It is valid for the components' and bundles', because it replaces the deprecated composer's target-dir option, but on the root, as there is no such option enabled...

@Tobion Collaborator
Tobion added a note

What's the disadvantage of using PSR-4? I don't thnk we are going to create PEAR-like classes in symfony, do you?

@Taluu
Taluu added a note

Well, both of these standards are valid IMO (even though I also prefer the PSR-4). And your change is valid.

But here, on the root, we have a PSR-0 structure (the src is in the src directory, which have a Symfony subdir, which have a Component, Bridge and Bundlesubdirectory, ... etc), when in the bundles / components, we have a PSR-4 structure (the sources are on the same level as the composer.json).

I'm just not sure if there is a gain of performances (it depends if the psr-4 stuff is loaded before or after the psr-0 stuff)

@sstok
sstok added a note

#11189 (comment)
"the PSR-4 rules are applied before the PSR-0 ones"

@stof Collaborator
stof added a note

note that the advantage only appears in dev though. In prod, you should dump an optimized autoloader with composer, which will then never reach the PSR-4 or the PSR-0 logic normally but only the classmap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@Seldaek
Collaborator

:+1: - and I sent #11199 that fixes the test suite. Closing this since the other one includes this PR.

@Seldaek Seldaek closed this
@Tobion Tobion deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 20, 2014
  1. @Tobion

    Use PSR-4 everywhere instead of PSR-0

    Tobion authored
This page is out of date. Refresh to see the latest.
Showing with 43 additions and 87 deletions.
  1. +1 −1  composer.json
  2. +1 −2  src/Symfony/Bridge/Doctrine/composer.json
  3. +1 −2  src/Symfony/Bridge/Monolog/composer.json
  4. +1 −2  src/Symfony/Bridge/Propel1/composer.json
  5. +1 −4 src/Symfony/Bridge/ProxyManager/composer.json
  6. +1 −2  src/Symfony/Bridge/Swiftmailer/composer.json
  7. +1 −2  src/Symfony/Bridge/Twig/composer.json
  8. +1 −2  src/Symfony/Bundle/FrameworkBundle/composer.json
  9. +1 −2  src/Symfony/Bundle/SecurityBundle/composer.json
  10. +1 −2  src/Symfony/Bundle/TwigBundle/composer.json
  11. +1 −2  src/Symfony/Bundle/WebProfilerBundle/composer.json
  12. +1 −2  src/Symfony/Component/BrowserKit/composer.json
  13. +1 −2  src/Symfony/Component/ClassLoader/composer.json
  14. +1 −2  src/Symfony/Component/Config/composer.json
  15. +1 −2  src/Symfony/Component/Console/composer.json
  16. +1 −2  src/Symfony/Component/CssSelector/composer.json
  17. +1 −2  src/Symfony/Component/Debug/composer.json
  18. +1 −2  src/Symfony/Component/DependencyInjection/composer.json
  19. +1 −2  src/Symfony/Component/DomCrawler/composer.json
  20. +1 −2  src/Symfony/Component/EventDispatcher/composer.json
  21. +1 −2  src/Symfony/Component/ExpressionLanguage/composer.json
  22. +1 −2  src/Symfony/Component/Filesystem/composer.json
  23. +1 −2  src/Symfony/Component/Finder/composer.json
  24. +1 −2  src/Symfony/Component/Form/composer.json
  25. +1 −2  src/Symfony/Component/HttpFoundation/composer.json
  26. +1 −2  src/Symfony/Component/HttpKernel/composer.json
  27. +1 −2  src/Symfony/Component/Intl/composer.json
  28. +1 −2  src/Symfony/Component/Locale/composer.json
  29. +1 −2  src/Symfony/Component/OptionsResolver/composer.json
  30. +1 −2  src/Symfony/Component/Process/composer.json
  31. +1 −2  src/Symfony/Component/PropertyAccess/composer.json
  32. +1 −2  src/Symfony/Component/Routing/composer.json
  33. +1 −2  src/Symfony/Component/Security/Acl/composer.json
  34. +1 −2  src/Symfony/Component/Security/Core/composer.json
  35. +1 −2  src/Symfony/Component/Security/Csrf/composer.json
  36. +1 −2  src/Symfony/Component/Security/Http/composer.json
  37. +1 −2  src/Symfony/Component/Security/composer.json
  38. +1 −2  src/Symfony/Component/Serializer/composer.json
  39. +1 −2  src/Symfony/Component/Stopwatch/composer.json
  40. +1 −2  src/Symfony/Component/Templating/composer.json
  41. +1 −2  src/Symfony/Component/Translation/composer.json
  42. +1 −2  src/Symfony/Component/Validator/composer.json
  43. +1 −2  src/Symfony/Component/Yaml/composer.json
View
2  composer.json
@@ -78,7 +78,7 @@
"egulias/email-validator": "1.1.0"
},
"autoload": {
- "psr-0": { "Symfony\\": "src/" },
+ "psr-4": { "Symfony\\": "src/Symfony/" },
@Taluu
Taluu added a note

I'm not sure the root composer.json should change to PSR-4. It is valid for the components' and bundles', because it replaces the deprecated composer's target-dir option, but on the root, as there is no such option enabled...

@Tobion Collaborator
Tobion added a note

What's the disadvantage of using PSR-4? I don't thnk we are going to create PEAR-like classes in symfony, do you?

@Taluu
Taluu added a note

Well, both of these standards are valid IMO (even though I also prefer the PSR-4). And your change is valid.

But here, on the root, we have a PSR-0 structure (the src is in the src directory, which have a Symfony subdir, which have a Component, Bridge and Bundlesubdirectory, ... etc), when in the bundles / components, we have a PSR-4 structure (the sources are on the same level as the composer.json).

I'm just not sure if there is a gain of performances (it depends if the psr-4 stuff is loaded before or after the psr-0 stuff)

@sstok
sstok added a note

#11189 (comment)
"the PSR-4 rules are applied before the PSR-0 ones"

@stof Collaborator
stof added a note

note that the advantage only appears in dev though. In prod, you should dump an optimized autoloader with composer, which will then never reach the PSR-4 or the PSR-0 logic normally but only the classmap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
"classmap": [
"src/Symfony/Component/HttpFoundation/Resources/stubs",
"src/Symfony/Component/Intl/Resources/stubs"
View
3  src/Symfony/Bridge/Doctrine/composer.json
@@ -39,9 +39,8 @@
"doctrine/orm": ""
},
"autoload": {
- "psr-0": { "Symfony\\Bridge\\Doctrine\\": "" }
+ "psr-4": { "Symfony\\Bridge\\Doctrine\\": "" }
},
- "target-dir": "Symfony/Bridge/Doctrine",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Bridge/Monolog/composer.json
@@ -30,9 +30,8 @@
"symfony/event-dispatcher": "Needed when using log messages in console commands"
},
"autoload": {
- "psr-0": { "Symfony\\Bridge\\Monolog\\": "" }
+ "psr-4": { "Symfony\\Bridge\\Monolog\\": "" }
},
- "target-dir": "Symfony/Bridge/Monolog",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Bridge/Propel1/composer.json
@@ -26,9 +26,8 @@
"symfony/stopwatch": "~2.2"
},
"autoload": {
- "psr-0": { "Symfony\\Bridge\\Propel1\\": "" }
+ "psr-4": { "Symfony\\Bridge\\Propel1\\": "" }
},
- "target-dir": "Symfony/Bridge/Propel1",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
5 src/Symfony/Bridge/ProxyManager/composer.json
@@ -21,11 +21,8 @@
"ocramius/proxy-manager": ">=0.3.1,<0.6-dev"
},
"autoload": {
- "psr-0": {
- "Symfony\\Bridge\\ProxyManager\\": ""
- }
+ "psr-4": { "Symfony\\Bridge\\ProxyManager\\": "" }
},
- "target-dir": "Symfony/Bridge/ProxyManager",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Bridge/Swiftmailer/composer.json
@@ -23,9 +23,8 @@
"symfony/http-kernel": ""
},
"autoload": {
- "psr-0": { "Symfony\\Bridge\\Swiftmailer\\": "" }
+ "psr-4": { "Symfony\\Bridge\\Swiftmailer\\": "" }
},
- "target-dir": "Symfony/Bridge/Swiftmailer",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Bridge/Twig/composer.json
@@ -44,9 +44,8 @@
"symfony/expression-language": "For using the ExpressionExtension"
},
"autoload": {
- "psr-0": { "Symfony\\Bridge\\Twig\\": "" }
+ "psr-4": { "Symfony\\Bridge\\Twig\\": "" }
},
- "target-dir": "Symfony/Bridge/Twig",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Bundle/FrameworkBundle/composer.json
@@ -46,9 +46,8 @@
"doctrine/cache": "For using alternative cache drivers"
},
"autoload": {
- "psr-0": { "Symfony\\Bundle\\FrameworkBundle\\": "" }
+ "psr-4": { "Symfony\\Bundle\\FrameworkBundle\\": "" }
},
- "target-dir": "Symfony/Bundle/FrameworkBundle",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Bundle/SecurityBundle/composer.json
@@ -29,9 +29,8 @@
"doctrine/doctrine-bundle": "~1.2"
},
"autoload": {
- "psr-0": { "Symfony\\Bundle\\SecurityBundle\\": "" }
+ "psr-4": { "Symfony\\Bundle\\SecurityBundle\\": "" }
},
- "target-dir": "Symfony/Bundle/SecurityBundle",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Bundle/TwigBundle/composer.json
@@ -29,9 +29,8 @@
"symfony/framework-bundle": "~2.1"
},
"autoload": {
- "psr-0": { "Symfony\\Bundle\\TwigBundle\\": "" }
+ "psr-4": { "Symfony\\Bundle\\TwigBundle\\": "" }
},
- "target-dir": "Symfony/Bundle/TwigBundle",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Bundle/WebProfilerBundle/composer.json
@@ -27,9 +27,8 @@
"symfony/stopwatch": "~2.2"
},
"autoload": {
- "psr-0": { "Symfony\\Bundle\\WebProfilerBundle\\": "" }
+ "psr-4": { "Symfony\\Bundle\\WebProfilerBundle\\": "" }
},
- "target-dir": "Symfony/Bundle/WebProfilerBundle",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/BrowserKit/composer.json
@@ -27,9 +27,8 @@
"symfony/process": ""
},
"autoload": {
- "psr-0": { "Symfony\\Component\\BrowserKit\\": "" }
+ "psr-4": { "Symfony\\Component\\BrowserKit\\": "" }
},
- "target-dir": "Symfony/Component/BrowserKit",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/ClassLoader/composer.json
@@ -23,9 +23,8 @@
"symfony/finder": "~2.0"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\ClassLoader\\": "" }
+ "psr-4": { "Symfony\\Component\\ClassLoader\\": "" }
},
- "target-dir": "Symfony/Component/ClassLoader",
"extra": {
"branch-alias": {
"dev-master": "2.6-dev"
View
3  src/Symfony/Component/Config/composer.json
@@ -20,9 +20,8 @@
"symfony/filesystem": "~2.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Config\\": "" }
+ "psr-4": { "Symfony\\Component\\Config\\": "" }
},
- "target-dir": "Symfony/Component/Config",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Console/composer.json
@@ -29,9 +29,8 @@
"psr/log": "For using the console logger"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Console\\": "" }
+ "psr-4": { "Symfony\\Component\\Console\\": "" }
},
- "target-dir": "Symfony/Component/Console",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/CssSelector/composer.json
@@ -23,9 +23,8 @@
"php": ">=5.3.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\CssSelector\\": "" }
+ "psr-4": { "Symfony\\Component\\CssSelector\\": "" }
},
- "target-dir": "Symfony/Component/CssSelector",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Debug/composer.json
@@ -28,9 +28,8 @@
"symfony/http-kernel": ""
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Debug\\": "" }
+ "psr-4": { "Symfony\\Component\\Debug\\": "" }
},
- "target-dir": "Symfony/Component/Debug",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/DependencyInjection/composer.json
@@ -29,9 +29,8 @@
"symfony/proxy-manager-bridge": "Generate service proxies to lazy load them"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\DependencyInjection\\": "" }
+ "psr-4": { "Symfony\\Component\\DependencyInjection\\": "" }
},
- "target-dir": "Symfony/Component/DependencyInjection",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/DomCrawler/composer.json
@@ -25,9 +25,8 @@
"symfony/css-selector": ""
},
"autoload": {
- "psr-0": { "Symfony\\Component\\DomCrawler\\": "" }
+ "psr-4": { "Symfony\\Component\\DomCrawler\\": "" }
},
- "target-dir": "Symfony/Component/DomCrawler",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/EventDispatcher/composer.json
@@ -29,9 +29,8 @@
"symfony/http-kernel": ""
},
"autoload": {
- "psr-0": { "Symfony\\Component\\EventDispatcher\\": "" }
+ "psr-4": { "Symfony\\Component\\EventDispatcher\\": "" }
},
- "target-dir": "Symfony/Component/EventDispatcher",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/ExpressionLanguage/composer.json
@@ -19,9 +19,8 @@
"php": ">=5.3.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\ExpressionLanguage\\": "" }
+ "psr-4": { "Symfony\\Component\\ExpressionLanguage\\": "" }
},
- "target-dir": "Symfony/Component/ExpressionLanguage",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Filesystem/composer.json
@@ -19,9 +19,8 @@
"php": ">=5.3.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Filesystem\\": "" }
+ "psr-4": { "Symfony\\Component\\Filesystem\\": "" }
},
- "target-dir": "Symfony/Component/Filesystem",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Finder/composer.json
@@ -19,9 +19,8 @@
"php": ">=5.3.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Finder\\": "" }
+ "psr-4": { "Symfony\\Component\\Finder\\": "" }
},
- "target-dir": "Symfony/Component/Finder",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Form/composer.json
@@ -36,9 +36,8 @@
"symfony/framework-bundle": "For templating with PHP."
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Form\\": "" }
+ "psr-4": { "Symfony\\Component\\Form\\": "" }
},
- "target-dir": "Symfony/Component/Form",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/HttpFoundation/composer.json
@@ -22,10 +22,9 @@
"symfony/expression-language": "~2.4"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\HttpFoundation\\": "" },
+ "psr-4": { "Symfony\\Component\\HttpFoundation\\": "" },
"classmap": [ "Symfony/Component/HttpFoundation/Resources/stubs" ]
},
- "target-dir": "Symfony/Component/HttpFoundation",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/HttpKernel/composer.json
@@ -43,9 +43,8 @@
"symfony/finder": ""
},
"autoload": {
- "psr-0": { "Symfony\\Component\\HttpKernel\\": "" }
+ "psr-4": { "Symfony\\Component\\HttpKernel\\": "" }
},
- "target-dir": "Symfony/Component/HttpKernel",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Intl/composer.json
@@ -34,11 +34,10 @@
"ext-intl": "to use the component with locales other than \"en\""
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Intl\\": "" },
+ "psr-4": { "Symfony\\Component\\Intl\\": "" },
"classmap": [ "Symfony/Component/Intl/Resources/stubs" ],
"files": [ "Symfony/Component/Intl/Resources/stubs/functions.php" ]
},
- "target-dir": "Symfony/Component/Intl",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Locale/composer.json
@@ -20,9 +20,8 @@
"symfony/intl": ">=2.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Locale\\": "" }
+ "psr-4": { "Symfony\\Component\\Locale\\": "" }
},
- "target-dir": "Symfony/Component/Locale",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/OptionsResolver/composer.json
@@ -19,9 +19,8 @@
"php": ">=5.3.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\OptionsResolver\\": "" }
+ "psr-4": { "Symfony\\Component\\OptionsResolver\\": "" }
},
- "target-dir": "Symfony/Component/OptionsResolver",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Process/composer.json
@@ -19,9 +19,8 @@
"php": ">=5.3.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Process\\": "" }
+ "psr-4": { "Symfony\\Component\\Process\\": "" }
},
- "target-dir": "Symfony/Component/Process",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/PropertyAccess/composer.json
@@ -19,9 +19,8 @@
"php": ">=5.3.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\PropertyAccess\\": "" }
+ "psr-4": { "Symfony\\Component\\PropertyAccess\\": "" }
},
- "target-dir": "Symfony/Component/PropertyAccess",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Routing/composer.json
@@ -32,9 +32,8 @@
"doctrine/annotations": "For using the annotation loader"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Routing\\": "" }
+ "psr-4": { "Symfony\\Component\\Routing\\": "" }
},
- "target-dir": "Symfony/Component/Routing",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Security/Acl/composer.json
@@ -30,9 +30,8 @@
"doctrine/dbal": "For using the built-in ACL implementation"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Security\\Acl\\": "" }
+ "psr-4": { "Symfony\\Component\\Security\\Acl\\": "" }
},
- "target-dir": "Symfony/Component/Security/Acl",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Security/Core/composer.json
@@ -34,9 +34,8 @@
"ircmaxell/password-compat": "For using the BCrypt password encoder in PHP <5.5"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Security\\Core\\": "" }
+ "psr-4": { "Symfony\\Component\\Security\\Core\\": "" }
},
- "target-dir": "Symfony/Component/Security/Core",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Security/Csrf/composer.json
@@ -26,9 +26,8 @@
"symfony/http-foundation": "For using the class SessionTokenStorage."
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Security\\Csrf\\": "" }
+ "psr-4": { "Symfony\\Component\\Security\\Csrf\\": "" }
},
- "target-dir": "Symfony/Component/Security/Csrf",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Security/Http/composer.json
@@ -32,9 +32,8 @@
"symfony/routing": "For using the HttpUtils class to create sub-requests, redirect the user, and match URLs"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Security\\Http\\": "" }
+ "psr-4": { "Symfony\\Component\\Security\\Http\\": "" }
},
- "target-dir": "Symfony/Component/Security/Http",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Security/composer.json
@@ -46,9 +46,8 @@
"ircmaxell/password-compat": "For using the BCrypt password encoder in PHP <5.5"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Security\\": "" }
+ "psr-4": { "Symfony\\Component\\Security\\": "" }
},
- "target-dir": "Symfony/Component/Security",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Serializer/composer.json
@@ -19,9 +19,8 @@
"php": ">=5.3.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Serializer\\": "" }
+ "psr-4": { "Symfony\\Component\\Serializer\\": "" }
},
- "target-dir": "Symfony/Component/Serializer",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Stopwatch/composer.json
@@ -19,9 +19,8 @@
"php": ">=5.3.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Stopwatch\\": "" }
+ "psr-4": { "Symfony\\Component\\Stopwatch\\": "" }
},
- "target-dir": "Symfony/Component/Stopwatch",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Templating/composer.json
@@ -25,9 +25,8 @@
"psr/log": "For using debug logging in loaders"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Templating\\": "" }
+ "psr-4": { "Symfony\\Component\\Templating\\": "" }
},
- "target-dir": "Symfony/Component/Templating",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Translation/composer.json
@@ -27,9 +27,8 @@
"symfony/yaml": ""
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Translation\\": "" }
+ "psr-4": { "Symfony\\Component\\Translation\\": "" }
},
- "target-dir": "Symfony/Component/Translation",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Validator/composer.json
@@ -42,9 +42,8 @@
"symfony/expression-language": "For using the 2.4 Expression validator"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Validator\\": "" }
+ "psr-4": { "Symfony\\Component\\Validator\\": "" }
},
- "target-dir": "Symfony/Component/Validator",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
View
3  src/Symfony/Component/Yaml/composer.json
@@ -19,9 +19,8 @@
"php": ">=5.3.3"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Yaml\\": "" }
+ "psr-4": { "Symfony\\Component\\Yaml\\": "" }
},
- "target-dir": "Symfony/Component/Yaml",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
Something went wrong with that request. Please try again.