Repository navigation
[6.x] Only look through the taxonomies a term query's ids name - #15878
Merged
jasonvarga merged 2 commits intoNov 13, 2026
Merged
Conversation
A terms field asks for its terms by id, and every id starts with its taxonomy, but the query looked through every term of every taxonomy on the site and gave each one a prefixed key before testing it. A query that can only return certain ids now looks in the taxonomies those ids name, and filters each index before prefixing what's left, as the entry query builder does.
7 tasks done
joshdaugherty
added a commit
to UAMS-Web/aether-wordpress-importer
that referenced
this pull request
Nov 23, 2026
Closes #612. Adds standalone tests for importer behavior that the #609 dependency bump changes and that no test pinned. Each test passes on `main`'s lock and on #609's lock, so it holds the behavior across the bump, and each was broken by hand to confirm it fails. ## What each test pins | Change it holds | Test | Hand break that turned it red | | --- | --- | --- | | The cleaned body on the migration API path (cleanup `v2.1.0`) | `WxrMaterializerCleanupTest` "cleans a listed site's API post to the exact expected body" | Changed the dateline rule in the installed cleaner. Only the new test failed; the existing comparison test stayed green, because both of its sides run the same cleaner | | An attachment written into folders that do not exist yet (`statamic/cms#15855`) | New `AssetDownloaderNestedUploadTest`: a real container on a temporary local disk, the file and its `.meta` file at `news/2024/05/` | `makeAsset(basename($path))`: both tests failed | | A term lookup when another taxonomy holds the same slug (`statamic/cms#15878`) | `NonDefaultSiteTermCreationTest`, a single-term case and a batched case | The single-term lookup swapped for a slug-only query across every taxonomy: the single-term case failed | | The KB tree's order and parents read back through an entry query (`statamic/cms#15888`) | `KbEntryCreatorTest` "reads the saved order and parents back through an entry query" | Children assembled in reverse order: failed | | A bracketed host that continues after `]` (`guzzlehttp/psr7` `2.13.4`) | `GuardedRedirectWalkTest`, new dataset row `http://[::1]x/` | No hand break: the row pins the parser's refusal, and it is refused as `UnparseableLocation` on both `2.13.3` and `2.13.6` | ## Not here - The relative `/a:80/b` Location from #612's criteria lands on #609: on `main`'s `guzzlehttp/psr7` `2.13.3` the redirect walk returns `null` for it (the defect `2.13.5` fixes), so it can only pass with the bump. #612's criteria record this. - Surfacing the cleaner's settle failure and its emptied-body list: a code change, tracked in #611. ## Test plan - [x] Every new and changed test passes on `main`'s lock (slot on `bdbe9d8` lock: `NonDefaultSiteTermCreationTest` 5 passed, `WxrMaterializerCleanupTest` 12 passed, `GuardedRedirectWalkTest` and `GuardedHttpFetcherTest` 58 passed, `KbEntryCreatorTest` with `AssetDownloaderNestedUploadTest` 180 passed) - [x] The same files pass on #609's lock (223 passed, 476 assertions) - [x] Every check on the head passes Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Merged
3 tasks done
joshdaugherty
added a commit
to UAMS-Web/aether-wordpress-importer
that referenced
this pull request
Nov 23, 2026
Bumps the composer-minor-and-patch group with 7 updates: | Package | From | To | | --- | --- | --- | | [statamic/cms](https://github.com/statamic/cms) | `6.41.0` | `6.42.0` | | [uams-web/aether-wordpress-importer-cleanup](https://github.com/UAMS-Web/aether-wordpress-importer-cleanup) | `2.0.0` | `2.1.0` | | [pestphp/pest](https://github.com/pestphp/pest) | `5.3.5` | `5.3.7` | | [phpstan/phpstan](https://github.com/phpstan/phpstan-phar-composer-source) | `2.3.5` | `2.3.7` | | [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) | `13.4.5` | `13.4.7` | | [rector/rector](https://github.com/rectorphp/rector) | `2.8.4` | `2.8.5` | | [uams-web/patches-pest-plugin-mutate](https://github.com/UAMS-Web/patches-pest-plugin-mutate) | `1.4.0` | `1.5.0` | ## Patch set changes `uams-web/patches-pest-plugin-mutate` moves from `1.4.0` to `1.5.0`, which ships 15 patches where `1.4.0` shipped 14. CI failed on this branch with a hash mismatch for `isolated-processes.patch` because `patches.lock.json` still held the `1.4.0` hashes. - **Added:** `pest-plugin-mutate-url-stat-unreadable.patch`, registered in `patches.json` (temporary; see `UAMS-Web/patches-pest-plugin-mutate#52`). - **Re-hashed:** `isolated-processes` and `class-constant-coverage`, whose files changed in `1.5.0`; relocked in `patches.lock.json`. - **Retired:** none. Every earlier patch is still shipped by `1.5.0` and still registered. ## Behavior this bump touches Changelogs read: `statamic/cms` `v6.42.0`, `UAMS-Web/aether-wordpress-importer-cleanup` `v2.1.0`, `guzzle/psr7` `2.13.4` to `2.13.6`, `guzzle/guzzle` `7.17.0`, `laravel/framework` `v13.43.0`. The gaps were filed as #612, whose tests merged in #613. | Change (tag read) | Call site | Pinned by | Not pinned | | --- | --- | --- | --- | | Cleaner output: `Dom\HTMLDocument` round trip, settle loop, text kept after an unclosed Office tag (cleanup `v2.1.0`) | `WxrMaterializer::cleanParts()` | `WxrMaterializerCleanupTest` "cleans a listed site's API post to the exact expected body" (#613); the output is byte-identical under `v2.0.0` and `v2.1.0` | The settle `RuntimeException` and the emptied-body list are not handled on this path: #611 | | Flysystem `put` no longer creates the directory first (`v6.42.0`, statamic/cms#15855) | `AssetDownloader`, `$asset->upload()` | `AssetDownloaderNestedUploadTest` (#613) | | | Term queries search only the taxonomies their ids name (`v6.42.0`, statamic/cms#15878) | `CreatesTaxonomyTerms`, `PersistsStoredTaxonomyTerms` | `NonDefaultSiteTermCreationTest` same-slug cases (#613) | | | Each index written once on a structured reorder (`v6.42.0`, statamic/cms#15888) | `BuildsKbTree`, tree `->save()` | `KbEntryCreatorTest` "reads the saved order and parents back through an entry query" (#613) | | | Bracketed hosts continuing after `]` rejected (psr7 `2.13.4`) | `GuardedRedirectWalk`, `UriResolver::resolve()` | `GuardedRedirectWalkTest` row `http://[::1]x/` (#613) | | | Path references with a colon and digits (psr7 `2.13.5`) | `GuardedRedirectWalk`, `UriResolver::resolve()` | `GuardedHttpFetcherTest` "resolves a relative Location whose path holds a colon and digits against the current host", added on this branch; on `2.13.3` the walk returned `null` for it | | | Query by ID passes the IDs through `Arr::only()` (`v6.42.0`, `EntryQueryBuilder`; found by CI, not by the changelog read) | Statamic's own search hook on entry save | `LinkProcessorDeferredLinksTest` "reports an unresolved link's entry with an empty ID when its ID is not a string" | Its fixture used a float ID, which `Arr::only()` cannot flip, so the save failed on all three platforms. The importer never writes a float ID; the fixture now uses an integer, which still reaches the guard the test pins (`c34e4d3`) | No call site: `statamic/cms#15882`, `#15872` and `#15871` (association index, read by the host app), `#15883`, `#15887`, `#15879` (unreachable: the importer's `whereIn` always passes two values), Guzzle `7.17.0` handler validation (every test fakes the client), and all 76 `laravel/framework` `v13.43.0` entries. `pestphp/pest`, `phpstan/phpstan`, `phpunit/phpunit` and `rector/rector` are used only by the gate, whose jobs exercise them. ## Test plan - [x] Every patch in `patches.json` applies on `composer install` against this lock (CI install on `c34e4d3`: `Patching pestphp/pest-plugin-mutate` with no error; all 15 confirmed applied in the local vendor tree) - [x] The #613 tests and the colon-path test pass on this lock (256 passed, 543 assertions, on the merged tree `f381122`) - [x] Every check on the head passes (61 on `c34e4d3`) The release notes below are Dependabot's, with each package's commit list removed so this body fits GitHub's length limit; each package's compare view lists those commits. 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> <br /> Updates `uams-web/aether-wordpress-importer-cleanup` from 2.0.0 to 2.1.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/UAMS-Web/aether-wordpress-importer-cleanup/releases">uams-web/aether-wordpress-importer-cleanup's releases</a>.</em></p> <blockquote> <h2>v2.1.0 — Idempotent Cleanup and Current Tooling</h2> <p>A second cleanup pass now changes nothing, text after an unclosed Office tag is kept, each cleaned file records its environment, and the shared tooling is current.</p> <h2>What's new</h2> <ul> <li>Record the PHP and libxml versions behind each cleaned file <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/61">#61</a></li> <li>Move the HTML round trip to <code>Dom\HTMLDocument</code> <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/52">#52</a></li> </ul> <h2>What's fixed</h2> <ul> <li>Make a second cleanup pass change nothing <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/50">#50</a></li> <li>Keep the text after an unclosed Office tag and report bodies that clean to nothing <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/60">#60</a></li> </ul> <h2>Maintenance and tooling</h2> <ul> <li>Take the pest-plugin-mutate patches from the shared package <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/67">#67</a></li> <li>Move to Pest 5 and adopt the shared <code>pest-plugin-mutate</code> patches <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/45">#45</a></li> <li>Register every patch the shared mutation package declares <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/84">#84</a></li> <li>Move the CI chain pin and the patch package to current releases <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/82">#82</a></li> <li>Sync shared skills and rules from uams-claude-skills <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/32">#32</a>, <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/56">#56</a>, <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/58">#58</a>, <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/59">#59</a>, <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/62">#62</a>, <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/64">#64</a>, <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/68">#68</a>, <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/73">#73</a>, <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/77">#77</a>, <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/79">#79</a></li> <li>Keep the orb setup steps in <code>.agents/setup.local</code> <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/78">#78</a></li> <li>Use the shared class-constant mutation patch <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/76">#76</a></li> <li>Run the full mutation pass weekly <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/75">#75</a></li> <li>Pin the development PHP to 8.4.27 <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/74">#74</a></li> <li>Read <code>uams-web/patches-pest-plugin-mutate</code> through a <code>vcs</code> repository <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/71">#71</a></li> <li>Mutate all of <code>src</code> again <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/66">#66</a></li> <li>Enable the commit guard in Amp orb setup <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/55">#55</a></li> <li>Prepare persistent PHP tooling for Amp orbs <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/54">#54</a></li> <li>Limit the push mutation run to the clean <code>src</code> paths <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/42">#42</a></li> <li>Adopt the release-pinned reusable CI workflow <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/38">#38</a></li> <li>Cover disposition and top-level WXR contracts <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/37">#37</a></li> <li>Cover src/Rules T to U to mutation-clean <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/30">#30</a></li> <li>Cover src/Rules N to S to mutation-clean <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/29">#29</a></li> <li>Cover the first eleven source rules with mutation-clean tests <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/28">#28</a></li> <li>Add a <code>composer mutate</code> script that passes a relative path <a href="https://redirect.github.com/UAMS-Web/aether-wordpress-importer-cleanup/pull/27">#27</a></li> </ul> </blockquote> </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()->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> <br /> Updates `phpstan/phpstan` from 2.3.5 to 2.3.7 <br /> Updates `phpunit/phpunit` from 13.4.5 to 13.4.7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sebastianbergmann/phpunit/releases">phpunit/phpunit's releases</a>.</em></p> <blockquote> <h2>PHPUnit 13.4.7</h2> <h3>Fixed</h3> <ul> <li>When an order is configured on the command line, for instance using <code>--order-by random</code>, <code>defects</code> configured using the <code>executionOrder</code> attribute in the XML configuration file is still applied, and vice versa</li> <li>Using <code>default</code> together with an order for <code>--order-by</code> or the <code>executionOrder</code> XML configuration attribute, for instance <code>default,random</code>, triggers a deprecation for using more than one order, although <code>default</code> resets the order instead of selecting one</li> <li><code>--fail-on-skipped</code> does not make the test runner exit with a shell exit code that indicates failure when a test class is skipped, for instance because its before-first-test method calls <code>markTestSkipped()</code>, although its tests are counted as skipped</li> <li><code>--stop-on-skipped</code> does not stop the test run when a test class is skipped, for instance because its before-first-test method calls <code>markTestSkipped()</code></li> <li>When coverage contribution is required, a test is considered risky because it does not contribute to code coverage although it executed covered code, when the code coverage driver collects hit counts and each covered line that the test executed was executed more than once</li> <li>When PHPUnit is installed using Composer, code units in the <code>PHPUnit\</code> or <code>SebastianBergmann\</code> namespace that do not belong to PHPUnit or one of its dependencies are preloaded on startup, which leads to a fatal error when such a code unit depends on code that is not available</li> <li>Code from <code>sebastian/file-filter</code> and <code>sebastian/git-state</code> is not treated like code from PHPUnit's other dependencies, for instance stack frames from it are not filtered from stack traces</li> <li>Code from <code>nikic/php-parser</code> and parts of the code from <code>phar-io/manifest</code> are not treated like code from PHPUnit's other dependencies, for instance stack frames from it are not filtered from stack traces</li> </ul> <hr /> <p>Learn how to install or update PHPUnit 13.4 in the <a href="https://docs.phpunit.de/en/13.4/installation.html">documentation</a>.</p> <h4>Keep up to date with PHPUnit:</h4> <ul> <li>You can follow <a href="https://phpc.social/@phpunit"><code>@phpunit@phpc.social</code></a> to stay up to date with PHPUnit's development.</li> <li>You can subscribe to the <a href="https://phpunit.de/newsletter">PHPUnit Updates</a> newsletter to receive updates about and tips for PHPUnit.</li> </ul> <h2>PHPUnit 13.4.6</h2> <h3>Changed</h3> <ul> <li>Issues whose message refers to an anonymous class could not be ignored using a baseline on PHP 8.6 (as of PHP 8.6, such messages contain the full name of the anonymous class: a NUL byte followed by the file, line, and a counter)</li> <li>Make PHAR build reproducible across filesystems (files are now added to the PHAR sorted by their path instead of in the order in which the filesystem lists them)</li> </ul> <h3>Fixed</h3> <ul> <li>When <code>method()</code> is called for a method of a test double that cannot be configured, for instance because it does not exist, every subsequent invocation of a method of that test double fails with <code>Method name is not configured</code></li> <li>When a hook method of a test, for instance <code>setUp()</code>, marks the test as incomplete, the hook method is reported as failed</li> <li>When an "after test" method, for instance <code>tearDown()</code>, marks a successful test as incomplete or skips it, the test is reported as failed</li> <li>When a before-first-test method, for instance <code>setUpBeforeClass()</code>, calls <code>markTestIncomplete()</code>, each test of the test class is reported as failed instead of the test class being skipped as it is when <code>markTestSkipped()</code> is called</li> <li>When an after-last-test method, for instance <code>tearDownAfterClass()</code>, calls <code>markTestIncomplete()</code> or <code>markTestSkipped()</code> after the tests of the test class have been run, this is reported as a failure, also for each test of the test class that is run in process isolation</li> <li>A failed PHP assertion, made using <code>assert()</code>, in a hook method is reported as an error of that method instead of as a failure, and it is counted as an error instead of as a failure when that method is a before-first-test method or an after-last-test method</li> <li>When an assertion fails in an "after test" method, for instance <code>tearDown()</code>, of a test that already failed, errored, or was marked as incomplete, a failure is reported in addition to the outcome of the test, so the test is counted more than once and <code>onNotSuccessfulTest()</code> is called with the failure from the "after test" method instead of the test's own</li> <li>When a test fails because of an exception of a registered failure type, an error or a failure in an "after test" method, for instance <code>tearDown()</code>, is reported in addition to the test's failure, so the test is counted more than once</li> <li>A test that fails because of an exception of a registered failure type is considered risky when it does not perform assertions or, when <code>requireCoverageMetadata="true"</code> is configured, when it does not define a code coverage target, unlike a test that fails because an assertion failed</li> <li>The TestDox output does not show the failure of a before-first-test method or an after-last-test method, for instance an assertion failure in <code>setUpBeforeClass()</code></li> <li>Control characters and ANSI escape sequences in user-supplied strings are not made visible in the output of <code>--debug</code> and in the logfiles written by <code>--log-events-text</code> and <code>--log-events-verbose-text</code></li> <li>Groups configured for a test directory or test file using the <code>groups</code> attribute of <code><directory></code> or <code><file></code> in the XML configuration file are not assigned to PHPT tests, so <code>--group</code> and <code>--exclude-group</code> do not select them and <code>--list-groups</code> and <code>--list-tests-xml</code> report them as being in the <code>default</code> group or not at all</li> </ul> <h3>Removed</h3> <ul> <li>The library PHAR (<code>phpunit-library-X.Y.Z.phar</code>) is no longer built, it could not be loaded since PHPUnit 9.5.8</li> </ul> <hr /> <p>Learn how to install or update PHPUnit 13.4 in the <a href="https://docs.phpunit.de/en/13.4/installation.html">documentation</a>.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sebastianbergmann/phpunit/blob/13.4.7/ChangeLog-13.4.md">phpunit/phpunit's changelog</a>.</em></p> <blockquote> <h2>[13.4.7] - 2026-11-13</h2> <h3>Fixed</h3> <ul> <li>When an order is configured on the command line, for instance using <code>--order-by random</code>, <code>defects</code> configured using the <code>executionOrder</code> attribute in the XML configuration file is still applied, and vice versa</li> <li>Using <code>default</code> together with an order for <code>--order-by</code> or the <code>executionOrder</code> XML configuration attribute, for instance <code>default,random</code>, triggers a deprecation for using more than one order, although <code>default</code> resets the order instead of selecting one</li> <li><code>--fail-on-skipped</code> does not make the test runner exit with a shell exit code that indicates failure when a test class is skipped, for instance because its before-first-test method calls <code>markTestSkipped()</code>, although its tests are counted as skipped</li> <li><code>--stop-on-skipped</code> does not stop the test run when a test class is skipped, for instance because its before-first-test method calls <code>markTestSkipped()</code></li> <li>When coverage contribution is required, a test is considered risky because it does not contribute to code coverage although it executed covered code, when the code coverage driver collects hit counts and each covered line that the test executed was executed more than once</li> <li>When PHPUnit is installed using Composer, code units in the <code>PHPUnit\</code> or <code>SebastianBergmann\</code> namespace that do not belong to PHPUnit or one of its dependencies are preloaded on startup, which leads to a fatal error when such a code unit depends on code that is not available</li> <li>Code from <code>sebastian/file-filter</code> and <code>sebastian/git-state</code> is not treated like code from PHPUnit's other dependencies, for instance stack frames from it are not filtered from stack traces</li> <li>Code from <code>nikic/php-parser</code> and parts of the code from <code>phar-io/manifest</code> are not treated like code from PHPUnit's other dependencies, for instance stack frames from it are not filtered from stack traces</li> </ul> <h2>[13.4.6] - 2026-11-02</h2> <h3>Changed</h3> <ul> <li>Issues whose message refers to an anonymous class could not be ignored using a baseline on PHP 8.6 (as of PHP 8.6, such messages contain the full name of the anonymous class: a NUL byte followed by the file, line, and a counter)</li> <li>Make PHAR build reproducible across filesystems (files are now added to the PHAR sorted by their path instead of in the order in which the filesystem lists them)</li> </ul> <h3>Fixed</h3> <ul> <li>When <code>method()</code> is called for a method of a test double that cannot be configured, for instance because it does not exist, every subsequent invocation of a method of that test double fails with <code>Method name is not configured</code></li> <li>When a hook method of a test, for instance <code>setUp()</code>, marks the test as incomplete, the hook method is reported as failed</li> <li>When an "after test" method, for instance <code>tearDown()</code>, marks a successful test as incomplete or skips it, the test is reported as failed</li> <li>When a before-first-test method, for instance <code>setUpBeforeClass()</code>, calls <code>markTestIncomplete()</code>, each test of the test class is reported as failed instead of the test class being skipped as it is when <code>markTestSkipped()</code> is called</li> <li>When an after-last-test method, for instance <code>tearDownAfterClass()</code>, calls <code>markTestIncomplete()</code> or <code>markTestSkipped()</code> after the tests of the test class have been run, this is reported as a failure, also for each test of the test class that is run in process isolation</li> <li>A failed PHP assertion, made using <code>assert()</code>, in a hook method is reported as an error of that method instead of as a failure, and it is counted as an error instead of as a failure when that method is a before-first-test method or an after-last-test method</li> <li>When an assertion fails in an "after test" method, for instance <code>tearDown()</code>, of a test that already failed, errored, or was marked as incomplete, a failure is reported in addition to the outcome of the test, so the test is counted more than once and <code>onNotSuccessfulTest()</code> is called with the failure from the "after test" method instead of the test's own</li> <li>When a test fails because of an exception of a registered failure type, an error or a failure in an "after test" method, for instance <code>tearDown()</code>, is reported in addition to the test's failure, so the test is counted more than once</li> <li>A test that fails because of an exception of a registered failure type is considered risky when it does not perform assertions or, when <code>requireCoverageMetadata="true"</code> is configured, when it does not define a code coverage target, unlike a test that fails because an assertion failed</li> <li>The TestDox output does not show the failure of a before-first-test method or an after-last-test method, for instance an assertion failure in <code>setUpBeforeClass()</code></li> <li>Control characters and ANSI escape sequences in user-supplied strings are not made visible in the output of <code>--debug</code> and in the logfiles written by <code>--log-events-text</code> and <code>--log-events-verbose-text</code></li> <li>Groups configured for a test directory or test file using the <code>groups</code> attribute of <code><directory></code> or <code><file></code> in the XML configuration file are not assigned to PHPT tests, so <code>--group</code> and <code>--exclude-group</code> do not select them and <code>--list-groups</code> and <code>--list-tests-xml</code> report them as being in the <code>default</code> group or not at all</li> </ul> <h3>Removed</h3> <ul> <li>The library PHAR (<code>phpunit-library-X.Y.Z.phar</code>) is no longer built, it could not be loaded since PHPUnit 9.5.8</li> </ul> </blockquote> </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> <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 "Hash mismatch" 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://... --------- 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 Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A terms field asks for its terms by id, and a term's id starts with its taxonomy (
tags::news). The query looks anyway through every term of every taxonomy on the site, and gives each one a prefixed key before testing it. Acategoriesfield with three terms selected walks a 1,000-termkeywordstaxonomy it has nothing to do with, several times over, for each row of a listing.Two changes in
Stache\Query\TermQueryBuilder:where('id', ...)orwhereIn('id', [...]), the taxonomies are narrowed to the ones those ids start with. Handles are compared without regard to case, as ids are. Nothing is narrowed if any top-level where is anor, if any id isn't a string with a taxonomy in it, or if taxonomies were set on the query explicitly.whereandwhereIn, which is whatEntryQueryBuilderalready does.Results and their order are the same: taxonomies are still visited in the order they were, and terms in the order their index holds them.
Benchmark
Against
6.xat 9d20aef, PHP 8.5, file cache store. A generated site of about 2,500 entries on two sites, with taxonomies of 12, 80 and 1,000 terms; articles have a categories and a tags field. One PHP process per request, three rounds of eight, alternating.Those are outside twice the noise of the run. The gain depends on how large the taxonomies a field does not use are: with only small taxonomies there is less to skip.
Checked
6.x.Tests
whereIn('id')narrow to what they share; ids that name nothing find nothing;Term::find();orWherecan still reach a taxonomy the ids don't name, and an id with no taxonomy in it matches nothing without stopping the others.They pass on
6.xwithout this change, so they pin the existing behaviour.