Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Upgrade notes for FriendsOfBehat/MinkExtension

This document summarizes the changes relevant for users when upgrading to new versions.

# Upgrade to 2.8

## Soft `@final` and `@internal` declarations added

The classes `FailureShowListener`, `SessionsListener` and `MinkExtension` have been marked as `@final`. They will become `final` classes in the next major release and you will no longer be able to use them by inheritance (https://github.com/FriendsOfBehat/MinkExtension/pull/41).

Additionally, the two listener classes have been marked as `@internal`. Starting with the next major version, their API may change at any time without further notice.
3 changes: 3 additions & 0 deletions src/Behat/MinkExtension/Listener/FailureShowListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
* Listens to failed Behat steps and shows last response in a browser.
*
* @author Konstantin Kudryashov <ever.zet@gmail.com>
*
* @final since 2.8.0
* @internal since 2.8.0
*/
class FailureShowListener implements EventSubscriberInterface
{
Expand Down
3 changes: 3 additions & 0 deletions src/Behat/MinkExtension/Listener/SessionsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
* Listens Behat events and configures/stops Mink sessions.
*
* @author Konstantin Kudryashov <ever.zet@gmail.com>
*
* @final since 2.8.0
* @internal since 2.8.0
*/
class SessionsListener implements EventSubscriberInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/Behat/MinkExtension/ServiceContainer/MinkExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
*
* @author Konstantin Kudryashov <ever.zet@gmail.com>
* @author Christophe Coevoet <stof@notk.org>
*
* @final since 2.8.0
*/
class MinkExtension implements ExtensionInterface
{
Expand Down
Loading