Opened 7 years ago
Last modified 4 years ago
#37261 new enhancement
Consider removing the `$start` argument from `WP_UnitTest_Generator_Sequence`
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | Build/Test Tools | Keywords: | |
Focuses: | Cc: |
Description
As a follow up to [35244] and [37299], I wonder whether the $start
argument in WP_UnitTest_Generator_Sequence
still makes sense.
Currently the class handles two things:
- Global increments (via the static incrementor variable).
- Local increments (via the
$start
argument).
So I'd propose to remove the $start
argument. A different, simpler class could be used for local increments instead.
Note: See
TracTickets for help on using
tickets.