Skip to content

Conversation

@mpdude
Copy link

@mpdude mpdude commented Dec 17, 2025

This is intended to follow up on #39 and go into a new major release.

@mpdude mpdude changed the title Remove Goutte support [BC break] Remove Goutte support Dec 17, 2025
mpdude added a commit to mpdude/MinkExtension that referenced this pull request Dec 17, 2025
Squash-merge of FriendsOfBehat#40.

commit 843a686
Author: Matthias Pigulla <mp@webfactory.de>
Date:   Wed Dec 17 10:03:25 2025 +0100

    Remove Goutte support
mpdude added a commit to mpdude/MinkExtension that referenced this pull request Dec 17, 2025
Squash-merge of FriendsOfBehat#40.

commit 843a686
Author: Matthias Pigulla <mp@webfactory.de>
Date:   Wed Dec 17 10:03:25 2025 +0100

    Remove Goutte support
mpdude added a commit to mpdude/MinkExtension that referenced this pull request Dec 17, 2025
Squash-merge of FriendsOfBehat#40.

commit 843a686
Author: Matthias Pigulla <mp@webfactory.de>
Date:   Wed Dec 17 10:03:25 2025 +0100

    Remove Goutte support
Comment on lines -195 to -224
.. Tips : HTTPS and self-signed certificate
If you use Behat/Mink/Goutte to test your application, and want to test an
application secured with HTTPS, but with a self-signed certificate, you can use
the following parameters to avoid the validation error triggered by Guzzle:

* For ``Guzzle 4`` or later:

.. code-block:: yaml
default:
extensions:
Behat\MinkExtension:
sessions:
my_session:
goutte:
guzzle_parameters:
verify: false
* For ``Guzzle 3`` or earlier:

.. code-block:: yaml
default:
extensions:
Behat\MinkExtension:
sessions:
my_session:
goutte:
guzzle_parameters:
ssl.certificate_authority: false
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why were parts about Guzzle support removed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought that was just special configuration for Goutte-with-Guzzle-X, wasn't it?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're correct.

Comment on lines -304 to -305
The phar version of Mink comes bundled with all 5 drivers and you don't need to do
anything except enabling them in order to use them.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we support Mink PHAR version or why have you removed this part of the docs?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have never seen a .phar being built or provided in this repo here, so I dropped any remarks regarding a PHAR version

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't either.

@aik099
Copy link

aik099 commented Dec 21, 2025

@mpdude , please also rebase to resolve any merge conflicts.

@mpdude
Copy link
Author

mpdude commented Dec 22, 2025

Will do. Let's first get #39 merged, and after that address all removals in this PR here.

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