SYMFONY_DEPRECATIONS_HELPER in phpunit.xml.dist is no longer relevant on 11.x

Created on 9 September 2024, 4 months ago
Updated 11 September 2024, 4 months ago

Problem/Motivation

Symfony PHPUnit-bridge was removed as a dev dependency in 📌 Upgrade PHPUnit to 10, drop Symfony PHPUnit-bridge dependency Fixed , but we still have stuff about SYMFONY_DEPRECATIONS_HELPER in core/phpunit.xml.dist.

This should be removed, as it's no longer relevant and confusing.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
PHPUnit 

Last updated about 18 hours ago

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @joachim
  • First commit to issue fork.
  • Pipeline finished with Success
    4 months ago
    Total: 531s
    #280332
  • Status changed to Needs review 4 months ago
  • 🇮🇳India ankitv18

    Hi @joachim,
    I've created the MR ~~ not sure if this this is only changes required here.
    Please do comment if anything else is needed

  • 🇺🇸United States smustgrave

    @ankitv18 again this was opened and tagged for novice, new users, 2 days ago. Know this has been brought up before. Going to see if someone can reach out.

  • Status changed to RTBC 4 months ago
  • 🇬🇧United Kingdom joachim

    MR looks good.

    NB for committer -- should not be backported to 10! :)

  • Status changed to Needs work 4 months ago
  • 🇮🇹Italy mondrake 🇮🇹

    Well,

    This should be removed, as it's no longer relevant and confusing.

    is not correct, in fact. Yes it's confusing, but also it's still relevant, it's parsed for configuration by the code that replaced the Symfony bridge with our own. See Drupal\TestTools\Extension\DeprecationBridge\DeprecationHandler, and calls in run-tests.sh.

    This was left in not to break CI jobs that may have been setting the env variable independently.

    Probably it should be replaced with something more meaningful (a full PHPUnit extension with parameters, maybe?), but we should rather go for a deprecation dance here, not plain removal.

  • 🇬🇧United Kingdom joachim

    > but also it's still relevant, it's parsed for configuration by the code that replaced the Symfony bridge with our own. See Drupal\TestTools\Extension\DeprecationBridge\DeprecationHandler, and calls in run-tests.sh.

    Ok, so in that case the comments need to be updated.

    What should it say now?

Production build 0.71.5 2024