Skip to content

[symfony/panther] Fix compatibility with Symfony 7.3 & PHPUnit 11 #1426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HypeMC
Copy link
Member

@HypeMC HypeMC commented May 31, 2025

Q A
License MIT
Doc issue/PR -

Since #1401, SYMFONY_DEPRECATIONS_HELPER=999999 is no longer present in Symfony >=7.3:

Could not add lines after "SYMFONY_DEPRECATIONS_HELPER=999999" as no such string was found in "./.env.test". Missing lines:
"""
PANTHER_APP_ENV=panther
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
"""

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) May 31, 2025 23:19
Copy link

github-actions bot commented May 31, 2025

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1426/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1426/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'symfony/panther:^1.0'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

@HypeMC HypeMC force-pushed the fix-panther-recipe branch from aef3ff7 to ffaa37f Compare May 31, 2025 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants