Skip to content

chore(ci): autofix data-machine-events from main#197

Open
homeboy-ci[bot] wants to merge 1 commit intomainfrom
ci/autofix/data-machine-events/main
Open

chore(ci): autofix data-machine-events from main#197
homeboy-ci[bot] wants to merge 1 commit intomainfrom
ci/autofix/data-machine-events/main

Conversation

@homeboy-ci
Copy link
Copy Markdown
Contributor

@homeboy-ci homeboy-ci bot commented Apr 12, 2026

Summary

  • 26 file(s) fixed via refactor
  • Opened immediately after autofix without rerunning quality gates.
  • Generated automatically by Homeboy Action.

Context

@homeboy-ci homeboy-ci bot force-pushed the ci/autofix/data-machine-events/main branch from 4b3fd57 to 75bcb4a Compare April 12, 2026 21:50
@homeboy-ci
Copy link
Copy Markdown
Contributor Author

homeboy-ci bot commented Apr 12, 2026

Homeboy Results — data-machine-events

Audit

⚡ Scope: changed files only

audit (changed files only)

  • Alignment score: 0.925
  • Outliers in current run: 8
  • Drift increased: no
  • Severity counts: info: 30, unknown: 8, warning: 23
  • Top actionable findings:
    1. inc/Steps/Upsert/Events/EventUpsert.php — god_file — File has 1670 lines (threshold: 1000)
    2. inc/Blocks/Calendar/Taxonomy_Helper.php — duplicate_function — Duplicate function flatten_hierarchy — also in inc/Abilities/FilterAbilities.php
    3. inc/Abilities/BatchTimeFixAbilities.php — intra_method_duplicate — Duplicated block in executeBatchTimeFix — 5 identical lines at line 230 and line 244
    4. inc/Abilities/EventHealthAbilities.php — intra_method_duplicate — Duplicated block in registerAbility — 5 identical lines at line 72 and line 79
    5. inc/Abilities/TimezoneAbilities.php — intra_method_duplicate — Duplicated block in fixSingleEventTimezone — 6 identical lines at line 418 and line 432
    6. inc/Abilities/TimezoneAbilities.php — intra_method_duplicate — Duplicated block in registerAbility — 8 identical lines at line 68 and line 89
    7. inc/Blocks/Calendar/Taxonomy_Helper.php — intra_method_duplicate — Duplicated block in get_batch_term_counts — 5 identical lines at line 235 and line 251
    8. inc/Steps/Upsert/Events/EventUpsert.php — intra_method_duplicate — Duplicated block in findEventByExactTitle — 5 identical lines at line 660 and line 670
    9. inc/Steps/Upsert/Events/EventUpsert.php — intra_method_duplicate — Duplicated block in findEventByTicketUrl — 5 identical lines at line 728 and line 767
    10. inc/Steps/Upsert/Events/EventUpsert.php — intra_method_duplicate — Duplicated block in findEventByVenueDateAndFuzzyTitle — 5 identical lines at line 445 and line 468
Audit findings (10 shown)
1. **inc/Steps/Upsert/Events/EventUpsert.php** — god_file — File has 1670 lines (threshold: 1000)
2. **inc/Blocks/Calendar/Taxonomy_Helper.php** — duplicate_function — Duplicate function `flatten_hierarchy` — also in inc/Abilities/FilterAbilities.php
3. **inc/Abilities/BatchTimeFixAbilities.php** — intra_method_duplicate — Duplicated block in `executeBatchTimeFix` — 5 identical lines at line 230 and line 244
4. **inc/Abilities/EventHealthAbilities.php** — intra_method_duplicate — Duplicated block in `registerAbility` — 5 identical lines at line 72 and line 79
5. **inc/Abilities/TimezoneAbilities.php** — intra_method_duplicate — Duplicated block in `fixSingleEventTimezone` — 6 identical lines at line 418 and line 432
6. **inc/Abilities/TimezoneAbilities.php** — intra_method_duplicate — Duplicated block in `registerAbility` — 8 identical lines at line 68 and line 89
7. **inc/Blocks/Calendar/Taxonomy_Helper.php** — intra_method_duplicate — Duplicated block in `get_batch_term_counts` — 5 identical lines at line 235 and line 251
8. **inc/Steps/Upsert/Events/EventUpsert.php** — intra_method_duplicate — Duplicated block in `findEventByExactTitle` — 5 identical lines at line 660 and line 670
9. **inc/Steps/Upsert/Events/EventUpsert.php** — intra_method_duplicate — Duplicated block in `findEventByTicketUrl` — 5 identical lines at line 728 and line 767
10. **inc/Steps/Upsert/Events/EventUpsert.php** — intra_method_duplicate — Duplicated block in `findEventByVenueDateAndFuzzyTitle` — 5 identical lines at line 445 and line 468
Tooling versions
  • Homeboy CLI: homeboy 0.88.7+4b2a008
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: unknown
  • Action: Extra-Chill/homeboy-action@v2

Homeboy Action v1

@homeboy-ci homeboy-ci bot force-pushed the ci/autofix/data-machine-events/main branch 2 times, most recently from 966337f to b7281b7 Compare April 15, 2026 02:07
duplicatefunction: 24
  BaseExtractor.php, BatchTimeFixAbilities.php, EventHealthAbilities.php, EventQueryAbilities.php, RedRocksExtractor.php, RhpEventsExtractor.php, TicketmasterTestCommand.php, TimezoneAbilities.php, venue-autocomplete.js
staledocreference: 24
  calendar-block.md, progressive-calendar-rendering.md
brokendocreference: 8
  calendar-block.md, rest-api.md
orphanedtest: 7
  DateTimeParserTest.php, EventImportHandlerTest.php, EventQueryAbilitiesTest.php, EventUpsertTest.php, IcsExtractorTest.php, UniversalWebScraperTest.php, VenueServiceTest.php
missingmethod: 4
  BaseExtractor.php, SettingsCommand.php
missinginterface: 3
  CheckAllCommand.php, CheckDurationCommand.php, CheckQualityCommand.php
intramethodduplicate: 2
  Taxonomy_Helper.php, TimezoneAbilities.php
@homeboy-ci homeboy-ci bot force-pushed the ci/autofix/data-machine-events/main branch from b7281b7 to fd3a3be Compare April 18, 2026 01:11
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.

0 participants