Skip to content

Comments

feat: enhance TextMate grammar for colored output channel#351

Merged
recca0120 merged 2 commits intomainfrom
feature/colored-output
Feb 16, 2026
Merged

feat: enhance TextMate grammar for colored output channel#351
recca0120 merged 2 commits intomainfrom
feature/colored-output

Conversation

@recca0120
Copy link
Owner

Summary

  • Enhanced TextMate grammar (collision.tmLanguage.json) for syntax-highlighted PHPUnit/Pest output
  • Added 2-space indent to CollisionPrinter test result lines for grammar matching
  • Embedded PHP syntax highlighting in source code snippets via include: source.php
  • Colored output: green (passed), red (failed), yellow (skipped), gray (duration/info), blue (file links)

Test plan

  • npx vitest run — all tests pass
  • pnpm run typecheck — no type errors

Add 2-space indent to test result lines in CollisionPrinter for better
grammar matching. Enhance TextMate grammar with scopes for passed
(green), failed (red), skipped (yellow), source arrow lines, file
links, duration, and embedded PHP syntax highlighting.
@recca0120 recca0120 merged commit d7816e5 into main Feb 16, 2026
12 checks passed
@codecov
Copy link

codecov bot commented Feb 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.48%. Comparing base (01438e9) to head (e937874).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #351   +/-   ##
=======================================
  Coverage   94.48%   94.48%           
=======================================
  Files          77       77           
  Lines        2813     2813           
  Branches      495      495           
=======================================
  Hits         2658     2658           
  Misses        140      140           
  Partials       15       15           
Flag Coverage Δ
unittests 94.48% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@recca0120 recca0120 deleted the feature/colored-output branch February 16, 2026 12:53
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.

1 participant