Skip to content

Pre-release 4.2.119 → 4.2.118 — task 3.1: Html (Form/HTML) out of the fork core - #92

Merged
agissept merged 2 commits into
masterfrom
pre-release/4.2.119
Oct 2, 2026
Merged

agissept merged 2 commits into
masterfrom
pre-release/4.2.119

Conversation

@oonid

@oonid oonid commented Oct 1, 2026 •

Copy link
Copy Markdown

Task 3.1 — Html (Form/HTML) out of the fork core

Stacks on #90. illuminate/html has no Laravel 13 counterpart, so the dicoding app now owns the Form/HTML builders (DicodingUtils\Html, in the app pair). The fork drops its copy, and illuminate/html leaves replace.

Changes

  • composer.json: illuminate/html leaves replace. Only illuminate/exception and illuminate/foundation remain, for the flip.
  • Deleted:
    • src/Illuminate/Html (FormBuilder, HtmlBuilder, HtmlServiceProvider) and its FormBuilderTest;
    • the Form and HTML facades;
    • the link_to, link_to_asset, link_to_route and link_to_action helpers, which resolved app('html'). The app doesn't call them, and v13 has none;
    • the form/html core container aliases.
  • MacroableTrait is deleted with its alias tests. It was the deprecated alias of v13's Macroable, kept for the Html builders, and nothing else uses it.
  • Ratchet: the baseline is lowered in its own commit; macroable_trait drops 5 → 0.

Verification

  • Fork:
    • suite 262 green on PHPUnit 11.5.56. That's 292, less the 27 Html tests that move to the app and 3 MacroableTrait alias tests;
    • ratchet green.
  • Downstream: the dicoding app pair dicoding-dev/dicoding#5985 (feature/platform/framework-4.2.119-rc1) moves the builders into the app. It ran with vendor installed exactly from its lock:
    • Psalm (full project, no cache): no errors.
    • Unit suite: 8962 green, including the 27 moved FormBuilder tests.
    • Integration suite: all 3009 tests, including 3 new Html tests. There are no failures from this change: the 4 long-standing ones, plus one intermittent invitation-mail test that passes alone. 196 are skipped, and no test is flagged risky.
    • Real pages with forms (/login, /challenges, /events, the 404 page), rendered through the stacked client outside the testing environment, are byte-identical on 4.2.118 and 4.2.119. The only difference is the random per-session CSRF token.
  • Checks ran in a cloud container without deck (PHP 8.4.26, MariaDB 10.11).

Tag

4.2.119 (c95ae41d) is not pushed; tag pushes are refused for this session.

🤖 Generated with Claude Code

https://claude.ai/code/session_0169SsatCE8LhaTsQTPiGtVo

claude added 2 commits October 2, 2026 16:20
illuminate/html has no Laravel 13 counterpart, so the app now owns the
Form/HTML builders (dicoding app, DicodingUtils\Html). Drop the fork's copy:

- illuminate/html leaves composer.json's replace;
- src/Illuminate/Html (FormBuilder, HtmlBuilder, HtmlServiceProvider) and
  its test are deleted;
- the Form/HTML facades and the link_to/link_to_asset/link_to_route/
  link_to_action helpers that resolved app('html') are deleted;
- the 'form'/'html' core container aliases go with them.

MacroableTrait, the deprecated alias of v13's Macroable kept for the Html
builders, has no consumer left and is deleted with its alias tests.

Fork suite 262 green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0169SsatCE8LhaTsQTPiGtVo
macroable_trait drops to 0: the Html builders were the last users of
MacroableTrait, which is deleted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0169SsatCE8LhaTsQTPiGtVo
@agissept
agissept force-pushed the pre-release/4.2.119 branch from c95ae41 to 40bc76b Compare October 2, 2026 09:20
@agissept
agissept marked this pull request as ready for review October 2, 2026 09:28
@agissept
agissept merged commit bffebf5 into master Oct 2, 2026
2 checks passed
@agissept
agissept deleted the pre-release/4.2.119 branch October 2, 2026 09:58
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.

3 participants