Package: symfony / 5.4.23+dfsg-1+deb12u4

Metadata

Package Version Patches format
symfony 5.4.23+dfsg-1+deb12u4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Add more tests to group tty.patch | (download)

src/Symfony/Component/Process/Tests/ProcessTest.php | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

 add more tests to '@group tty'

Not all tests using a tty are in @group tty. This should be reported (and
fixed) upstream but needs further investigation:
 - There might be more tests needing a tty.
 - It could be that some tests in group tty may not need a tty.

Increasing timeout in test AbstractProcessTest testS.patch | (download)

src/Symfony/Component/Process/Tests/ProcessTest.php | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 increasing timeout in test
 AbstractProcessTest::testStartAfterATimeout()

This hopefully will allow ci.debian.net to run DEP-8 as installed tests
and might prevent FTBFS #775625 from hitting us again.

Declare composer group for tests failing outside a Compos.patch | (download)

src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php | 1 1 + 0 - 0 !
src/Symfony/Component/Config/Tests/Resource/ComposerResourceTest.php | 3 3 + 0 - 0 !
src/Symfony/Component/HttpKernel/Tests/HttpKernelBrowserTest.php | 3 3 + 0 - 0 !
3 files changed, 7 insertions(+)

 declare composer group for tests failing outside a composer
 environment


Drop tests data throwing a RuntimeException outside a Com.patch | (download)

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/FragmentTest.php | 1 0 + 1 - 0 !
src/Symfony/Bundle/FrameworkBundle/Tests/Functional/ProfilerTest.php | 1 0 + 1 - 0 !
src/Symfony/Bundle/FrameworkBundle/Tests/Functional/SessionTest.php | 1 0 + 1 - 0 !
3 files changed, 3 deletions(-)

 drop tests data throwing a runtimeexception outside a composer
 environment


Drop test failing outside Composer environment.patch | (download)

src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_non_vendor.phpt | 74 0 + 74 - 0 !
1 file changed, 74 deletions(-)

 drop test failing outside composer environment


group network for test failing without network.patch | (download)

src/Symfony/Component/Ldap/Tests/Adapter/ExtLdap/AdapterTest.php | 6 6 + 0 - 0 !
src/Symfony/Component/Mailer/Tests/Transport/Smtp/Stream/SocketStreamTest.php | 3 3 + 0 - 0 !
2 files changed, 9 insertions(+)

 '@group network' for test failing without network


Drop HttpFoundation tests currently failing.patch | (download)

src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php | 8 0 + 8 - 0 !
src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/AbstractSessionHandlerTest.php | 60 0 + 60 - 0 !
2 files changed, 68 deletions(-)

 drop httpfoundation tests currently failing

To be investigated.

HttpFoundation Workaround some currently broken tests.patch | (download)

src/Symfony/Component/HttpFoundation/Tests/Fixtures/response-functional/cookie_max_age.expected | 3 2 + 1 - 0 !
src/Symfony/Component/HttpFoundation/Tests/Fixtures/response-functional/cookie_samesite_lax.expected | 2 1 + 1 - 0 !
src/Symfony/Component/HttpFoundation/Tests/Fixtures/response-functional/cookie_samesite_strict.expected | 2 1 + 1 - 0 !
src/Symfony/Component/HttpFoundation/Tests/ResponseFunctionalTest.php | 1 1 + 0 - 0 !
4 files changed, 5 insertions(+), 3 deletions(-)

 [httpfoundation] workaround some currently broken tests

To be investigated

VarDumper Adapt to homemade autoload.patch | (download)

src/Symfony/Component/VarDumper/Resources/bin/var-dump-server | 6 2 + 4 - 0 !
1 file changed, 2 insertions(+), 4 deletions(-)

 [vardumper] adapt to homemade autoload

Yaml Adapt to homemade autoload.patch | (download)

src/Symfony/Component/Yaml/Resources/bin/yaml-lint | 4 1 + 3 - 0 !
1 file changed, 1 insertion(+), 3 deletions(-)

 [yaml] adapt to homemade autoload

HttpKernel Drop tests using unexpected path as cache.patch | (download)

src/Symfony/Component/HttpKernel/Tests/KernelTest.php | 89 0 + 89 - 0 !
1 file changed, 89 deletions(-)

 [httpkernel] drop tests using unexpected path as cache

To be investigated

Drop failing tests with recent PHP.patch | (download)

src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 drop failing tests with recent php

To be investigated

Bug-Debian: https://bugs.debian.org/930003

PhpUnit Drop currently broken assertions.patch | (download)

src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php | 18 0 + 18 - 0 !
1 file changed, 18 deletions(-)

 [phpunit] drop currently broken assertions

To be investigated

Don t fail on warning.patch | (download)

phpunit.xml.dist | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 =?utf-8?q?don=e2=80=99t_fail_on_warning?=

The move to PHPUnit 8 is not yet achieved upstream.

DependencyInjection Drop currently broken assertion.patch | (download)

src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php | 47 0 + 47 - 0 !
1 file changed, 47 deletions(-)

 [dependencyinjection] drop currently broken assertion

To be investigated

ErrorHandler Drop currently broken assertions.patch | (download)

src/Symfony/Component/ErrorHandler/Tests/DebugClassLoaderTest.php | 13 0 + 13 - 0 !
src/Symfony/Component/ErrorHandler/Tests/ErrorEnhancer/ClassNotFoundErrorEnhancerTest.php | 5 0 + 5 - 0 !
2 files changed, 18 deletions(-)

 [errorhandler] drop currently broken assertions

To be investigated

Config Drop currently broken assertions.patch | (download)

src/Symfony/Component/Config/Tests/Resource/ClassExistenceResourceTest.php | 18 0 + 18 - 0 !
1 file changed, 18 deletions(-)

 [config] drop currently broken assertions

To be investigated

PhpUnit Use phpunit directly.patch | (download)

src/Symfony/Bridge/PhpUnit/Tests/expectdeprecationfail.phpt | 2 1 + 1 - 0 !
src/Symfony/Bridge/PhpUnit/Tests/expectnotrisky.phpt | 2 1 + 1 - 0 !
src/Symfony/Bridge/PhpUnit/Tests/expectrisky.phpt | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 [phpunit] use phpunit directly


Workaround failing tests with php7.4.patch | (download)

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_as_files.txt | 55 0 + 55 - 0 !
src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_lazy_inlined_factories.txt | 21 0 + 21 - 0 !
src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_as_files.txt | 22 0 + 22 - 0 !
3 files changed, 98 deletions(-)

 workaround failing tests with php7.4

To be investigated

String Drop data causing tests to fail.patch | (download)

src/Symfony/Component/String/Tests/UnicodeStringTest.php | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 [string] drop data causing tests to fail

To be investigated

HttpClient Skip tests relying on amphp http client.patch | (download)

src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 [httpclient] skip tests relying on amphp/http-client


PhpUnit Skip test currently failing.patch | (download)

src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [phpunit] skip test currently failing

To be investigated

Adapt conflict to Debian expectations.patch | (download)

composer.json | 2 1 + 1 - 0 !
src/Symfony/Bridge/Doctrine/composer.json | 2 1 + 1 - 0 !
src/Symfony/Bridge/Twig/composer.json | 2 1 + 1 - 0 !
src/Symfony/Component/Form/composer.json | 4 2 + 2 - 0 !
src/Symfony/Component/Mime/composer.json | 4 2 + 2 - 0 !
5 files changed, 7 insertions(+), 7 deletions(-)

 adapt conflict to debian expectations


Drop composer plugin api that confuses pkg php tools.patch | (download)

src/Symfony/Component/Runtime/composer.json | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 drop composer-plugin-api that confuses pkg-php-tools

Revert ErrorHandler Skip same vendor method deprecations .patch | (download)

src/Symfony/Component/ErrorHandler/DebugClassLoader.php | 9 0 + 9 - 0 !
1 file changed, 9 deletions(-)

 revert "[errorhandler] skip "same vendor" `@method` deprecations for
 `Symfony\*` classes unless symfony/symfony is being tested"

This reverts commit 7a1a91017df6a852e9089b0bf095707e30b10f0d.

Config Partially revert 4c2c5c9ba76ba8db9e88748ae519605c0.patch | (download)

src/Symfony/Component/Config/Tests/Builder/GeneratedConfigTest.php | 10 1 + 9 - 0 !
1 file changed, 1 insertion(+), 9 deletions(-)

 [config] partially revert 4c2c5c9ba76ba8db9e88748ae519605c01b4b736

To be investigated

Use installed files for CI.patch | (download)

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTestCase.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use installed files for ci


Console Skip test failing on CI.patch | (download)

src/Symfony/Component/Console/Tests/Command/DumpCompletionCommandTest.php | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 [console] skip test failing on ci

To be investigated

Lock Drop test currently failing on buildd.patch | (download)

src/Symfony/Component/Lock/Tests/Store/DoctrineDbalStoreTest.php | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 [lock] drop test currently failing on buildd

To be investigated

Form Drop tests currently failing.patch | (download)

src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php | 16 5 + 11 - 0 !
1 file changed, 5 insertions(+), 11 deletions(-)

 [form] drop tests currently failing

To be investigated.

Bug-Debian: https://bugs.debian.org/1011737

Workaround ICU new format.patch | (download)

src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php | 5 4 + 1 - 0 !
src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php | 3 2 + 1 - 0 !
src/Symfony/Component/Intl/Tests/DateFormatter/AbstractIntlDateFormatterTestCase.php | 56 48 + 8 - 0 !
src/Symfony/Component/Intl/Tests/DateFormatter/Verification/IntlDateFormatterTest.php | 20 20 + 0 - 0 !
src/Symfony/Component/Validator/Tests/ConstraintValidatorTest.php | 56 52 + 4 - 0 !
src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php | 2 2 + 0 - 0 !
src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php | 16 16 + 0 - 0 !
7 files changed, 144 insertions(+), 14 deletions(-)

 workaround icu new format


Allow doctrine event manager 2.patch | (download)

composer.json | 2 1 + 1 - 0 !
src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php | 10 5 + 5 - 0 !
src/Symfony/Bridge/Doctrine/composer.json | 2 1 + 1 - 0 !
3 files changed, 7 insertions(+), 7 deletions(-)

 allow doctrine/event-manager 2

Add return types to Doctrine bridge.

Drop data tests failing with PHP 8.2.patch | (download)

src/Symfony/Component/Intl/Tests/DateFormatter/AbstractIntlDateFormatterTestCase.php | 11 0 + 11 - 0 !
src/Symfony/Component/VarDumper/Tests/Caster/MysqliCasterTest.php | 1 0 + 1 - 0 !
2 files changed, 12 deletions(-)

 drop (data) tests failing with php 8.2

Bug-Debian: https://bugs.debian.org/1028533

TwigBridge Ensure CodeExtension s filters properly escape.patch | (download)

src/Symfony/Bridge/Twig/Extension/CodeExtension.php | 23 14 + 9 - 0 !
1 file changed, 14 insertions(+), 9 deletions(-)

 [twigbridge] ensure codeextension's filters properly escape their
 input

Security Fix possible session fixation when only the toke.patch | (download)

src/Symfony/Component/Security/Http/EventListener/SessionStrategyListener.php | 2 1 + 1 - 0 !
src/Symfony/Component/Security/Http/Tests/EventListener/SessionStrategyListenerTest.php | 21 21 + 0 - 0 !
2 files changed, 22 insertions(+), 1 deletion(-)

 [security] fix possible session fixation when only the *token*
 changes

make sure that the submitted year is an accepted choice.patch | (download)

src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php | 1 1 + 0 - 0 !
src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

 make sure that the submitted year is an accepted choice

Validator Add D regex modifier in relevant validators.patch | (download)

src/Symfony/Component/Validator/Constraints/CardSchemeValidator.php | 38 19 + 19 - 0 !
src/Symfony/Component/Validator/Constraints/CssColorValidator.php | 24 12 + 12 - 0 !
src/Symfony/Component/Validator/Constraints/DateValidator.php | 2 1 + 1 - 0 !
src/Symfony/Component/Validator/Constraints/EmailValidator.php | 4 2 + 2 - 0 !
src/Symfony/Component/Validator/Constraints/TimeValidator.php | 2 1 + 1 - 0 !
src/Symfony/Component/Validator/Constraints/UrlValidator.php | 2 1 + 1 - 0 !
src/Symfony/Component/Validator/Tests/Constraints/CardSchemeValidatorTest.php | 30 30 + 0 - 0 !
src/Symfony/Component/Validator/Tests/Constraints/CssColorValidatorTest.php | 13 13 + 0 - 0 !
src/Symfony/Component/Validator/Tests/Constraints/DateValidatorTest.php | 13 13 + 0 - 0 !
src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php | 13 13 + 0 - 0 !
src/Symfony/Component/Validator/Tests/Constraints/IbanValidatorTest.php | 13 13 + 0 - 0 !
src/Symfony/Component/Validator/Tests/Constraints/TimeValidatorTest.php | 13 13 + 0 - 0 !
src/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php | 31 31 + 0 - 0 !
13 files changed, 162 insertions(+), 36 deletions(-)

 [validator] add `d` regex modifier in relevant validators

Do not read from argv on non CLI SAPIs.patch | (download)

src/Symfony/Component/Runtime/SymfonyRuntime.php | 6 5 + 1 - 0 !
src/Symfony/Component/Runtime/Tests/phpt/kernel.php | 8 5 + 3 - 0 !
src/Symfony/Component/Runtime/Tests/phpt/kernel.phpt | 2 1 + 1 - 0 !
src/Symfony/Component/Runtime/Tests/phpt/kernel_register_argc_argv.phpt | 18 18 + 0 - 0 !
4 files changed, 29 insertions(+), 5 deletions(-)

 do not read from argv on non-cli sapis

HttpClient Filter private IPs before connecting when Host.patch | (download)

src/Symfony/Component/HttpClient/NoPrivateNetworkHttpClient.php | 13 12 + 1 - 0 !
src/Symfony/Component/HttpClient/Tests/NoPrivateNetworkHttpClientTest.php | 27 25 + 2 - 0 !
2 files changed, 37 insertions(+), 3 deletions(-)

 [httpclient] filter private ips before connecting when host == ip

HttpFoundation Reject URIs that contain invalid character.patch | (download)

src/Symfony/Component/HttpFoundation/Request.php | 18 18 + 0 - 0 !
src/Symfony/Component/HttpFoundation/Tests/RequestTest.php | 30 28 + 2 - 0 !
2 files changed, 46 insertions(+), 2 deletions(-)

 [httpfoundation] reject uris that contain invalid characters

PasswordHasher Tests Do not invoke methods with additiona.patch | (download)

src/Symfony/Component/PasswordHasher/Tests/Hasher/NativePasswordHasherTest.php | 32 16 + 16 - 0 !
src/Symfony/Component/PasswordHasher/Tests/Hasher/SodiumPasswordHasherTest.php | 44 22 + 22 - 0 !
2 files changed, 38 insertions(+), 38 deletions(-)

 [passwordhasher][tests] do not invoke methods with additional
 arguments in tests

skip test assertions that are no longer valid with PHP 8..patch | (download)

src/Symfony/Component/PasswordHasher/Tests/Hasher/NativePasswordHasherTest.php | 6 5 + 1 - 0 !
src/Symfony/Component/PasswordHasher/Tests/Hasher/SodiumPasswordHasherTest.php | 6 5 + 1 - 0 !
2 files changed, 10 insertions(+), 2 deletions(-)

 skip test assertions that are no longer valid with php >=
 8.2.18/8.3.5

PasswordHasher Make bcrypt nul byte hash test tolerant to.patch | (download)

src/Symfony/Component/PasswordHasher/Tests/Hasher/NativePasswordHasherTest.php | 36 32 + 4 - 0 !
src/Symfony/Component/PasswordHasher/Tests/Hasher/SodiumPasswordHasherTest.php | 38 33 + 5 - 0 !
2 files changed, 65 insertions(+), 9 deletions(-)

 [passwordhasher] make bcrypt nul byte hash test tolerant to php
 related failures

fix tests.patch | (download)

src/Symfony/Component/VarDumper/Tests/Caster/PdoCasterTest.php | 24 23 + 1 - 0 !
1 file changed, 23 insertions(+), 1 deletion(-)

 fix tests

Runtime fix tests.patch | (download)

src/Symfony/Component/Runtime/Tests/phpt/kernel-loop.phpt | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [runtime] fix tests

ErrorHandler Extend test expectation.patch | (download)

src/Symfony/Component/ErrorHandler/Tests/ErrorHandlerTest.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [errorhandler] extend test expectation


HttpClient Resolve hostnames in NoPrivateNetworkHttpClien.patch | (download)

src/Symfony/Component/HttpClient/HttpOptions.php | 2 2 + 0 - 0 !
src/Symfony/Component/HttpClient/NativeHttpClient.php | 12 10 + 2 - 0 !
src/Symfony/Component/HttpClient/NoPrivateNetworkHttpClient.php | 17 15 + 2 - 0 !
src/Symfony/Component/HttpClient/Response/AmpResponse.php | 11 9 + 2 - 0 !
src/Symfony/Component/HttpClient/Response/AsyncContext.php | 4 2 + 2 - 0 !
src/Symfony/Component/HttpClient/Response/AsyncResponse.php | 4 2 + 2 - 0 !
src/Symfony/Component/HttpClient/Response/CurlResponse.php | 11 9 + 2 - 0 !
src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php | 33 33 + 0 - 0 !
src/Symfony/Component/HttpClient/Tests/MockHttpClientTest.php | 5 4 + 1 - 0 !
src/Symfony/Component/HttpClient/TraceableHttpClient.php | 4 2 + 2 - 0 !
src/Symfony/Contracts/HttpClient/HttpClientInterface.php | 8 5 + 3 - 0 !
11 files changed, 93 insertions(+), 18 deletions(-)

 [httpclient] resolve hostnames in noprivatenetworkhttpclient

security http Check owner of persisted remember me cookie.patch | (download)

src/Symfony/Component/Security/Http/RememberMe/PersistentRememberMeHandler.php | 19 16 + 3 - 0 !
src/Symfony/Component/Security/Http/Tests/RememberMe/PersistentRememberMeHandlerTest.php | 34 32 + 2 - 0 !
2 files changed, 48 insertions(+), 5 deletions(-)

 [security-http] check owner of persisted remember-me cookie

HttpClient Temporary test hack.patch | (download)

src/Symfony/Component/HttpClient/Tests/NoPrivateNetworkHttpClientTest.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [httpclient] temporary test hack
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Since php-symfony-http-client is part of the Build-Dependency chain, the
old version is used at build time, so the new error message is not
yet available. This patch can be dropped for the next upload.