Package: symfony / 3.4.22+dfsg-2

Metadata

Package Version Patches format
symfony 3.4.22+dfsg-2 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 | 7 7 + 0 - 0 !
1 file changed, 7 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.

HttpFoundation Fix incompatibility with php memcache.patch | (download)

src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcacheSessionHandler.php | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 httpfoundation fix incompatibility with php-memcache from debian

The version of php-memcache (3.0.9~20151130.fdbd46b-1) in Debian makes
the test MemcacheSessionHandlerTest::testReadSession fail, complaining
about missing arguments. This commit solves this issue.

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

src/Symfony/Component/Config/Tests/Resource/ComposerResourceTest.php | 3 3 + 0 - 0 !
src/Symfony/Component/HttpKernel/Tests/ClientTest.php | 3 3 + 0 - 0 !
2 files changed, 6 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 !
1 file changed, 6 insertions(+)

 '@group network' for test failing without network


Drop Debug tests currently failing.patch | (download)

src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php | 22 0 + 22 - 0 !
src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php | 1 0 + 1 - 0 !
2 files changed, 23 deletions(-)

 drop debug tests currently failing

To be investigated

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 | 61 0 + 61 - 0 !
2 files changed, 69 deletions(-)

 drop httpfoundation tests currently failing

To be investigated.

Change expected format for some numbers.patch | (download)

src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php | 8 4 + 4 - 0 !
src/Symfony/Component/Intl/Tests/NumberFormatter/AbstractNumberFormatterTest.php | 2 1 + 1 - 0 !
src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php | 8 4 + 4 - 0 !
3 files changed, 9 insertions(+), 9 deletions(-)

 change expected format for some numbers

This makes the test fail with recent PHPUnit versions.

Change some types for recent PHPUnit version.patch | (download)

src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToHtml5LocalDateTimeTransformerTest.php | 2 1 + 1 - 0 !
src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php | 2 1 + 1 - 0 !
src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToRfc3339TransformerTest.php | 2 1 + 1 - 0 !
src/Symfony/Component/Validator/Tests/DataCollector/ValidatorDataCollectorTest.php | 3 2 + 1 - 0 !
src/Symfony/Component/Validator/Tests/Validator/TraceableValidatorTest.php | 3 2 + 1 - 0 !
5 files changed, 7 insertions(+), 5 deletions(-)

 change some types for recent phpunit version

CreateMock(): MockObject
assertEquals(): void

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 Workaround some currently broken tests.patch | (download)

src/Symfony/Component/VarDumper/Tests/Caster/ExceptionCasterTest.php | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 [vardumper] workaround some currently broken tests

To be investigated

PhpUnit Drop currently broken assertions.patch | (download)

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

 [phpunit] drop currently broken assertions

To be investigated

Fix XSS issues in the form theme of the PHP templating en.patch | (download)

src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/choice_widget_collapsed.html.php | 2 1 + 1 - 0 !
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/form_errors.html.php | 2 1 + 1 - 0 !
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/form_start.html.php | 4 2 + 2 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 fix xss issues in the form theme of the php templating engine

DI Check service IDs are valid.patch | (download)

src/Symfony/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.php | 2 1 + 1 - 0 !
src/Symfony/Component/DependencyInjection/ContainerBuilder.php | 8 8 + 0 - 0 !
src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php | 33 19 + 14 - 0 !
src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php | 32 32 + 0 - 0 !
src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php | 8 7 + 1 - 0 !
src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services33.php | 4 2 + 2 - 0 !
src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_adawson.php | 46 23 + 23 - 0 !
src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_inline_requires.php | 8 4 + 4 - 0 !
src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_inline_self_ref.php | 2 1 + 1 - 0 !
src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_rot13_env.php | 4 2 + 2 - 0 !
src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_subscriber.php | 12 6 + 6 - 0 !
src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_unsupported_characters.php | 178 178 + 0 - 0 !
12 files changed, 283 insertions(+), 54 deletions(-)

 [di] check service ids are valid

Security Add a separator in the remember me cookie hash.patch | (download)

src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [security] add a separator in the remember me cookie hash

Prevent destructors with side effects from being unserial.patch | (download)

src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerTrait.php | 10 10 + 0 - 0 !
src/Symfony/Bundle/FrameworkBundle/Tests/Kernel/ConcreteMicroKernel.php | 10 10 + 0 - 0 !
src/Symfony/Component/Cache/Traits/FilesystemCommonTrait.php | 10 10 + 0 - 0 !
3 files changed, 30 insertions(+)

 prevent destructors with side-effects from being unserialized

HttpFoundation reject invalid method override.patch | (download)

src/Symfony/Component/HttpFoundation/Request.php | 43 29 + 14 - 0 !
1 file changed, 29 insertions(+), 14 deletions(-)

 [httpfoundation] reject invalid method override

Origin, upstream https://github.com/symfony/symfony/commit/944e60f083c3bffbc6a0b5112db127a10a66a8ec

Workaround for DateInterval createFromDateString.patch | (download)

src/Symfony/Component/Form/Tests/Extension/Core/Type/DateIntervalTypeTest.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 workaround for \dateinterval::createfromdatestring()

Origin, upstream https://github.com/symfony/symfony/commit/54247ec05f6aed3dacfdbd7907162ddba2e4ce62
Bug: https://github.com/symfony/symfony/pull/31115
Bug-PHP: https://bugs.php.net/77896
Bug-Debian: https://bugs.debian.org/926883