Skip to content

Refactor dependency injection and parameter handling#2

Merged
wachterjohannes merged 2 commits into
mainfrom
refactor-dependency-injection
Jan 11, 2026
Merged

Refactor dependency injection and parameter handling#2
wachterjohannes merged 2 commits into
mainfrom
refactor-dependency-injection

Conversation

@wachterjohannes

Copy link
Copy Markdown
Member
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Issues N/A
License MIT

Summary

  • Improve service configuration with explicit service IDs
  • Make tool parameters nullable with proper validation
  • Remove unused MessageTruncator service registration
  • Update JunitXmlParser to use MessageTruncator with prefixes
  • Clean up PhpunitRunner constructor formatting

- Improve service configuration with explicit service IDs
- Make tool parameters nullable with proper validation
- Remove unused MessageTruncator service registration
- Update JunitXmlParser to use MessageTruncator with prefixes
- Clean up PhpunitRunner constructor formatting
- Make file, class, and method parameters optional with runtime validation
- Add Schema attributes with descriptions and constraints
- Add file path pattern validation (Test\.php$)
- Add class name pattern validation for namespaced classes
- Add method name pattern validation for test methods
- Add mode enum validation for all tools
- Improve MCP schema documentation for AI clients
- Fix unused import in PhpunitRunner
- Fix code style in config file
@wachterjohannes wachterjohannes force-pushed the refactor-dependency-injection branch from b5355b5 to 9e53fda Compare January 11, 2026 20:42
@wachterjohannes wachterjohannes merged commit 2852521 into main Jan 11, 2026
3 checks passed
@wachterjohannes wachterjohannes deleted the refactor-dependency-injection branch January 11, 2026 20:43
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