Skip to content

[6.x] Prepare Stache sort values once instead of on every comparison - #15877

Merged
jasonvarga merged 3 commits into
statamic:6.xfrom
DanielDarrenJones:perf/6x-sort-values-once
Nov 13, 2026
Merged

jasonvarga merged 3 commits into
statamic:6.xfrom
DanielDarrenJones:perf/6x-sort-values-once

Conversation

@DanielDarrenJones

Copy link
Copy Markdown
Contributor

Ordering a Stache query makes every value sortable again each time it is compared with another. For a dated collection that means reading a Carbon instance's timestamp on both sides of every comparison: sorting 2,000 entries by date is about 23,000 comparisons and 46,000 timestamp reads, to return whatever the limit keeps. A "latest four" in a layout footer pays that on every page.

Builder::orderKeys() now prepares each value once (a date becomes its timestamp, an array its first element, exactly as DataCollection does it), and only for the keys the query's conditions left in. The sort itself is unchanged: the same DataCollection::multisort() call with the same comparator, on items built the same way.

Benchmark

Against 6.x at 9d20aef, PHP 8.5, file cache store, a generated site with 2,000 dated articles.

6.x This PR
Entry::query() published articles, orderBy('date', 'desc'), limit(4) 25.9 ms 14.6 ms −44%

That is the query on its own, 20 runs in one process. On whole pages that include such a query the change is 3 to 10% of the request (10 to 25 ms on pages of 200 to 450 ms); on the machine I measured on that is mostly inside the run-to-run noise, so I'd take the query figure as the result.

Checked

  • Every page and Control Panel response of the benchmark site, the contents of 136 indexes and the ids returned by 44 queries (sorts with ties, mixed value types, nulls, several columns) are byte-identical to 6.x.
  • A field whose handle is a number: orderBy('1') has never sorted, because the handle is renumbered when the items are merged. That is kept, with a test, rather than quietly changed here.

Tests

  • queries order the way DataCollection::multisort() sorts the same values: numbers, dates, arrays, nulls, descending, two columns, with a filtered-out entry left out;
  • ordering by a field whose handle is a number leaves entries as they were.

Both pass on 6.x without this change, so they pin the existing behaviour.

Ordering a query made each value sortable every time it was compared with another: for 2,000 dated entries that is about 46,000 reads of a Carbon timestamp to keep four of them. The values are now prepared once, and only for the keys the query's conditions left in. The comparison itself is unchanged.
@jasonvarga
jasonvarga merged commit 885c730 into statamic:6.x Nov 13, 2026
62 checks passed
joshdaugherty added a commit to UAMS-Web/aether-incomplete-entries that referenced this pull request Nov 23, 2026
… in tests (#84)

Closes #83.

Pins the three query behaviors of the published-entries scan that
`statamic/cms` 6.42.0 reworks internally (statamic/cms#15877 sort
values, statamic/cms#15879 empty `whereIn`) and that no test failed on:
the published-only filter, the ascending id order under a limit, and the
empty id-list lookup. Each case asserts a result over real entries, so
it fails when Statamic's query builder changes the behavior, not when
the widget's calls change.

## Approach

- The empty id list is pinned at `entriesWithIds()` through the test
double. `refresh()` builds its rows from the scan's ids, so loading
every entry for an empty list changes cost only and never the stored
result; a result-level case cannot see it, and a case on the lookup's
own return can.
- Entries carry fixed ids, and their slugs and save order run against
the id order, so neither the file order nor the save order can stand in
for `orderBy('id')`.
- The `whereStatus` test mocked `Entry::query()` and then called the
mock itself, so it never reached the widget. The new draft case replaces
it.

## Files

- **add**
[`tests/Integration/Widgets/IncompletePublishedEntriesScanQueryTest.php`](https://github.com/UAMS-Web/aether-incomplete-entries/blob/83-pin-scan-behavior/tests/Integration/Widgets/IncompletePublishedEntriesScanQueryTest.php):
four cases.
- **edit**
[`tests/Support/Doubles/IncompletePublishedEntriesWidgetTestDouble.php`](https://github.com/UAMS-Web/aether-incomplete-entries/blob/83-pin-scan-behavior/tests/Support/Doubles/IncompletePublishedEntriesWidgetTestDouble.php):
`exposeEntriesWithIds()`.
- **remove**
`tests/Integration/Widgets/IncompletePublishedEntriesWhereStatusTest.php`:
the self-mocking test.

## Verification

Run with PHP 8.4 on Windows 11. The "before" column is the #82 head
(e36bd9c, `statamic/cms` v6.42.0 locked) without the new cases; the last
column is this branch (`statamic/cms` v6.40.0, `main`'s lock). Each edit
was made to `src/Widgets/IncompletePublishedEntries.php` alone and
reverted after the run, with `vendor/bin/pest tests/Integration/Widgets
--filter=ScanQuery`:

| Edit | Before this change (417 tests) | With the new cases |
| --- | --- | --- |
| empty `$ids` skips the `whereIn` in `entriesWithIds()` | 417 passed |
1 failed (empty id list) |
| `orderBy('id')` to `orderBy('id', 'desc')` | 417 passed | 1 failed (id
order) |
| `orderBy('id')` removed | 417 passed | 1 failed (id order) |
| `whereStatus('published')` removed | 417 passed | 2 failed (draft
case, all-passing case) |

`composer test` 420 passed (1165 assertions); `composer test:pint`,
`test:refactor`, `test:mutate-ignore`, `test:parallel-safe` and `stan`
exit 0.

## Test plan

- [x]
`tests/Integration/Widgets/IncompletePublishedEntriesScanQueryTest.php`
passes on the pull request's head.
- [x] Each of the four edits above fails at least one new case on the
pull request's head, shown by the table.
- [x] The remote CI on the pull request's head passes, including every
required check.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
joshdaugherty added a commit to UAMS-Web/aether-incomplete-entries that referenced this pull request Nov 23, 2026
)

Bumps the composer-minor-and-patch group with 4 updates:
[statamic/cms](https://github.com/statamic/cms),
[pestphp/pest](https://github.com/pestphp/pest),
[rector/rector](https://github.com/rectorphp/rector) and
[uams-web/patches-pest-plugin-mutate](https://github.com/UAMS-Web/patches-pest-plugin-mutate).

Updates `statamic/cms` from 6.41.0 to 6.42.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/statamic/cms/releases">statamic/cms's
releases</a>.</em></p>
<blockquote>
<h2>v6.42.0</h2>
<h2>What's new</h2>
<ul>
<li>Add Full mode to the Assets fieldtype <a
href="https://redirect.github.com/statamic/cms/issues/15873">#15873</a>
by <a
href="https://github.com/jackmcdade"><code>@​jackmcdade</code></a></li>
</ul>
<h2>What's fixed</h2>
<ul>
<li>Warm paginated pages without holding up the rest of static:warm <a
href="https://redirect.github.com/statamic/cms/issues/15852">#15852</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Don't make the directory before every write to a Flysystem disk <a
href="https://redirect.github.com/statamic/cms/issues/15855">#15855</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Flush the dedicated static_cache store on invalidation <a
href="https://redirect.github.com/statamic/cms/issues/15861">#15861</a>
by <a
href="https://github.com/edalzell"><code>@​edalzell</code></a></li>
<li>Fix <code>collection:next</code> and
<code>collection:previous</code> tags with dated collection entries <a
href="https://redirect.github.com/statamic/cms/issues/15864">#15864</a>
by <a
href="https://github.com/duncanmcclean"><code>@​duncanmcclean</code></a></li>
<li>Reset memoized Stache state when an Octane request arrives <a
href="https://redirect.github.com/statamic/cms/issues/15858">#15858</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Only apply taxonomy wheres to an entry query once <a
href="https://redirect.github.com/statamic/cms/issues/15867">#15867</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Fix chained whereTaxonomyNotIn only excluding entries in all of them
<a
href="https://redirect.github.com/statamic/cms/issues/15868">#15868</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Only select one row in Eloquent query builder first() <a
href="https://redirect.github.com/statamic/cms/issues/15869">#15869</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Don't filter Terms fieldtype values by collection usage <a
href="https://redirect.github.com/statamic/cms/issues/15870">#15870</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Make each term once when building term indexes <a
href="https://redirect.github.com/statamic/cms/issues/15871">#15871</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Build term associations once when warming the Stache <a
href="https://redirect.github.com/statamic/cms/issues/15872">#15872</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Fix files outside the root being treated as within it <a
href="https://redirect.github.com/statamic/cms/issues/15886">#15886</a>
by <a
href="https://github.com/jasonvarga"><code>@​jasonvarga</code></a></li>
<li>Skip Antlers for site values that are only config <a
href="https://redirect.github.com/statamic/cms/issues/15887">#15887</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Work search results out once when paginating <a
href="https://redirect.github.com/statamic/cms/issues/15889">#15889</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Look an entries field's entries up once in listings <a
href="https://redirect.github.com/statamic/cms/issues/15890">#15890</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Work out what an assets field preloads about its container once <a
href="https://redirect.github.com/statamic/cms/issues/15893">#15893</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Bring back month/year navigation in the date picker <a
href="https://redirect.github.com/statamic/cms/issues/15892">#15892</a>
by <a
href="https://github.com/duncanmcclean"><code>@​duncanmcclean</code></a></li>
<li>Lowercase what an equals where is looking for once <a
href="https://redirect.github.com/statamic/cms/issues/15894">#15894</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Work the pattern for a like where out once <a
href="https://redirect.github.com/statamic/cms/issues/15895">#15895</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Prepare Stache sort values once instead of on every comparison <a
href="https://redirect.github.com/statamic/cms/issues/15877">#15877</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Write each index once when a structured collection is reordered <a
href="https://redirect.github.com/statamic/cms/issues/15888">#15888</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Leave term associations alone when a saved entry's terms haven't
changed <a
href="https://redirect.github.com/statamic/cms/issues/15882">#15882</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Only look through the taxonomies a term query's ids name <a
href="https://redirect.github.com/statamic/cms/issues/15878">#15878</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Fix duplicate ids being lost when the Stache is cleared and warmed
in one process <a
href="https://redirect.github.com/statamic/cms/issues/15883">#15883</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Skip empty-list lookups in the Entries fieldtype and Stache whereIn
<a
href="https://redirect.github.com/statamic/cms/issues/15879">#15879</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>German translations <a
href="https://redirect.github.com/statamic/cms/issues/15875">#15875</a>
by <a
href="https://github.com/helloDanuk"><code>@​helloDanuk</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/statamic/cms/blob/6.x/CHANGELOG.md">statamic/cms's
changelog</a>.</em></p>
<blockquote>
<h2>6.42.0 (2026-11-13)</h2>
<h3>What's new</h3>
<ul>
<li>Add Full mode to the Assets fieldtype <a
href="https://redirect.github.com/statamic/cms/issues/15873">#15873</a>
by <a
href="https://github.com/jackmcdade"><code>@​jackmcdade</code></a></li>
</ul>
<h3>What's fixed</h3>
<ul>
<li>Warm paginated pages without holding up the rest of static:warm <a
href="https://redirect.github.com/statamic/cms/issues/15852">#15852</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Don't make the directory before every write to a Flysystem disk <a
href="https://redirect.github.com/statamic/cms/issues/15855">#15855</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Flush the dedicated static_cache store on invalidation <a
href="https://redirect.github.com/statamic/cms/issues/15861">#15861</a>
by <a
href="https://github.com/edalzell"><code>@​edalzell</code></a></li>
<li>Fix <code>collection:next</code> and
<code>collection:previous</code> tags with dated collection entries <a
href="https://redirect.github.com/statamic/cms/issues/15864">#15864</a>
by <a
href="https://github.com/duncanmcclean"><code>@​duncanmcclean</code></a></li>
<li>Reset memoized Stache state when an Octane request arrives <a
href="https://redirect.github.com/statamic/cms/issues/15858">#15858</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Only apply taxonomy wheres to an entry query once <a
href="https://redirect.github.com/statamic/cms/issues/15867">#15867</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Fix chained whereTaxonomyNotIn only excluding entries in all of them
<a
href="https://redirect.github.com/statamic/cms/issues/15868">#15868</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Only select one row in Eloquent query builder first() <a
href="https://redirect.github.com/statamic/cms/issues/15869">#15869</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Don't filter Terms fieldtype values by collection usage <a
href="https://redirect.github.com/statamic/cms/issues/15870">#15870</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Make each term once when building term indexes <a
href="https://redirect.github.com/statamic/cms/issues/15871">#15871</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Build term associations once when warming the Stache <a
href="https://redirect.github.com/statamic/cms/issues/15872">#15872</a>
by <a
href="https://github.com/ryanmitchell"><code>@​ryanmitchell</code></a></li>
<li>Fix files outside the root being treated as within it <a
href="https://redirect.github.com/statamic/cms/issues/15886">#15886</a>
by <a
href="https://github.com/jasonvarga"><code>@​jasonvarga</code></a></li>
<li>Skip Antlers for site values that are only config <a
href="https://redirect.github.com/statamic/cms/issues/15887">#15887</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Work search results out once when paginating <a
href="https://redirect.github.com/statamic/cms/issues/15889">#15889</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Look an entries field's entries up once in listings <a
href="https://redirect.github.com/statamic/cms/issues/15890">#15890</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Work out what an assets field preloads about its container once <a
href="https://redirect.github.com/statamic/cms/issues/15893">#15893</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Bring back month/year navigation in the date picker <a
href="https://redirect.github.com/statamic/cms/issues/15892">#15892</a>
by <a
href="https://github.com/duncanmcclean"><code>@​duncanmcclean</code></a></li>
<li>Lowercase what an equals where is looking for once <a
href="https://redirect.github.com/statamic/cms/issues/15894">#15894</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Work the pattern for a like where out once <a
href="https://redirect.github.com/statamic/cms/issues/15895">#15895</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Prepare Stache sort values once instead of on every comparison <a
href="https://redirect.github.com/statamic/cms/issues/15877">#15877</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Write each index once when a structured collection is reordered <a
href="https://redirect.github.com/statamic/cms/issues/15888">#15888</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Leave term associations alone when a saved entry's terms haven't
changed <a
href="https://redirect.github.com/statamic/cms/issues/15882">#15882</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Only look through the taxonomies a term query's ids name <a
href="https://redirect.github.com/statamic/cms/issues/15878">#15878</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Fix duplicate ids being lost when the Stache is cleared and warmed
in one process <a
href="https://redirect.github.com/statamic/cms/issues/15883">#15883</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>Skip empty-list lookups in the Entries fieldtype and Stache whereIn
<a
href="https://redirect.github.com/statamic/cms/issues/15879">#15879</a>
by <a
href="https://github.com/DanielDarrenJones"><code>@​DanielDarrenJones</code></a></li>
<li>German translations <a
href="https://redirect.github.com/statamic/cms/issues/15875">#15875</a>
by <a
href="https://github.com/helloDanuk"><code>@​helloDanuk</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/statamic/cms/commit/3b28f8ceda4e0912ffe51dc7d8d877f0184f23bc"><code>3b28f8c</code></a>
Build assets for v6.42.0</li>
<li><a
href="https://github.com/statamic/cms/commit/6da51d8e7850f8eba4f6f4bae012e19c610a1744"><code>6da51d8</code></a>
[6.x] 6.42.0 (<a
href="https://redirect.github.com/statamic/cms/issues/15896">#15896</a>)</li>
<li><a
href="https://github.com/statamic/cms/commit/ab4f2354d74abc2d345e31823263f20e584b8c87"><code>ab4f235</code></a>
[6.x] Skip empty-list lookups in the Entries fieldtype and Stache
whereIn&quot; (#...</li>
<li><a
href="https://github.com/statamic/cms/commit/c1728c3f91cca25f0510ac7f0c84f4d4987829ec"><code>c1728c3</code></a>
[6.x] Fix duplicate ids being lost when the Stache is cleared and warmed
in o...</li>
<li><a
href="https://github.com/statamic/cms/commit/47a2517fdad9017dd3051858ab1a45ec353ff42a"><code>47a2517</code></a>
[6.x] Only look through the taxonomies a term query's ids name (<a
href="https://redirect.github.com/statamic/cms/issues/15878">#15878</a>)</li>
<li><a
href="https://github.com/statamic/cms/commit/1802ab5948eb09091a9f88562f7673048a7ba145"><code>1802ab5</code></a>
[6.x] Leave term associations alone when a saved entry's terms haven't
change...</li>
<li><a
href="https://github.com/statamic/cms/commit/575bd33e767bf4b23b5dc37fa183cceace97a5f0"><code>575bd33</code></a>
[6.x] Write each index once when a structured collection is reordered
(<a
href="https://redirect.github.com/statamic/cms/issues/15888">#15888</a>)</li>
<li><a
href="https://github.com/statamic/cms/commit/885c730163af8d2f9ea8acf58064226f971eabd9"><code>885c730</code></a>
[6.x] Prepare Stache sort values once instead of on every comparison (<a
href="https://redirect.github.com/statamic/cms/issues/15877">#15877</a>)</li>
<li><a
href="https://github.com/statamic/cms/commit/f051cbc3302ad8efdc906022ca9fb4f395743d21"><code>f051cbc</code></a>
[6.x] Work the pattern for a like where out once (<a
href="https://redirect.github.com/statamic/cms/issues/15895">#15895</a>)</li>
<li><a
href="https://github.com/statamic/cms/commit/eee8e34b029c81ed47073629efa5993490f78bb8"><code>eee8e34</code></a>
[6.x] Lowercase what an equals where is looking for once (<a
href="https://redirect.github.com/statamic/cms/issues/15894">#15894</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/statamic/cms/compare/v6.41.0...v6.42.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `pestphp/pest` from 5.3.5 to 5.3.7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pestphp/pest/releases">pestphp/pest's
releases</a>.</em></p>
<blockquote>
<h2>v5.3.7</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(tia): answer the stream_lock support probe by <a
href="https://github.com/jaspertey"><code>@​jaspertey</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/2029">pestphp/pest#2029</a></li>
<li>fix(tia): parse SFC entries when building the JS module graph by <a
href="https://github.com/atymic"><code>@​atymic</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/1919">pestphp/pest#1919</a></li>
<li>release: 5.3.7 by <a
href="https://github.com/MrPunyapal"><code>@​MrPunyapal</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/2037">pestphp/pest#2037</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/jaspertey"><code>@​jaspertey</code></a>
made their first contribution in <a
href="https://redirect.github.com/pestphp/pest/pull/2029">pestphp/pest#2029</a></li>
<li><a href="https://github.com/atymic"><code>@​atymic</code></a> made
their first contribution in <a
href="https://redirect.github.com/pestphp/pest/pull/1919">pestphp/pest#1919</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pestphp/pest/compare/v5.3.6...v5.3.7">https://github.com/pestphp/pest/compare/v5.3.6...v5.3.7</a></p>
<h2>v5.3.6</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(tia): skip locally() when the process is on CI by <a
href="https://github.com/tiagoabsantos"><code>@​tiagoabsantos</code></a>
in <a
href="https://redirect.github.com/pestphp/pest/pull/1999">pestphp/pest#1999</a></li>
<li>fix(tia): keep a failure when the same test is also risky by <a
href="https://github.com/lazerg"><code>@​lazerg</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/2014">pestphp/pest#2014</a></li>
<li>fix(tia): keep pcov.enabled when the pcov restarter re-runs pest by
<a href="https://github.com/lazerg"><code>@​lazerg</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/2015">pestphp/pest#2015</a></li>
<li>fix(tia): drop the results of every branch on environment drift by
<a href="https://github.com/lazerg"><code>@​lazerg</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/2011">pestphp/pest#2011</a></li>
<li>fix(tia): drop cached coverage of tests that no longer exist by <a
href="https://github.com/tiagoabsantos"><code>@​tiagoabsantos</code></a>
in <a
href="https://redirect.github.com/pestphp/pest/pull/2000">pestphp/pest#2000</a></li>
<li>fix(tia): write the merged coverage report in chunks by <a
href="https://github.com/tiagoabsantos"><code>@​tiagoabsantos</code></a>
in <a
href="https://redirect.github.com/pestphp/pest/pull/1997">pestphp/pest#1997</a></li>
<li>fix(tia): drop the coverage cache on structural drift by <a
href="https://github.com/tiagoabsantos"><code>@​tiagoabsantos</code></a>
in <a
href="https://redirect.github.com/pestphp/pest/pull/1996">pestphp/pest#1996</a></li>
<li>fix(tia): match test files under wildcard suite directories by <a
href="https://github.com/mozex"><code>@​mozex</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/1980">pestphp/pest#1980</a></li>
<li>fix: let extensions register event subscribers in --parallel mode by
<a href="https://github.com/ChrisAbner"><code>@​ChrisAbner</code></a> in
<a
href="https://redirect.github.com/pestphp/pest/pull/2002">pestphp/pest#2002</a></li>
<li>fix: accept <code>--no-results</code> and the
<code>--do-not-*</code> test run history options with
<code>--parallel</code> by <a
href="https://github.com/adilKhan72"><code>@​adilKhan72</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/1982">pestphp/pest#1982</a></li>
<li>Add default failure messages to the remaining string expectations by
<a
href="https://github.com/VincentBorgers"><code>@​VincentBorgers</code></a>
in <a
href="https://redirect.github.com/pestphp/pest/pull/1948">pestphp/pest#1948</a></li>
<li>test: cover parallel group-filtered runs whose workers end on fully
filtered files by <a
href="https://github.com/User7142"><code>@​User7142</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/1985">pestphp/pest#1985</a></li>
<li>fix: support brianium/paratest 7.28 grouped test files by <a
href="https://github.com/lazerg"><code>@​lazerg</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/2025">pestphp/pest#2025</a></li>
<li>fix(tia): list the whole suite with --list-tests by <a
href="https://github.com/lazerg"><code>@​lazerg</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/1973">pestphp/pest#1973</a></li>
<li>fix(sharding): strip <code>--runner</code> from the
<code>--list-tests</code> sub-process by <a
href="https://github.com/apael"><code>@​apael</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/2004">pestphp/pest#2004</a></li>
<li>fix(tia): detect renames in both porcelain status columns by <a
href="https://github.com/cyrodjohn"><code>@​cyrodjohn</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/2017">pestphp/pest#2017</a></li>
<li>fix(tia): report git errors instead of a missing dependency by <a
href="https://github.com/MohannadElemary"><code>@​MohannadElemary</code></a>
in <a
href="https://redirect.github.com/pestphp/pest/pull/1987">pestphp/pest#1987</a></li>
<li>Fix TIA fingerprinting inside linked git worktrees by <a
href="https://github.com/ademola-emmanuel"><code>@​ademola-emmanuel</code></a>
in <a
href="https://redirect.github.com/pestphp/pest/pull/1813">pestphp/pest#1813</a></li>
<li>fix(tia): find GitLab baselines beyond the last 100 jobs by <a
href="https://github.com/calebdw"><code>@​calebdw</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/1912">pestphp/pest#1912</a></li>
<li>fix: run <code>pest()-&gt;afterAll()</code> hooks by flushing
statics after <code>tearDownAfterClass()</code> by <a
href="https://github.com/sonalidudhia"><code>@​sonalidudhia</code></a>
in <a
href="https://redirect.github.com/pestphp/pest/pull/1753">pestphp/pest#1753</a></li>
<li>fix: check each target in negated toUse by <a
href="https://github.com/tiagoabsantos"><code>@​tiagoabsantos</code></a>
in <a
href="https://redirect.github.com/pestphp/pest/pull/1933">pestphp/pest#1933</a></li>
<li>Support --profile when running tests in parallel by <a
href="https://github.com/dbpolito"><code>@​dbpolito</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/1795">pestphp/pest#1795</a></li>
<li>fix(tia): memoize the merged baseline so replay stays linear by <a
href="https://github.com/jlcara"><code>@​jlcara</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/1974">pestphp/pest#1974</a></li>
<li>fix(tia): link files a test reads as text, not only files it
executes by <a
href="https://github.com/jbraband"><code>@​jbraband</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/2006">pestphp/pest#2006</a></li>
<li>perf: cache is_dir lookups in TestRepository::make() by <a
href="https://github.com/sylouuu"><code>@​sylouuu</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/2027">pestphp/pest#2027</a></li>
<li>fix(tia): re-run every test when a Laravel config or bootstrap file
changes by <a href="https://github.com/cyppe"><code>@​cyppe</code></a>
in <a
href="https://redirect.github.com/pestphp/pest/pull/1926">pestphp/pest#1926</a></li>
<li>feat(tia): make default watch fallbacks configurable by <a
href="https://github.com/dbpolito"><code>@​dbpolito</code></a> in <a
href="https://redirect.github.com/pestphp/pest/pull/1950">pestphp/pest#1950</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/ChrisAbner"><code>@​ChrisAbner</code></a> made
their first contribution in <a
href="https://redirect.github.com/pestphp/pest/pull/2002">pestphp/pest#2002</a></li>
<li><a
href="https://github.com/adilKhan72"><code>@​adilKhan72</code></a> made
their first contribution in <a
href="https://redirect.github.com/pestphp/pest/pull/1982">pestphp/pest#1982</a></li>
<li><a
href="https://github.com/VincentBorgers"><code>@​VincentBorgers</code></a>
made their first contribution in <a
href="https://redirect.github.com/pestphp/pest/pull/1948">pestphp/pest#1948</a></li>
<li><a href="https://github.com/User7142"><code>@​User7142</code></a>
made their first contribution in <a
href="https://redirect.github.com/pestphp/pest/pull/1985">pestphp/pest#1985</a></li>
<li><a href="https://github.com/apael"><code>@​apael</code></a> made
their first contribution in <a
href="https://redirect.github.com/pestphp/pest/pull/2004">pestphp/pest#2004</a></li>
<li><a href="https://github.com/cyrodjohn"><code>@​cyrodjohn</code></a>
made their first contribution in <a
href="https://redirect.github.com/pestphp/pest/pull/2017">pestphp/pest#2017</a></li>
<li><a
href="https://github.com/MohannadElemary"><code>@​MohannadElemary</code></a>
made their first contribution in <a
href="https://redirect.github.com/pestphp/pest/pull/1987">pestphp/pest#1987</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pestphp/pest/commit/ff1292102caee679da7294b239b434e93db5cf42"><code>ff12921</code></a>
release: 5.3.7 (<a
href="https://redirect.github.com/pestphp/pest/issues/2037">#2037</a>)</li>
<li><a
href="https://github.com/pestphp/pest/commit/433b9893d4f37075878875b3f3dce4904fb22dd3"><code>433b989</code></a>
fix(tia): parse SFC entries when building the JS module graph (<a
href="https://redirect.github.com/pestphp/pest/issues/1919">#1919</a>)</li>
<li><a
href="https://github.com/pestphp/pest/commit/2d9dcd750ab28e70bf4315549527bca1314a54a7"><code>2d9dcd7</code></a>
fix(tia): answer the stream_lock support probe (<a
href="https://redirect.github.com/pestphp/pest/issues/2029">#2029</a>)</li>
<li><a
href="https://github.com/pestphp/pest/commit/848c740a44e5994e524f35ce9d4345bacf0dec74"><code>848c740</code></a>
release: 5.3.6</li>
<li><a
href="https://github.com/pestphp/pest/commit/6b79e91e540594849241a166476c6fa48458c2c2"><code>6b79e91</code></a>
chore: bump deps</li>
<li><a
href="https://github.com/pestphp/pest/commit/28c9dc277d4cbb88ddea7124837a7b3313017840"><code>28c9dc2</code></a>
feat(tia): make default watch fallbacks configurable (<a
href="https://redirect.github.com/pestphp/pest/issues/1950">#1950</a>)</li>
<li><a
href="https://github.com/pestphp/pest/commit/6f8b7998c2ffb0ab49b6d0e67493791bddd9a819"><code>6f8b799</code></a>
fix(tia): re-run every test when a Laravel config or bootstrap file
changes (...</li>
<li><a
href="https://github.com/pestphp/pest/commit/61adbcfd347d03b95a061960a1080e78588acfa4"><code>61adbcf</code></a>
perf: cache is_dir lookups in TestRepository::make() (<a
href="https://redirect.github.com/pestphp/pest/issues/2027">#2027</a>)</li>
<li><a
href="https://github.com/pestphp/pest/commit/38c79452c1b28d317fe0447c906aab106972f63c"><code>38c7945</code></a>
fix(tia): link files a test reads as text, not only files it executes
(<a
href="https://redirect.github.com/pestphp/pest/issues/2006">#2006</a>)</li>
<li><a
href="https://github.com/pestphp/pest/commit/a483e38dddb58fe28eb9d140b56dbb9be8fe5726"><code>a483e38</code></a>
fix(tia): memoize the merged baseline so replay stays linear (<a
href="https://redirect.github.com/pestphp/pest/issues/1974">#1974</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pestphp/pest/compare/v5.3.5...v5.3.7">compare
view</a></li>
</ul>
</details>
<br />

Updates `rector/rector` from 2.8.4 to 2.8.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rectorphp/rector/releases">rector/rector's
releases</a>.</em></p>
<blockquote>
<h2>Released Rector 2.8.5</h2>
<h2>Bugfixes and safer reprints :bug:</h2>
<p>This release is mostly about <strong>bugfixes</strong> - an infinite
loop fix in docblock return types, kept ternary parentheses on null
coalescing, more precise <code>changed_files</code> in JSON output, and
several new skips for <strong>dead code</strong> and <strong>PHP
8.4</strong> rules. On the extension side, <strong>PHPUnit</strong>
<code>AddDoesNotPerformAssertionToNonAssertingTestRector</code> is now
faster and more precise.</p>
<!-- raw HTML omitted -->
<h2>Bugfixes :bug:</h2>
<ul>
<li>[TypeDeclarationDocblocks] Skip invalid <code>@return</code> tag to
fix infinite loop in
<code>DocblockReturnArrayFromDirectArrayInstanceRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8918">#8918</a>)</li>
<li>[ChangesReporting] List only changed files in JSON
<code>changed_files</code> (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8917">#8917</a>)
Thanks <a
href="https://github.com/gvieira18"><code>@​gvieira18</code></a></li>
<li>[Core] Drop file positions on reprinted nodes copied from another
file (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8928">#8928</a>)</li>
<li>Preserve ternary fallback parentheses in new coalesces (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8927">#8927</a>)
Thanks <a
href="https://github.com/smotim"><code>@​smotim</code></a></li>
<li>[Php70] Keep inner ternary parentheses on
<code>TernaryToNullCoalescingRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8921">#8921</a>)</li>
<li>[Php55] Handle variable interpolated in pattern on
<code>PregReplaceEModifierRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8922">#8922</a>)</li>
<li>[Php84] Skip variable modified in condition on
<code>ForeachToArrayAllRector</code>,
<code>ForeachToArrayAnyRector</code>,
<code>ForeachToArrayFindRector</code> and
<code>ForeachToArrayFindKeyRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8925">#8925</a>)</li>
<li>[DeadCode] Skip conditional return type on
<code>RemoveUselessReturnTagRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8924">#8924</a>)
Thanks <a
href="https://github.com/APX403"><code>@​APX403</code></a></li>
<li>[DeadCode] Skip private methods used as callables on
<code>RemoveUnusedPrivateMethodParameterRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8923">#8923</a>)
Thanks <a
href="https://github.com/phinor"><code>@​phinor</code></a></li>
<li>[CodingStyle] Skip closure with rebound <code>$this</code> on
<code>ArrowFunctionDelegatingCallToFirstClassCallableRector</code> and
<code>ClosureDelegatingCallToFirstClassCallableRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8931">#8931</a>)</li>
</ul>
<!-- raw HTML omitted -->
<h2>Performance Improvements :rocket:</h2>
<ul>
<li>Remove usage of <code>CloningVisitor</code> on
<code>AstResolver</code> (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8861">#8861</a>)</li>
</ul>
<!-- raw HTML omitted -->
<h2>Internals :gear:</h2>
<ul>
<li>[Printer] Remove unneeded
<code>BetterStandardPrinter::pStmt_FileNode()</code> (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8904">#8904</a>)</li>
<li>[CodingStyle] Cover Doctrine/Symfony aliased names on import names
with real stubs (<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8932">#8932</a>,
<a
href="https://redirect.github.com/rectorphp/rector-src/pull/8933">#8933</a>)</li>
</ul>
<!-- raw HTML omitted -->
<h2>rector-symfony :musical_note:</h2>
<ul>
<li>[Symfony61] Do not add <code>#[AsCommand]</code> without a name in
<code>CommandConfigureToAttributeRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-symfony/pull/1102">#1102</a>)
Thanks <a href="https://github.com/kix"><code>@​kix</code></a></li>
<li>Skip first-class callable in
<code>CommandConfigureToAttributeRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-symfony/pull/1104">#1104</a>)</li>
</ul>
<!-- raw HTML omitted -->
<h2>rector-phpunit :green_circle:</h2>
<ul>
<li>[PHPUnit90] Handle named and unpacked <code>preg_match()</code> args
and skip non-literal expected value in <code>AssertRegExpRector</code>
(<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/820">#820</a>,
<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/819">#819</a>)
Thanks <a
href="https://github.com/alies-dev"><code>@​alies-dev</code></a></li>
<li>[PHPUnit100] Add <code>willReturnOnConsecutiveCalls()</code>
variables to closure <code>use()</code> in
<code>WithConsecutiveRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/821">#821</a>)</li>
<li>[PHPUnit120] Skip mocks configured through an alias in
<code>ExpressionCreateMockToCreateStubRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/823">#823</a>)
Thanks <a
href="https://github.com/bbrala"><code>@​bbrala</code></a></li>
<li>[PHPUnit60] Follow <code>parent::test()</code> calls in
<code>AddDoesNotPerformAssertionToNonAssertingTestRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/826">#826</a>)
Thanks <a
href="https://github.com/bbrala"><code>@​bbrala</code></a></li>
<li>[PHPUnit60] Count <code>expectUserDeprecationMessage()</code> as
assert, skip test methods in abstract classes and skip tests in classes
with own asserting lifecycle methods in
<code>AddDoesNotPerformAssertionToNonAssertingTestRector</code> (<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/825">#825</a>,
<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/828">#828</a>,
<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/831">#831</a>)</li>
<li>[PHPUnit60] Speed up
<code>AddDoesNotPerformAssertionToNonAssertingTestRector</code> - change
node to <code>Class_</code>, cache <code>containsAssertCall()</code> per
node and never parse PHPUnit and Symfony base test case methods (<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/830">#830</a>,
<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/829">#829</a>,
<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/833">#833</a>,
<a
href="https://redirect.github.com/rectorphp/rector-phpunit/pull/824">#824</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rectorphp/rector/commit/bf2982e3e2b8dfbcb43e5589fa301431cb1e479e"><code>bf2982e</code></a>
Rector 2.8.5</li>
<li><a
href="https://github.com/rectorphp/rector/commit/f1bb9a16d337e0d0b2656debe0c404ee0c88b2d4"><code>f1bb9a1</code></a>
Updated Rector to commit 9f30de4a6caa13615f9e4d20bbe5282aac528575</li>
<li><a
href="https://github.com/rectorphp/rector/commit/55f2cdaf50ac9e8d450a059cc34e0d3f88097d3b"><code>55f2cda</code></a>
Updated Rector to commit 9f30de4a6caa13615f9e4d20bbe5282aac528575</li>
<li><a
href="https://github.com/rectorphp/rector/commit/ed28610cae1e5a545730e515075e48baf8a67473"><code>ed28610</code></a>
Updated Rector to commit 9f30de4a6caa13615f9e4d20bbe5282aac528575</li>
<li><a
href="https://github.com/rectorphp/rector/commit/a6f5c219820ef04a4b59b1e0330bb54a60cb0d49"><code>a6f5c21</code></a>
Updated Rector to commit 8dd83d8721a47df944c207778189daf6e5711a8e</li>
<li><a
href="https://github.com/rectorphp/rector/commit/b5e9d1bc8142090070663da3a206bf1208bf610f"><code>b5e9d1b</code></a>
Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079</li>
<li><a
href="https://github.com/rectorphp/rector/commit/57c53a5abd17f73a08ab5c7ad7910b28dbabd33b"><code>57c53a5</code></a>
Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079</li>
<li><a
href="https://github.com/rectorphp/rector/commit/e47aa88f4cc8cdf01263d75c964bb10dca4d8206"><code>e47aa88</code></a>
Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079</li>
<li><a
href="https://github.com/rectorphp/rector/commit/68cbe749e393bdbcb4a574267103ea9d3d049fe4"><code>68cbe74</code></a>
Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079</li>
<li><a
href="https://github.com/rectorphp/rector/commit/7ebfeceb1d693f5305d1245e32afea812e14cdc1"><code>7ebfece</code></a>
Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079</li>
<li>Additional commits viewable in <a
href="https://github.com/rectorphp/rector/compare/2.8.4...2.8.5">compare
view</a></li>
</ul>
</details>
<br />

Updates `uams-web/patches-pest-plugin-mutate` from 1.4.0 to 1.5.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/releases">uams-web/patches-pest-plugin-mutate's
releases</a>.</em></p>
<blockquote>
<h2>v1.5.0 — Report unreadable files as present</h2>
<p>Adds a 15th patch so the mutation stream wrapper reports an existing
file that cannot be read as present, and publishes the wiki from the
repository. Still pinned to <code>pestphp/pest-plugin-mutate</code>
<code>5.0.2</code>.</p>
<p>Version: a minor, because a patch is added (versioning table). A
consumer whose Dependabot bump fails <code>composer install</code> with
&quot;Hash mismatch&quot; runs <code>composer patches-relock</code> and
commits the <code>patches.lock.json</code> change, as with v1.4.1.</p>
<h2>What's new</h2>
<ul>
<li>Publish the wiki from docs/wiki/ <a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/pull/51">#51</a></li>
</ul>
<h2>What's fixed</h2>
<ul>
<li>Report an unreadable file as present from the mutation stream
wrapper's url_stat() <a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/pull/53">#53</a></li>
</ul>
<h2>Maintenance and tooling</h2>
<ul>
<li>Mark the wiki as written against v1.5.0 <a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/pull/55">#55</a></li>
<li>Sync shared skills and rules from uams-claude-skills <a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/pull/49">#49</a></li>
</ul>
<h2>v1.4.3 — Generate class-constant mutants under covered-only</h2>
<p>Makes <code>--covered-only</code> generate the mutants for a class
constant's initializer, so a surviving one is reported instead of
omitted. Still pinned to <code>pestphp/pest-plugin-mutate</code>
<code>5.0.2</code>.</p>
<p>Version: a patch, because an existing patch changes and none is added
(versioning table).</p>
<h2>What's fixed</h2>
<ul>
<li><code>pest-plugin-mutate-class-constant-coverage.patch</code>: under
<code>--covered-only</code>, a node inside a class constant's
initializer counts as covered when any line of its class is, so the
constant's mutants (for example <code>RemoveArrayItem</code> on a
constant array) are generated and a survivor is reported as untested
rather than omitted. PCOV reports no executable line for a constant
initializer, so the generation filter skipped every such node and the
class reported 100%. A class with no covered line still generates
nothing, and without <code>--covered-only</code> the population is
unchanged. Pull request: <a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/48">#48</a>,
ticket <a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/47">#47</a>.</li>
</ul>
<h2>Maintenance and tooling</h2>
<ul>
<li><code>tests/constants.php</code> drives
<code>MutationGenerator</code> with a covered class holding a constant
array, and <code>tests/check.sh</code> runs it. Pull request: <a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/48">#48</a>.</li>
</ul>
<h2>Known open</h2>
<ul>
<li>A consumer running a whole-suite <code>--mutate</code> run needs
<code>uams-web/patches-patchwork</code>'s
<code>patchwork-directory-wrapper.patch</code> as well as this package,
or the run stops with a refusal and no score (<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/31">#31</a>).</li>
</ul>
<h2>v1.4.2 — Guard hard memory limits</h2>
<p>Teaches the isolated-processes guard one more way a mutant's child
can die without running a passing test. Still pinned to
<code>pestphp/pest-plugin-mutate</code> <code>5.0.2</code>.</p>
<p>Version: a patch, because an existing patch changes and none is added
(versioning table).</p>
<h2>What's fixed</h2>
<ul>
<li><code>pest-plugin-mutate-isolated-processes.patch</code>: a mutant
whose child exhausts PHP's hard memory limit (<code>Hard memory limit of
N bytes exhausted ...</code>, with no <code>Fatal error:</code> prefix,
from a mutant such as <code>UnwrapSubstr</code> that makes a shrinking
loop unbounded) is scored a kill instead of aborting the run with exit
137. A child that exits 0 with no report, or dies before any test
starts, is still refused. Pull request: <a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/46">#46</a>,
ticket <a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/45">#45</a>.</li>
</ul>
<h2>Maintenance and tooling</h2>
<ul>
<li>Sync shared skills and rules from uams-claude-skills <a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/pull/39">#39</a>,
<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/pull/44">#44</a></li>
</ul>
<h2>Known open</h2>
<ul>
<li>A consumer running a whole-suite <code>--mutate</code> run needs
<code>uams-web/patches-patchwork</code>'s
<code>patchwork-directory-wrapper.patch</code> as well as this package,
or the run stops with a refusal and no score (<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/31">#31</a>).</li>
</ul>
<h2>v1.4.1 — Guard compile errors and time limits</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/71198d4ddfd418bea71a5cdd514cff2d0d97de49"><code>71198d4</code></a>
docs: mark the wiki as written against v1.5.0 (<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/55">#55</a>)</li>
<li><a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/2da9f63b91e80bf4eacc827ab2b14c4323b3c25f"><code>2da9f63</code></a>
Report an unreadable file as present from the mutation stream wrapper's
url_s...</li>
<li><a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/4717bada8d3a5aa1a2fc34aa4267a4e1f6fc6242"><code>4717bad</code></a>
Publish the wiki from docs/wiki/ (<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/51">#51</a>)</li>
<li><a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/06b94d4f0c047e1773cb5c3cd3fb796de98a57b8"><code>06b94d4</code></a>
Sync shared skills and rules from uams-claude-skills@3ac2807 (<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/49">#49</a>)</li>
<li><a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/70035e5157fb5509cf9791dadb763641978baf1f"><code>70035e5</code></a>
fix: generate class-constant mutants under --covered-only (<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/47">#47</a>)
(<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/48">#48</a>)</li>
<li><a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/08b8b8e14afc5480bff733277a0fa1c1a2bf8b31"><code>08b8b8e</code></a>
fix: score a mutant that exhausts the hard memory limit as a kill (<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/45">#45</a>)
(<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/46">#46</a>)</li>
<li><a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/0d77a173d825ddea0c30162f96626ca5947acb71"><code>0d77a17</code></a>
Sync shared skills and rules from uams-claude-skills@b973116 (<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/44">#44</a>)</li>
<li><a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/1da5df1c72427647f8e9a4c5a66c1ffbc8059397"><code>1da5df1</code></a>
Sync shared skills and rules from uams-claude-skills@9361293 (<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/39">#39</a>)</li>
<li><a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/0ae879fcdb12a8a02a70c00372e3193b04fde8b8"><code>0ae879f</code></a>
fix: score a mutant whose child exceeds the PHP time limit (<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/41">#41</a>)
(<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/43">#43</a>)</li>
<li><a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/786b6cd175988c0f27c598c543840497ee946e4e"><code>786b6cd</code></a>
fix: score a mutant whose child dies of a compile error as a kill (<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/40">#40</a>)
(<a
href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/42">#42</a>)</li>
<li>See full diff in <a
href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/compare/v1.4.0...v1.5.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>


## Patch set changes

`composer.lock` moves `uams-web/patches-pest-plugin-mutate` from v1.4.0
to v1.5.0, `laravel/framework` from v13.42.0 to v13.43.0, and
`statamic/cms` to v6.42.0. Of the patched packages,
`pestphp/pest-plugin-mutate` (5.0.2) and `orchestra/testbench-core` did
not move.

| Patch | Outcome |
| --- | --- |
| 14 `pestphp/pest-plugin-mutate` patches carried since v1.4.0 | Still
apply and still needed. `pest-plugin-mutate-isolated-processes.patch`
changed content in v1.5.0 (its recorded hash `6dd57858...` became
`8bc0b392...`); it applies. |
| `pest-plugin-mutate-url-stat-unreadable.patch` (new in v1.5.0,
`UAMS-Web/patches-pest-plugin-mutate#52`) | Registered in
`patches.json`. |
| 2 `orchestra/testbench-core` patches | Still apply and still needed. |
| `laravel/framework` facade stub rename patch | Still applies and still
needed: the v13.43.0 release notes (76 lines read) carry no entry on the
facade stub rename. |

The first commit on this branch (efa53ef) registers the new patch and
relocks `patches.lock.json`. Without it a clean `composer install` stops
with `Hash mismatch for patch ...
pest-plugin-mutate-isolated-processes.patch`, which is what failed Pint,
both Compatibility legs and the vitest job on e36bd9c. `composer
reinstall` of `pestphp/pest-plugin-mutate`, `orchestra/testbench-core`
and `laravel/framework` printed `Patching` for each and no error.

## Behavior this bump touches

Tags read: `statamic/cms` v6.42.0 (27 changelog entries),
`laravel/framework` v13.43.0 (76 entries), `monolog/monolog` 3.13.0.
`UAMS-Web/aether-incomplete-entries#84` pinned the first two rows; each
was shown failing under a mutation of the call site and passing without
it.

| Change (link, tag read) | Call site | Pinned by | Not pinned |
| --- | --- | --- | --- |
| [statamic/cms#15879](https://github.com/statamic/cms/pull/15879) skip
empty-list `whereIn` (v6.42.0) | `entriesWithIds()`,
`src/Widgets/IncompletePublishedEntries.php` |
`IncompletePublishedEntriesScanQueryTest`, "loads no entry for an empty
id list while entries exist" | none; an empty list changes cost and
never the stored rows, so the case is on the lookup |
| [statamic/cms#15877](https://github.com/statamic/cms/pull/15877)
prepare Stache sort values once (v6.42.0) | `publishedEntriesQuery()`
`orderBy('id')` | `IncompletePublishedEntriesScanQueryTest`, "scans the
lowest ids first under a limit and lists failing ids in ascending order"
| none |
| [statamic/cms#15883](https://github.com/statamic/cms/pull/15883)
duplicate ids lost when the Stache is cleared and warmed in one process
(v6.42.0) | the scan after `Stache::clear()` |
`IncompletePublishedEntriesOffRequestTest`, "scans the same entries with
the same result after the Stache is cleared and rebuilt" and "judges an
origin entry and its localization on their own data, and the same after
the Stache is cleared and rebuilt" | not mutation-probed in this change
|
| laravel/framework `sometimes` rules skipped for a nested `__missing__`
value (v13.43.0, merged from 12.x) | Statamic's validator, called by
`EntryValidator` | `IncompletePublishedEntriesValidationTest`, "skips a
replicator set field hidden within its row" (a `sometimes` field
filtered out of a replicator row) and "fails a required field exactly
when the entry editor would" | not mutation-probed in this change |

The other 24 `statamic/cms` entries (taxonomies, assets, static caching,
Antlers, the date picker, Octane, translations, the Eloquent builder)
and 75 `laravel/framework` entries (queues, Eloquent, Blade, signed
URLs, JSON Schema, broadcasting, Redis) name no class the add-on calls;
`src/` imports `Statamic\Sites\Site` as a type only. `monolog/monolog`
3.13.0 changes formatters and handlers behind `Log::warning()`; the
add-on's four `Log::warning()` calls are asserted through
`Log::shouldReceive()` and `Log::spy()`, so no formatter is exercised.
`guzzlehttp/*`, `league/csv`, `vlucas/phpdotenv`,
`web-auth/webauthn-lib`, `egulias/email-validator` and
`paragonie/constant_time_encoding` are not imported by `src/` or
`tests/`.

Gate-only packages: `phpstan/phpstan` 2.3.7 reported `method.nonObject`
on two calls in `tests/Integration/ServiceProviderTest.php`
(`app('statamic.widgets')` is `mixed`), fixed in 6d7e1d8 without
changing the assertions; `rector/rector` 2.8.5 reports a deprecated
skip, filed as `UAMS-Web/aether-incomplete-entries#85`; `pestphp/pest`
5.3.7, `brianium/paratest` 7.29.0 and `phpunit/phpunit` 13.4.7 are
exercised by the Pest job.

## Test plan

- [x] A clean `composer install` applies every registered patch with no
hash mismatch. Shown by `composer reinstall` of the three patched
packages on 6d7e1d8.
- [x] The locked `statamic/cms` v6.42.0 passes the add-on's suite:
`composer test` 420 passed (1165 assertions), PHPStan and Rector clean.
- [x] The remote CI on the pull request's head passes, including every
required check. All 30 checks reported success or skipped on 6d7e1d8,
`CI` included.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh <15675878+joshdaugherty@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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