Commit 2cfcded
committed
feat(modernization): migrate to ARFA 1.3 / DevKit (kcode.phar) standard
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-0011 parent 04e7da1 commit 2cfcded
68 files changed
Lines changed: 3840 additions & 4224 deletions
File tree
- .docker/php
- .github/workflows
- .vscode
- docs
- adrs
- specs
- src
- Attribute
- Contract
- Exception
- Handler
- Pipeline
- Processor
- Result
- tests
- Exception
- Handler
- Integration
- Processor
- Result
- Stubs
- Unit
- Attribute
- Exception
- Handler
- Pipeline
- Result
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
12 | 8 | | |
13 | 9 | | |
14 | 10 | | |
15 | 11 | | |
16 | 12 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 13 | + | |
| 14 | + | |
20 | 15 | | |
21 | | - | |
| 16 | + | |
22 | 17 | | |
23 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | | - | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
41 | 40 | | |
42 | | - | |
43 | | - | |
44 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
45 | 44 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 45 | + | |
| 46 | + | |
53 | 47 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 48 | + | |
64 | 49 | | |
65 | 50 | | |
66 | | - | |
67 | | - | |
| 51 | + | |
| 52 | + | |
This file was deleted.
This file was deleted.
0 commit comments