-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
type/backward-compatibilitySomething will be/is intentionally brokenSomething will be/is intentionally broken
Milestone
Description
The assertArraySubset()
method is a constant source of confusion and frustration. For example, see #2069, #2108, #2568, #3101, #3234, #3240, or #3319.
I have come to the conclusion that this mess cannot be fixed without breaking backward compatibility. In addition to that, I myself have yet to see a use case for this or how this would be used then. I have also not seen this used in the wild.
This is why I decided to deprecate assertArraySubset()
in PHPUnit 8 and to remove it in PHPUnit 9. Anybody who thinks this functionality is useful is more than welcome to take the code, put it into a separate project, and package it as an extension for PHPUnit.
AlbinoDroughtsolofeed, sandervanhooft, eschultz-magix, justinsherwood-archive, gn-ley and 25 moreleocavalcante, FyiurAmron, JaZo, Namoshek, Moln and 1 more
Metadata
Metadata
Assignees
Labels
type/backward-compatibilitySomething will be/is intentionally brokenSomething will be/is intentionally broken