Skip to content
Permalink
Browse files

Merge branch '4.4'

* 4.4: (39 commits)
  [Console] Fix #33915, Detect dimensions using mode CON if vt100 is supported
  [PhpUnitBridge] Also search for composer.phar in git root folder
  [HttpKernel][DataCollectorInterface] Ease compatibility
  Add tests to ensure defaultLocale is properly passed to the URL generator
  [DependencyInjection] Fix broken references in tests
  [VarDumper] display the method we're in when dumping stack traces
  [HttpClient] Retry safe requests when then fail before the body arrives
  [Console] Rename some methods related to redraw frequency
  Avoid using of kernel after shutdown
  Simplify PHP CS Fixer configuration
  [PropertyInfo] Fixed type extraction for nullable collections of non-nullable elements
  [FrameworkBundle] [HttpKernel] fixed correct EOL and EOM month
  Fix CS
  [Serializer] Fix property name usage for denormalization
  Name test accordingly to the tested class
  Fix MockFileSessionStorageTest::sessionDir being used after it's unset
  [Security] Fix SwitchUserToken wrongly deauthenticated
  Supporting Bootstrap 4 custom switches
  Add new Form WeekType
  bumped Symfony version to 4.3.7
  ...
  • Loading branch information
nicolas-grekas committed Nov 5, 2019
2 parents 14da170 + 4cd3dc8 commit 5e358e33c9331fba40326e21c948341059a95ea0
Showing with 2,987 additions and 189 deletions.
  1. +0 −8 .php_cs.dist
  2. +43 −0 CHANGELOG-4.3.md
  3. +52 −25 CONTRIBUTORS.md
  4. +5 −0 UPGRADE-4.4.md
  5. +2 −0 UPGRADE-5.0.md
  6. +1 −0 src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php
  7. +1 −0 src/Symfony/Bridge/Twig/CHANGELOG.md
  8. +6 −1 src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_4_layout.html.twig
  9. +1 −1 src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_base_layout.html.twig
  10. +11 −0 src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig
  11. +98 −0 src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTest.php
  12. +1 −0 src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
  13. +1 −1 src/Symfony/Bundle/FrameworkBundle/Command/AboutCommand.php
  14. +80 −0 src/Symfony/Bundle/FrameworkBundle/Command/ContainerLintCommand.php
  15. +4 −0 src/Symfony/Bundle/FrameworkBundle/Resources/config/console.xml
  16. +14 −0 src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/week_widget.html.php
  17. +1 −0 src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
  18. +6 −0 src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/TestBundle.php
  19. +30 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/TestBundle.php
  20. +1 −1 src/Symfony/Bundle/SecurityBundle/Tests/Functional/JsonLoginTest.php
  21. +2 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/AbstractTokenCompareRoles/bundles.php
  22. +2 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/AliasedEvents/bundles.php
  23. +1 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/AutowiringTypes/bundles.php
  24. +1 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/CsrfFormLogin/bundles.php
  25. +1 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/FirewallEntryPoint/bundles.php
  26. +1 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/JsonLogin/bundles.php
  27. +1 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/JsonLoginLdap/bundles.php
  28. +2 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/LogoutAccess/bundles.php
  29. +2 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/LogoutWithoutSessionInvalidation/bundles.php
  30. +2 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/MissingUserProvider/bundles.php
  31. +1 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/PasswordEncode/bundles.php
  32. +2 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/RememberMeLogout/bundles.php
  33. +2 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/SecurityHelper/bundles.php
  34. +2 −0 src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/StandardFormLogin/bundles.php
  35. +5 −0 src/Symfony/Component/Config/CHANGELOG.md
  36. +15 −6 src/Symfony/Component/Config/Loader/FileLoader.php
  37. 0 src/Symfony/Component/Config/Tests/Fixtures/Include/ExcludeFile.txt
  38. 0 src/Symfony/Component/Config/Tests/Fixtures/Include/IncludeAnotherFile.txt
  39. 0 src/Symfony/Component/Config/Tests/Fixtures/Include/IncludeFile.txt
  40. +8 −0 src/Symfony/Component/Config/Tests/Loader/FileLoaderTest.php
  41. +1 −1 src/Symfony/Component/Console/CHANGELOG.md
  42. +4 −4 src/Symfony/Component/Console/Helper/ProgressBar.php
  43. +14 −1 src/Symfony/Component/Console/Terminal.php
  44. +32 −8 src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php
  45. +2 −0 src/Symfony/Component/DependencyInjection/CHANGELOG.md
  46. +3 −0 src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php
  47. +192 −0 src/Symfony/Component/DependencyInjection/Compiler/CheckTypeDeclarationsPass.php
  48. +16 −2 src/Symfony/Component/DependencyInjection/Compiler/DecoratorServicePass.php
  49. +2 −1 src/Symfony/Component/DependencyInjection/Compiler/ResolveChildDefinitionsPass.php
  50. +11 −4 src/Symfony/Component/DependencyInjection/Compiler/ResolveInvalidReferencesPass.php
  51. +12 −2 src/Symfony/Component/DependencyInjection/Definition.php
  52. +8 −2 src/Symfony/Component/DependencyInjection/Dumper/XmlDumper.php
  53. +8 −2 src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php
  54. +26 −0 src/Symfony/Component/DependencyInjection/Exception/InvalidParameterTypeException.php
  55. +3 −2 src/Symfony/Component/DependencyInjection/Loader/Configurator/Traits/DecorateTrait.php
  56. +14 −2 src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
  57. +19 −4 src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php
  58. +9 −0 src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd
  59. +555 −0 src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php
  60. +56 −0 src/Symfony/Component/DependencyInjection/Tests/Compiler/DecoratorServicePassTest.php
  61. +38 −0 src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveInvalidReferencesPassTest.php
  62. +8 −0 src/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php
  63. +10 −0 src/Symfony/Component/DependencyInjection/Tests/Dumper/XmlDumperTest.php
  64. +7 −0 src/Symfony/Component/DependencyInjection/Tests/Dumper/YamlDumperTest.php
  65. +13 −0 src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Bar.php
  66. +39 −0 src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarMethodCall.php
  67. +13 −0 ...ny/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarOptionalArgument.php
  68. +13 −0 ...onent/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarOptionalArgumentNotNull.php
  69. +16 −0 src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Foo.php
  70. +12 −0 src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container34.php
  71. +1 −1 src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_rot13_env.php
  72. +1 −1 src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_service_locator_argument.php
  73. +2 −2 src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_subscriber.php
  74. +1 −0 src/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services6.xml
  75. +7 −0 src/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/bad_decoration_on_invalid_null.yml
  76. +17 −0 src/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services34.yml
  77. +5 −0 src/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services6.yml
  78. +1 −1 ...ymfony/Component/DependencyInjection/Tests/LazyProxy/Instantiator/RealServiceInstantiatorTest.php
  79. +1 −1 src/Symfony/Component/DependencyInjection/Tests/LazyProxy/PhpDumper/NullDumperTest.php
  80. +1 −1 src/Symfony/Component/DependencyInjection/Tests/Loader/GlobFileLoaderTest.php
  81. +2 −0 src/Symfony/Component/DependencyInjection/Tests/Loader/XmlFileLoaderTest.php
  82. +10 −0 src/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php
  83. +7 −1 src/Symfony/Component/ErrorRenderer/ErrorRenderer/JsonErrorRenderer.php
  84. +8 −2 src/Symfony/Component/ErrorRenderer/ErrorRenderer/TxtErrorRenderer.php
  85. +6 −4 src/Symfony/Component/ErrorRenderer/ErrorRenderer/XmlErrorRenderer.php
  86. +2 −1 src/Symfony/Component/ErrorRenderer/Tests/Command/DebugCommandTest.php
  87. +2 −1 src/Symfony/Component/ErrorRenderer/Tests/ErrorRenderer/JsonErrorRendererTest.php
  88. +1 −0 src/Symfony/Component/ErrorRenderer/Tests/ErrorRenderer/TxtErrorRendererTest.php
  89. +1 −1 src/Symfony/Component/ErrorRenderer/Tests/ErrorRenderer/XmlErrorRendererTest.php
  90. +1 −0 src/Symfony/Component/Form/CHANGELOG.md
  91. +1 −0 src/Symfony/Component/Form/Extension/Core/CoreExtension.php
  92. +105 −0 src/Symfony/Component/Form/Extension/Core/DataTransformer/WeekToArrayTransformer.php
  93. +192 −0 src/Symfony/Component/Form/Extension/Core/Type/WeekType.php
  94. +83 −0 src/Symfony/Component/Form/Tests/AbstractLayoutTest.php
  95. +119 −0 src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/WeekToArrayTransformerTest.php
  96. +323 −0 src/Symfony/Component/Form/Tests/Extension/Core/Type/WeekTypeTest.php
  97. +11 −3 src/Symfony/Component/HttpClient/Chunk/ErrorChunk.php
  98. +6 −3 src/Symfony/Component/HttpClient/CurlHttpClient.php
  99. +61 −23 src/Symfony/Component/HttpClient/Response/CurlResponse.php
  100. +1 −1 src/Symfony/Component/HttpClient/Response/MockResponse.php
  101. +0 −2 src/Symfony/Component/HttpClient/Response/NativeResponse.php
  102. +1 −1 src/Symfony/Component/HttpClient/Response/ResponseTrait.php
  103. +3 −3 src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockFileSessionStorageTest.php
  104. +4 −4 src/Symfony/Component/HttpKernel/DataCollector/ConfigDataCollector.php
  105. +3 −1 src/Symfony/Component/HttpKernel/DataCollector/DataCollectorInterface.php
  106. +3 −3 src/Symfony/Component/HttpKernel/Tests/Controller/ErrorControllerTest.php
  107. +36 −0 src/Symfony/Component/Messenger/Tests/Transport/AmqpExt/AmqpStampTest.php
  108. +8 −6 src/Symfony/Component/Messenger/Transport/AmqpExt/AmqpSender.php
  109. +29 −0 src/Symfony/Component/Messenger/Transport/AmqpExt/AmqpStamp.php
  110. +1 −1 src/Symfony/Component/Messenger/Transport/AmqpExt/Connection.php
  111. +3 −0 src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php
  112. +3 −0 src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php
  113. +5 −0 src/Symfony/Component/PropertyInfo/Tests/Fixtures/Dummy.php
  114. +1 −1 src/Symfony/Component/PropertyInfo/Util/PhpDocTypeHelper.php
  115. +1 −0 src/Symfony/Component/Routing/CHANGELOG.md
  116. +5 −2 src/Symfony/Component/Routing/Loader/Configurator/RoutingConfigurator.php
  117. +15 −1 src/Symfony/Component/Routing/Loader/XmlFileLoader.php
  118. +3 −2 src/Symfony/Component/Routing/Loader/YamlFileLoader.php
  119. +2 −0 src/Symfony/Component/Routing/Loader/schema/routing/routing-1.0.xsd
  120. +1 −1 src/Symfony/Component/Routing/Router.php
  121. +1 −1 src/Symfony/Component/Routing/Tests/Loader/GlobFileLoaderTest.php
  122. +56 −0 src/Symfony/Component/Routing/Tests/RouterTest.php
  123. +5 −2 src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php
  124. +35 −0 src/Symfony/Component/Security/Core/Tests/Authentication/Token/SwitchUserTokenTest.php
  125. +23 −14 src/Symfony/Component/Serializer/NameConverter/MetadataAwareNameConverter.php
  126. +45 −0 src/Symfony/Component/Serializer/Tests/Fixtures/OtherSerializedNameDummy.php
  127. +23 −0 src/Symfony/Component/Serializer/Tests/NameConverter/MetadataAwareNameConverterTest.php
  128. +18 −0 src/Symfony/Component/Serializer/Tests/Normalizer/ObjectNormalizerTest.php
  129. +12 −6 src/Symfony/Component/Stopwatch/StopwatchEvent.php
  130. +39 −1 src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php
  131. +12 −0 src/Symfony/Component/Validator/Resources/translations/validators.et.xlf
  132. +4 −0 src/Symfony/Component/Validator/Resources/translations/validators.it.xlf
  133. +30 −6 src/Symfony/Component/VarDumper/Caster/ExceptionCaster.php
  134. +7 −4 src/Symfony/Component/VarDumper/Dumper/CliDumper.php
  135. +5 −2 src/Symfony/Component/VarDumper/Tests/Caster/ExceptionCasterTest.php
  136. +2 −0 src/Symfony/Component/VarDumper/Tests/Dumper/CliDumperTest.php
@@ -10,17 +10,9 @@ return PhpCsFixer\Config::create()
'@Symfony:risky' => true,
'@PHPUnit75Migration:risky' => true,
'php_unit_dedicate_assert' => ['target' => '5.6'],
'phpdoc_no_empty_return' => false, // triggers almost always false positive
'array_syntax' => ['syntax' => 'short'],
'fopen_flags' => false,
'ordered_imports' => true,
'phpdoc_trim_consecutive_blank_line_separation' => true,
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
'protected_to_private' => false,
// Part of @Symfony:risky in PHP-CS-Fixer 2.13.0. To be removed from the config file once upgrading
'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'namespaced', 'strict' => true],
// Part of future @Symfony ruleset in PHP-CS-Fixer To be removed from the config file once upgrading
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
'combine_nested_dirname' => true,
])
->setRiskyAllowed(true)
@@ -7,6 +7,49 @@ in 4.3 minor versions.
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v4.3.0...v4.3.1

* 4.3.6 (2019-11-01)

* bug #34198 [HttpClient] Fix perf issue when doing thousands of requests with curl (nicolas-grekas)
* bug #33998 [Config] Disable default alphabet sorting in glob function due of unstable sort (hurricane-voronin)
* bug #34144 [Serializer] Improve messages for unexpected resources values (fancyweb)
* bug #34186 [HttpClient] always return the empty string when the response cannot have a body (nicolas-grekas)
* bug #34167 [HttpFoundation] Allow to not pass a parameter to Request::isMethodSafe() (dunglas)
* bug #33828 [DoctrineBridge] Auto-validation must work if no regex are passed (dunglas)
* bug #34080 [SecurityBundle] correct types for default arguments for firewall configs (shieldo)
* bug #34152 [Workflow] Made the configuration more robust for the 'property' key (lyrixx)
* bug #34154 [HttpClient] fix handling of 3xx with no Location header - ignore Content-Length when no body is expected (nicolas-grekas)
* bug #34140 [Security/Core] make NativePasswordEncoder use sodium to validate passwords when possible (nicolas-grekas)
* bug #33999 [Form] Make sure to collect child forms created on *_SET_DATA events (yceruto)
* bug #34090 [WebProfilerBundle] Improve display in Email panel for dark theme (antograssiot)
* bug #34116 [HttpClient] ignore the body of responses to HEAD requests (nicolas-grekas)
* bug #32456 [Messenger] use database platform to convert correctly the DateTime (roukmoute)
* bug #34107 [Messenger] prevent infinite redelivery loops and blocked queues (Tobion)
* bug #32341 [Messenger] Show exceptions after multiple retries (TimoBakx)
* bug #34082 Revert "[Messenger] Fix exception message of failed message is dropped (Tobion)
* bug #34021 [TwigBridge] do not render errors for checkboxes twice (xabbuh)
* bug #34017 [Messenger] Fix ignored options in redis transport (chalasr)
* bug #34041 [HttpKernel] fix wrong removal of the just generated container dir (nicolas-grekas)
* bug #34024 [Routing] fix route loading with wildcard, but dir or file is empty (gseidel)
* bug #34023 [Dotenv] allow LF in single-quoted strings (nicolas-grekas)
* bug #33818 [Yaml] Throw exception for tagged invalid inline elements (gharlan)
* bug #33994 [Mailer] Fix Mandrill Transport API payload for named addresses (Michaël Perrin)
* bug #33985 [HttpClient] workaround curl_multi_select() issue (nicolas-grekas)
* bug #33948 [PropertyInfo] Respect property name case when guessing from public method name (antograssiot)
* bug #33962 [Cache] fixed TagAwareAdapter returning invalid cache (v-m-i)
* bug #33958 [DI] Add extra type check to php dumper (gquemener)
* bug #33965 [HttpFoundation] Add plus character `+` to legal mime subtype (ilzrv)
* bug #32943 [Dotenv] search variable values in ENV first then env file (soufianZantar)
* bug #33943 [VarDumper] fix resetting the "bold" state in CliDumper (nicolas-grekas)
* bug #33936 [HttpClient] Missing argument in method_exists (detinkin)
* bug #33937 [Cache] ignore unserialization failures in AbstractTagAwareAdapter::doDelete() (nicolas-grekas)
* bug #33935 [HttpClient] send `Accept: */*` by default, fix removing it when needed (nicolas-grekas)
* bug #33922 [Cache] remove implicit dependency on symfony/filesystem (nicolas-grekas)
* bug #33927 Allow to set SameSite config to 'none' (ihmels)
* bug #33930 [Cache] clean tags folder on invalidation (nicolas-grekas)
* bug #33919 [VarDumper] fix array key error for class SymfonyCaster (zcodes)
* bug #33885 [Form][DateTimeImmutableToDateTimeTransformer] Preserve microseconds and use \DateTime::createFromImmutable() when available (fancyweb)
* bug #33900 [HttpKernel] Fix to populate $dotenvVars in data collector when not using putenv() (mynameisbogdan)
* 4.3.5 (2019-10-07)
* bug #33742 [Crawler] document $default as string|null (nicolas-grekas)

0 comments on commit 5e358e3

Please sign in to comment.
You can’t perform that action at this time.