Skip to content

feat(modernization): migrate to ARFA 1.3 / DevKit (kcode.phar) standard#14

Merged
walmir-silva merged 1 commit intomainfrom
develop
Mar 3, 2026
Merged

feat(modernization): migrate to ARFA 1.3 / DevKit (kcode.phar) standard#14
walmir-silva merged 1 commit intomainfrom
develop

Conversation

@walmir-silva
Copy link
Copy Markdown
Contributor

BREAKING CHANGES:

  • PHP requirement bumped to ^8.4 (from ^8.3)
  • Removed legacy dependencies: kariricode/data-structure, kariricode/property-inspector
  • Reorganized src/ structure: Contract/ and Processor/ removed, new Attribute/, Handler/, Pipeline/, Result/ layout
  • require-dev zeroed — toolchain managed by kcode DevKit

New in v4.0.0:

  • Immutable Pipeline (ARFA 1.3 P1): withProcessor() / withPipeline() return new instances
  • ProcessorRegistry redesigned with context-based registration
  • ProcessorBuilder with flexible spec format (string[] or assoc map)
  • ProcessingResultCollection for structured error + coverage tracking
  • ProcessorHandler wraps processors with error collection and halt-on-error support
  • 100% class/method/line coverage (128 tests, 234 assertions)

Infrastructure:

  • DevKit kcode.phar manages cs-fixer, phpstan (L9), psalm, phpunit
  • CI rewritten with kcode init + kcode quality pipeline
  • Docs: ADR-001 (immutable), ADR-002 (context registry), ADR-003 (spec format), SPEC-001

BREAKING CHANGES:
- PHP requirement bumped to ^8.4 (from ^8.3)
- Removed legacy dependencies: kariricode/data-structure, kariricode/property-inspector
- Reorganized src/ structure: Contract/ and Processor/ removed, new Attribute/, Handler/, Pipeline/, Result/ layout
- require-dev zeroed — toolchain managed by kcode DevKit

New in v4.0.0:
- Immutable Pipeline (ARFA 1.3 P1): withProcessor() / withPipeline() return new instances
- ProcessorRegistry redesigned with context-based registration
- ProcessorBuilder with flexible spec format (string[] or assoc map)
- ProcessingResultCollection for structured error + coverage tracking
- ProcessorHandler wraps processors with error collection and halt-on-error support
- 100% class/method/line coverage (128 tests, 234 assertions)

Infrastructure:
- DevKit kcode.phar manages cs-fixer, phpstan (L9), psalm, phpunit
- CI rewritten with kcode init + kcode quality pipeline
- Docs: ADR-001 (immutable), ADR-002 (context registry), ADR-003 (spec format), SPEC-001
@walmir-silva walmir-silva merged commit 16407e1 into main Mar 3, 2026
0 of 3 checks passed
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